aboutsummaryrefslogtreecommitdiff
path: root/tests/cpu_trap/test.sh
blob: d2ab99c040decfb963518ff151e163b0a7fab19f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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"
qtmips_run qtmips_cli/qtmips_cli --pipelined --fail-match O "$TEST_DIR/cpu_trap"