From c69c15d65b504b8d35df108bd7370c2fcd7680ed Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Thu, 13 Feb 2014 00:23:51 -0500 Subject: [PATCH] Fix test script to work in external build directory --- tests/opcodes.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/opcodes.sh b/tests/opcodes.sh index 57ff3db..23175e9 100755 --- a/tests/opcodes.sh +++ b/tests/opcodes.sh @@ -12,6 +12,7 @@ name=$(basename ${test_name} .sh) hexfile=${name}.hex echo "Testing ${name}.hex" > ${lf} + ../src/cli/emu8051-cli -d 2 --xram=${XRAM_SIZE} -s ${STOP_ADDRESS} ${hexfile} >> ${lf} if test $? -ne 0 ; then return 1 @@ -30,7 +31,7 @@ while read line; do exit 1 fi fi -done < ${name}.asm +done < $srcdir/${name}.asm if [ x"${test_output_found}" == x0 ]; then # Need at least one test output condition to verify correct operation -- 2.20.1