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

cd "$TEST_DIR"

# Run unit tests
qtmips_run qtmips_machine/tests/tst_machine