1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-04-14 07:29:47 +00:00

tests: Minor script cleanups

Signed-off-by: Michael Neuling <mikey@neuling.org>
This commit is contained in:
Michael Neuling
2022-07-28 14:47:51 +10:00
parent 438a76dafd
commit f34b2488e4
2 changed files with 1 additions and 7 deletions

View File

@@ -25,9 +25,6 @@ ${MICROWATT_DIR}/core_tb | sed 's/.*: //' | egrep '^(GPR[0-9]|LR |CTR |XER |CR [
grep -v "^$" ${MICROWATT_DIR}/tests/${TEST}.out | sort | grep -v GPR31 > exp.out
cp test.out /tmp
cp exp.out /tmp
diff -q test.out exp.out && echo "$TEST PASS" && exit 0
echo "$TEST FAIL ********"

View File

@@ -3,7 +3,7 @@
# Runs a test and checks the console output against known good output
if [ $# -ne 1 ]; then
echo "Usage: run_test.sh <test>"
echo "Usage: run_test_console.sh <test>"
exit 1
fi
@@ -29,9 +29,6 @@ grep -v "Failed to bind debug socket" test1.out > test.out
cp ${MICROWATT_DIR}/tests/${TEST}.console_out exp.out
cp test.out /tmp
cp exp.out /tmp
diff -q test.out exp.out && echo "$TEST PASS" && exit 0
echo "$TEST FAIL ********"