|
gap> Test("broken-test-2.tst", rec(width := 800));
Error, Invalid test file: #@ command found in the middle of a single test at broken-test-2.tst:5 at GAPROOT/lib/test.gi:LINE called from
testError( "Invalid test file: #@ command found in the middle of a single test" ); at GAPROOT/lib/test.gi:LINE called from
ParseTestInput( full, opts.ignoreComments, fnam ) at GAPROOT/lib/test.gi:LINE called from
<function "Test">( <arguments> )
called from read-eval loop at *stdin*:2
type 'quit;' to quit to outer loop
brk> quit;
gap> Test("broken-test-3.tst", rec(width := 800));
Error, Invalid test file at broken-test-3.tst:5 at GAPROOT/lib/test.gi:LINE called from
testError( "Invalid test file" ); at GAPROOT/lib/test.gi:LINE called from
ParseTestInput( full, opts.ignoreComments, fnam ) at GAPROOT/lib/test.gi:LINE called from
<function "Test">( <arguments> )
called from read-eval loop at *stdin*:2
type 'quit;' to quit to outer loop
brk> quit;
gap> Test("broken-test-4.tst", rec(width := 800));
Error, Invalid test file: Nested #@if at broken-test-4.tst:2 at GAPROOT/lib/test.gi:LINE called from
testError( "Invalid test file: Nested #@if" ); at GAPROOT/lib/test.gi:LINE called from
ParseTestInput( full, opts.ignoreComments, fnam ) at GAPROOT/lib/test.gi:LINE called from
<function "Test">( <arguments> )
called from read-eval loop at *stdin*:2
type 'quit;' to quit to outer loop
brk> quit;
gap> Test("broken-test-5.tst", rec(width := 800));
Error, Invalid test file: two #@else at broken-test-5.tst:7 at GAPROOT/lib/test.gi:LINE called from
testError( "Invalid test file: two #@else" ); at GAPROOT/lib/test.gi:LINE called from
ParseTestInput( full, opts.ignoreComments, fnam ) at GAPROOT/lib/test.gi:LINE called from
<function "Test">( <arguments> )
called from read-eval loop at *stdin*:2
type 'quit;' to quit to outer loop
brk> quit;
gap> Test("broken-test-6.tst", rec(width := 800));
Error, Invalid test file: Continuation prompt '> ' followed by a tab, expected a regular space at broken-test-6.tst:3 at GAPROOT/lib/test.gi:LINE called from
testError( "Invalid test file: Continuation prompt '> ' followed by a tab, expected a regular space" ); at GAPROOT/lib/test.gi:LINE called from
ParseTestInput( full, opts.ignoreComments, fnam ) at GAPROOT/lib/test.gi:LINE called from
<function "Test">( <arguments> )
called from read-eval loop at *stdin*:2
type 'quit;' to quit to outer loop
brk> quit;
gap> Test("broken-test-7.tst", rec(width := 800));
Error, Invalid test file: #@elif after #@else at broken-test-7.tst:7 at GAPROOT/lib/test.gi:LINE called from
testError( "Invalid test file: #@elif after #@else" ); at GAPROOT/lib/test.gi:LINE called from
ParseTestInput( full, opts.ignoreComments, fnam ) at GAPROOT/lib/test.gi:LINE called from
<function "Test">( <arguments> )
called from read-eval loop at *stdin*:2
type 'quit;' to quit to outer loop
brk> quit;
gap> Test("broken-test-8.tst", rec(width := 800));
Error, Invalid test file: #@elif without #@if at broken-test-8.tst:1 at GAPROOT/lib/test.gi:LINE called from
testError( "Invalid test file: #@elif without #@if" ); at GAPROOT/lib/test.gi:LINE called from
ParseTestInput( full, opts.ignoreComments, fnam ) at GAPROOT/lib/test.gi:LINE called from
<function "Test">( <arguments> )
called from read-eval loop at *stdin*:2
type 'quit;' to quit to outer loop
brk> quit;
gap> Test("broken-test-9.tst", rec(width := 800));
Error, Invalid test file: Unterminated #@if at broken-test-9.tst:7 at GAPROOT/lib/test.gi:LINE called from
testError( "Invalid test file: Unterminated #@if" ); at GAPROOT/lib/test.gi:LINE called from
ParseTestInput( full, opts.ignoreComments, fnam ) at GAPROOT/lib/test.gi:LINE called from
<function "Test">( <arguments> )
called from read-eval loop at *stdin*:2
type 'quit;' to quit to outer loop
brk> quit;
gap> Test("invalidtestfile.tst", rec(width := 800));
Error, Invalid test file at invalidtestfile.tst:7 at GAPROOT/lib/test.gi:LINE called from
testError( "Invalid test file" ); at GAPROOT/lib/test.gi:LINE called from
ParseTestInput( full, opts.ignoreComments, fnam ) at GAPROOT/lib/test.gi:LINE called from
<function "Test">( <arguments> )
called from read-eval loop at *stdin*:2
type 'quit;' to quit to outer loop
brk> quit;
gap> Test("empty.tst", rec(width := 800));
#I Test: File does not contain any tests!
true
gap> Test("tinytest.tst", rec(width := 800));
true
gap> QUIT;
[ Dauer der Verarbeitung: 0.23 Sekunden
(vorverarbeitet)
]
|