From bcb508498caa64a7c92a1c11bc85acdefa6209cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 1 Jan 2018 20:46:28 +0100 Subject: Add cpu_trap test --- tests/cpu_trap/test.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 tests/cpu_trap/test.sh (limited to 'tests/cpu_trap/test.sh') diff --git a/tests/cpu_trap/test.sh b/tests/cpu_trap/test.sh new file mode 100755 index 0000000..430af14 --- /dev/null +++ b/tests/cpu_trap/test.sh @@ -0,0 +1,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" -- cgit v1.2.3