tests: Minor script cleanups
authorMichael Neuling <mikey@neuling.org>
Thu, 28 Jul 2022 04:47:51 +0000 (14:47 +1000)
committerMichael Neuling <mikey@neuling.org>
Thu, 28 Jul 2022 05:37:09 +0000 (15:37 +1000)
Signed-off-by: Michael Neuling <mikey@neuling.org>
scripts/run_test.sh
scripts/run_test_console.sh

index 185c3a634ce285ae00ec579869fcfd292ad90fd8..1a032ba93d72fd26a92d14e5235f617de7c4c0b5 100755 (executable)
@@ -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 ********"
index 1aaa2bbd6ec3916e846eb5c174e3897f764c2bc4..01a89ec5dc447f389fe447cf8d9e608c4ed526bb 100755 (executable)
@@ -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 ********"