The sweep reads spike/js too, where a wrong shift had been waiting

This commit is contained in:
Joseph Ferano 2026-09-18 07:40:52 +07:00
parent 8c9e8a314c
commit 8e5798fa1c

View File

@ -27,8 +27,11 @@
# NOX86 failed to build through --x86 for some other reason
# SKIP no main, does not compile at all, or does not terminate
#
# Over test/programs, and over spike/x86's own probes, which are here for the
# paths the corpus does not walk.
# Over test/programs, over spike/x86's own probes, which are here for the paths
# the corpus does not walk, and over spike/js's, which are here for another
# backend's decisions but are plain flan programs and so are evidence about
# this one too: p1-int-semantics.flan had been catching a wrong shift for as
# long as this sweep had been not reading it.
#
# Usage: spike/x86/survey.sh [name-substring ...]
set -u
@ -77,7 +80,8 @@ read -r -a extra <<<"${SURVEY_FLAGS:-}"
declare -a match=() differ=() refused=() nox86=() skip=()
for src in "$corpus"/test/programs/*.flan "$corpus"/spike/x86/*.flan; do
for src in "$corpus"/test/programs/*.flan "$corpus"/spike/x86/*.flan \
"$corpus"/spike/js/*.flan; do
name=$(basename "$src" .flan)
if [ $# -gt 0 ]; then
want=0