aboutsummaryrefslogtreecommitdiff
path: root/tests/machine-unit-tests/test.sh
blob: 2f06965a3cf4a39b8e56b2e5917c435434ede620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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
# Build test data
mips_make_test

# Run unit tests
qtmips_run qtmips_machine/tests/tst_machine || echo_fail "Test $TEST_NAME failed!"