You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
util/run-gnu-testsuite.sh: shell-script tests run ../gawk instead of our binary #166
util/run-gnu-testsuite.sh runs make check AWK="$WRAPPER". gawk's test/Makefile builds AWK from AWKPROG (AWK = $(LOCALES) ... $(AWKPROG) $(GAWK_TEST_ARGS)), and its .sh tests use AWKPROG directly:
AWKPROG defaults to ../gawk, which does not exist in the extracted tree,
so these tests run nothing and fail with ../gawk: not found. Overriding AWK also drops the LOCALES and AWKLIBPATH settings for every other test.
Fix
Pass AWKPROG="$WRAPPER" instead of AWK="$WRAPPER" in the make -k ... check call. With that, the tests reach the Rust binary (they then fail on printf, -v, built-ins, --lint, next, which the other issues cover).
beginfile2 and fflush still call ../gawk by a relative path from the test
directory and need the wrapper there too (or a gawk symlink in the parent
of test/).
Activity