diff options
Diffstat (limited to 'tests/machine-unit-tests')
-rwxr-xr-x | tests/machine-unit-tests/test.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/machine-unit-tests/test.sh b/tests/machine-unit-tests/test.sh new file mode 100755 index 0000000..c916f74 --- /dev/null +++ b/tests/machine-unit-tests/test.sh @@ -0,0 +1,11 @@ +#!/bin/sh +TEST_NAME="machine-unit-test" + +# Load common test shell functions +. "$(dirname "$0")/../test.sh" + +# Build tests binary +qtmips_make sub-qtmips_machine-tests + +# Run unit tests +qtmips_run qtmips_machine/tests/tst_machine || echo_fail "Test $TEST_NAME failed!" |