mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 09:23:44 +00:00
Estimated hours taken: 0.5 Branches: main Clean up tests/dppd so that it uses the new test suite framework properly, all the tests are enabled, and all tests pass. tests/dppd/run.m: Modify the test framework so that the default output is reproducable: by default, only execute one iteration, and print whether or not the query succeeded, rather than running 1000 iterations and printing out the time taken. (You can still run multiple iterations and have it print out the times, by using the `-n <iterations>' option.) tests/dppd/run.exp: New file, contains the expected results of all of the tests. tests/dppd/Mmakefile: Use a hard-coded rule "run.runtest: run.res" rather than a pattern rule "%.runtest: %.res", since for some reason (perhaps because run.res wasn't mentioned anywhere in the Mmakefile?) the pattern rule wasn't being invoked.
29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
Iterations: 1
|
|
|
|
advisor result 1
|
|
applast result 0
|
|
contains_kmp result 1
|
|
contains_lam result 1
|
|
doubleapp result 1
|
|
flip result 1
|
|
grammar result 1
|
|
imperative_solve_power result 1
|
|
map_reduce result 1
|
|
map_rev result 1
|
|
match_kmp result 0
|
|
match result 1
|
|
match_append result 1
|
|
maxlength result 0
|
|
missionaries result 1
|
|
regexp_r1 result 0
|
|
regexp_r2 result 0
|
|
regexp_r3 result 0
|
|
relative result 1
|
|
remove result 1
|
|
remove2 result 1
|
|
rotateprune result 1
|
|
ssuply result 1
|
|
transpose result 1
|
|
upto_sum1 result 1
|
|
upto_sum2 result 1
|