aboutsummaryrefslogtreecommitdiff
path: root/tests/cpu_trap/test.sh
blob: 430af14e42ef034a9735a3ff6124962785f0dc5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
TEST_NAME="cpu_trap"

# 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 --fail-match O "$TEST_DIR/cpu_trap"