diff options
author | David Phillips <david@sighup.nz> | 2019-08-04 00:32:38 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2019-08-04 12:03:25 +1200 |
commit | 1c8e50028e15facaa4d31992bfc6cab9d10832e6 (patch) | |
tree | 64b5a4ed511ee2c63d05959c95193335f6e24380 /test/emul | |
parent | 8f182d5db075f4f4b939725065596f49bbd0d0d4 (diff) | |
download | toy-cpu-assembler-1c8e50028e15facaa4d31992bfc6cab9d10832e6.tar.xz |
Remove `POST-` from emul test names
This is unnecessary, leaving it out leaves plenty enough information.
Diffstat (limited to 'test/emul')
-rwxr-xr-x | test/emul/run-emul.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/emul/run-emul.sh b/test/emul/run-emul.sh index 3b5ae69..496f13d 100755 --- a/test/emul/run-emul.sh +++ b/test/emul/run-emul.sh @@ -45,7 +45,7 @@ for asmfile in *.asm ; do grep '^;\s\+POST\s\+' "$asmfile" ) | while read line ; do reg=$(awk -F= '{print $1}' <<< "$line" | awk '{print $(NF)}') val=$(awk -F= '{print $2}' <<< "$line"| awk '{print $1}') - subtest="${asmfile}:POST-${reg}" + subtest="${asmfile}:${reg}" # Scrape output of emulator for register value actual=$(grep "$reg" "$outfile" | awk '{print $2}') if [[ "$actual" -eq "$val" ]]; then |