From 76470ce3ee9efed229558ae223b5525a3e341382 Mon Sep 17 00:00:00 2001 From: Andrew Alderwick Date: Tue, 10 Aug 2021 19:23:53 +0100 Subject: [PATCH] Fixed indentation in asma-test.sh --- etc/asma-test.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/etc/asma-test.sh b/etc/asma-test.sh index 7632318..8666738 100755 --- a/etc/asma-test.sh +++ b/etc/asma-test.sh @@ -6,8 +6,8 @@ mkdir asma-test cd asma-test build_asma() { - sed -ne '/^( devices )/,/^( vectors )/p' ../projects/software/asma.tal - cat < 'in.tal' - if ../bin/uxncli asma.rom > asma.log 2>/dev/null || ! grep -qF "${1}" asma.log; then - echo "error: asma didn't report error ${1} in faulty code" + cat > 'in.tal' + if ../bin/uxncli asma.rom > asma.log 2>/dev/null || ! grep -qF "${1}" asma.log; then + echo "error: asma didn't report error ${1} in faulty code" tail asma.log - exit 1 - fi + exit 1 + fi } echo 'Assembling asma with uxnasm'