George Koehler
50a160c07f
Increase time-out from 5 to 15 seconds.
...
My computer is too slow, so qemuppc tests randomly timed out. With
this commit, my machine passes the qemuppc tests (if I also edit the
top build.lua to enable qemuppc).
2017-11-08 15:02:56 -05:00
George Koehler
96e23b3a0f
Show tests that @@TIMEDOUT.
...
A `set -e` in testdriver.sh caused it to exit early and hide the
output of a @@TIMEDOUT test, so I never saw the @@TIMEDOUT marker.
Then build.lua added a @@FAIL marker.
2017-11-08 14:08:43 -05:00
George Koehler
3d6ee435cf
Fix pattern that was rewriting func(! var, var) as func(1).
...
Bug reported by Rune, see
- https://sourceforge.net/p/tack/mailman/message/35809953/
- https://github.com/davidgiven/ack/issues/62
In EM code, beq and bne pop 2 values and compare them, but teq and tne
pop only 1 value and compare it with zero. We need cms to compare 2
values; other patterns may convert cmi or cmu to cms.
2017-10-29 14:53:33 -04:00
David Given
1beedca590
Add support for B tests; add a test for the B operators (finding several
...
compiler bugs in the process).
2016-12-31 17:38:52 +00:00
David Given
62edb90641
Convert the inn test to work with the test library and not import InOut; it now
...
runs on qemuppc again. Reenable qemuppc tests.
2016-12-11 23:06:37 +01:00
David Given
1039c0a747
Add a test for #22 .
2016-12-06 22:07:22 +01:00
David Given
8c99e2b7ad
Run all tests, even the ones which fail, and emit a test summary right at the
...
end of the build (and fail then).
2016-12-01 23:03:30 +01:00
David Given
960584c0f3
Replace the hacky and broken pipeline in testdriver.sh with a custom-written
...
tool in C; much more robust and easier to understand, as well as avoiding the
dependency on timeout (which isn't Posix).
2016-11-29 20:59:43 +01:00
David Given
8a58614aef
Rework the tests to run on pc86; lots of test fixes for the brk() test, which
...
was nearly useless; lots of fixes to qemuppc and pc86 sbrk(), which was broken;
change the pc86 console to echo output to the serial port (needed for running
tests on qemu).
2016-11-26 11:23:25 +01:00
David Given
5f66f06dc6
Refactored the tests to make the generic across different plats.
2016-11-25 21:02:51 +01:00