From 9cf92379d5fcf0076c25dae0935daab446c992cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 30 Aug 2017 21:37:53 +0200 Subject: Initial commit Adding work done so far. --- tests/machine-unit-tests/test.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 tests/machine-unit-tests/test.sh (limited to 'tests/machine-unit-tests/test.sh') 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!" -- cgit v1.2.3