Date: Fri, 17 Jul 2026 14:14:46 +0000 From: Siva Mahadevan <siva@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: d0b1a389003b - main - awk/tests: xfail inf-nan-torture on riscv64 Message-ID: <6a5a38d6.45724.2e829beb@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by siva: URL: https://cgit.FreeBSD.org/src/commit/?id=d0b1a389003b1e6ff5bcf35a7c04654ea7ff87bd commit d0b1a389003b1e6ff5bcf35a7c04654ea7ff87bd Author: Siva Mahadevan <siva@FreeBSD.org> AuthorDate: 2026-06-23 17:12:16 +0000 Commit: Siva Mahadevan <siva@FreeBSD.org> CommitDate: 2026-07-17 13:50:33 +0000 awk/tests: xfail inf-nan-torture on riscv64 The fix for this is being tracked upstream here: https://github.com/onetrueawk/awk/issues/269 While here, just cd into $SRCDIR while executing tests, since the test engine isolates every testcase's working directory. This ensures that the xfail actually applies to the next command. Reviewed by: mhorne MFC after: 3 days Sponsored by: The FreeBSD Foundation --- usr.bin/awk/tests/bugs-fixed/bug_fix_test.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/usr.bin/awk/tests/bugs-fixed/bug_fix_test.sh b/usr.bin/awk/tests/bugs-fixed/bug_fix_test.sh index 588e2f86b0b7..b9c9b6024baa 100644 --- a/usr.bin/awk/tests/bugs-fixed/bug_fix_test.sh +++ b/usr.bin/awk/tests/bugs-fixed/bug_fix_test.sh @@ -35,14 +35,18 @@ check() awk=awk - local out_file="${SRCDIR}/${tc}.ok" + cd ${SRCDIR} + local out_file="${tc}.ok" [ -f "${out_file}" ] && out_flag="-o file:${out_file}" - local err_file="${SRCDIR}/${tc}.err" + local err_file="${tc}.err" [ -f "${err_file}" ] && err_flag="-e file:${err_file} -s exit:2" - local in_file="${SRCDIR}/${tc}.in" + local in_file="${tc}.in" [ -f "${in_file}" ] && in_flag="${in_file}" - (cd ${SRCDIR} ; atf_check ${out_flag} ${err_flag} ${awk} -f "${tc}.awk" ${in_flag}) + test "${tc}" = inf-nan-torture -a "$(uname -p)" = riscv64 && \ + atf_expect_fail "https://github.com/onetrueawk/awk/issues/269" + + atf_check ${out_flag} ${err_flag} ${awk} -f "${tc}.awk" ${in_flag} } add_testcase()home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a5a38d6.45724.2e829beb>
