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