projects
/
emu8051.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00deadc
)
Fix test script to work in external build directory
author
Hugo Villeneuve
<hugo@hugovil.com>
Thu, 13 Feb 2014 05:23:51 +0000
(
00:23
-0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Thu, 13 Feb 2014 05:25:19 +0000
(
00:25
-0500)
tests/opcodes.sh
patch
|
blob
|
history
diff --git
a/tests/opcodes.sh
b/tests/opcodes.sh
index
57ff3db
..
23175e9
100755
(executable)
--- 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