commit 251fc888acd5500b813fc2d861daa2cbab45f895
parent bfb5950b41f6430471d841f21f23a745029e45b5
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sun, 11 Feb 2024 08:26:24 +0100
tests/as: Allow lines without expected data
The test.sh script expected a comment with the binary data
produced by every line, but there cases cases like for example
EQU statements where they don't produce any binary data.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/tests/as/execute/test.sh b/tests/as/execute/test.sh
@@ -14,6 +14,7 @@ trap "rm -f a.out $tmp1 $tmp2" 0 2 3
as-$cpu $file
sed -n '/^\#/ ! {
+ /\#/ ! d
s%.*#%%
s%^[ ]*%%
s%[ ]*$%%