@@ -38,6 +38,11 @@ SKIP="$SKIP httpProxy-\*"
SKIP="$SKIP mutex-condition-\*"
# Timer-related tests are going to be fragile (16324)
SKIP="$SKIP timer-\*"
+# RISC-V widens a negative float NaN to the positive canonical NaN, so the
+# sign check fails: https://core.tcl-lang.org/tcl/tktview/bf029ced86
+case "$(uname -m)" in
+riscv*) SKIP="$SKIP binary-40.3" ;;
+esac
# Run all tests in tests/*.test unless tests are specified as arguments
TESTS=${*:-tests/*.test}
@@ -36,6 +36,11 @@ SKIP="$SKIP http11-\*"
SKIP="$SKIP httpProxy-\*"
# Timer-related tests are going to be fragile (16324)
SKIP="$SKIP timer-\*"
+# RISC-V widens a negative float NaN to the positive canonical NaN, so the
+# sign check fails: https://core.tcl-lang.org/tcl/tktview/bf029ced86
+case "$(uname -m)" in
+riscv*) SKIP="$SKIP binary-40.3" ;;
+esac
# Run all tests in tests/*.test unless tests are specified as arguments
TESTS=${*:-tests/*.test}
binary-40.3 expects a negative float NaN to stay negative when widened to double. RISC-V returns the positive canonical NaN instead, as the ISA requires, so the test always fails there. Reported upstream on the matching MIPS ticket. Signed-off-by: OOHehir <oo.hehir@gmail.com> --- meta/recipes-devtools/tcltk/tcl/run-ptest | 5 +++++ meta/recipes-devtools/tcltk8/tcl8/run-ptest | 5 +++++ 2 files changed, 10 insertions(+)