Files
mercury/tests/trailing/func_trail_test.exp
Julien Fischer 6af09740fd Move some of the regression tests for trailing from
Estimated hours taken: 1
Branches: main

Move some of the regression tests for trailing from
extras/trailed_update/tests to a new trailing subdirectory in the test suite.
The motivation for doing this is that parts of the trailed_update package are
broken (and likely to remain so until the solver type/purity situation is
sorted out) and the tests are not being run.

extras/trailed_update/tests/Mmakefile:
extras/trailed_update/tests/func_trail_test.{m,exp}:
extras/trailed_update/tests/func_trail_test_2.{m,exp}:
	Delete these tests from here.

tests/trailing:
	New subdirectory that contains regression tests for trailing.

tests/trailing/Mmakefile:
tests/trailing/Mercury.options:
tests/trailing/func_trail_test.{m,exp}:
tests/trailing/func_trail_test_2.{m,exp}:
	Move the test cases from extras/trailed_update/tests to here.

	Update the syntax in the test cases and escape some special characters
	in the C code correctly.

tests/README:
	Update this file to mention the trailing directory.
2006-01-11 05:12:23 +00:00

47 lines
686 B
Plaintext

before: 1 0
>> enter (1)
inside: 1 1
<< leave (1)
after: 1 1
=> fail back inside: 1
inside: 1 2
<< leave (1)
after: 1 2
=> fail back inside: 1
inside: 1 3
<< leave (1)
after: 1 3
=> fail back inside: 1
<= fail back outside: 1
before: 2 0
>> enter (2)
inside: 2 1
<< leave (2)
after: 2 1
=> fail back inside: 2
inside: 2 2
<< leave (2)
after: 2 2
=> fail back inside: 2
inside: 2 3
<< leave (2)
after: 2 3
=> fail back inside: 2
<= fail back outside: 2
before: 3 0
>> enter (3)
inside: 3 1
<< leave (3)
after: 3 1
=> fail back inside: 3
inside: 3 2
<< leave (3)
after: 3 2
=> fail back inside: 3
inside: 3 3
<< leave (3)
after: 3 3
=> fail back inside: 3
<= fail back outside: 3
Failure