diff options
Diffstat (limited to 'tests/registers/test.sh')
-rwxr-xr-x | tests/registers/test.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/registers/test.sh b/tests/registers/test.sh new file mode 100755 index 0000000..2ace7cd --- /dev/null +++ b/tests/registers/test.sh @@ -0,0 +1,15 @@ +#!/bin/sh +TEST_NAME="registers" + +# Load common test shell functions +. "$(dirname "$0")/../test.sh" + +# Build cli binary +qtmips_make sub-qtmips_cli + +# Compile mips binary +mips_make_test + +# Run test +qtmips_run qtmips_cli/qtmips_cli "$TEST_DIR/registers" \ + || echo_fail "Test $TEST_NAME failed!" |