From 78abbbaefc4121a5dc848e4de159cf70bc0bfb1e Mon Sep 17 00:00:00 2001 From: Luis <42945842+ldiaz94@users.noreply.github.com> Date: Fri, 16 Oct 2026 15:06:19 +0100 Subject: [PATCH] check: the shake test's second build quiet, as its first Both builds import modules they never use, on purpose; only the first sent the warnings away. --- diff --git a/test/check.sh b/test/check.sh index 2aeffa7..041ea08 100755 --- a/test/check.sh +++ b/test/check.sh @@ -272,7 +272,7 @@ printf 'module Shake;\nimport Out, Str, Width;\nproc main*;\nbegin\n Out.int(1); Out.ln;\nend;\nend Shake.\n' >$out/shake/Shake.raz $raz -o $out/shake/with $out/shake/Shake.raz 2>/dev/null printf 'module Shake;\nimport Out, Str;\nproc main*;\nbegin\n Out.int(1); Out.ln;\nend;\nend Shake.\n' >$out/shake/Shake.raz -$raz -o $out/shake/without $out/shake/Shake.raz +$raz -o $out/shake/without $out/shake/Shake.raz 2>/dev/null if [ $(wc -c <$out/shake/with) = $(wc -c <$out/shake/without) ]; then pass=$((pass + 1)) else echo "FAIL an unused import, Width, changes the program"; fail=$((fail + 1)); fi