aboutsummaryrefslogtreecommitdiff
path: root/tests/machine-unit-tests/test.sh
blob: c916f74a8415632dd71c382ef2e35d81bf952961 (plain)
1
2
3
4
5
6
7
8
9
10
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!"