File locations are now ranges.

This commit is contained in:
2025-10-10 16:26:03 -07:00
parent 6b9da23478
commit 2af6ef1c1b
11 changed files with 167 additions and 150 deletions

View File

@@ -18,7 +18,7 @@ for fn in tests/*.newt ; do
if [ -f ${fn}.fail ]; then
if ! diff -q tmp/${bn}.compile ${fn}.fail; then
echo "Compile failure mismatch for $fn"
diff tmp/${bn}.comp ${fn}.fail
diff ${fn}.fail tmp/${bn}.compile
failed=$((failed + 1))
continue
fi
@@ -38,7 +38,7 @@ for fn in tests/*.newt ; do
fi
if ! diff -q tmp/${bn}.out ${fn}.golden; then
echo "Output mismatch for $fn"
diff -q tmp/${bn}.out ${fn}.golden
diff ${fn}.golden tmp/${bn}.out
failed=$((failed + 1))
fi
fi