From 3c9ed611187df310d539be88fd79050bc423bb95 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Jan 23 2023 20:31:29 +0000 Subject: Work around for "make test" failures. --- diff --git a/bigloo.spec b/bigloo.spec index 5b984b6..899cb2a 100644 --- a/bigloo.spec +++ b/bigloo.spec @@ -319,7 +319,18 @@ popd %check ulimit -s unlimited export TZ=$(date +%%Z) -make test +# Starting with the F38 mass rebuild, "make test" fails due to stdout being +# closed unexpectedly. This only happens if the tests are run via make. +# The commands below are the exact ones that make executes, but they succeed +# if run this way. Investigation continues. +NATIVEBACKEND=$(sed -n 's/NATIVEBACKEND=\(.*\)/\1/p' Makefile.config) +cd recette +if [ "$NATIVEBACKEND" = yes ]; then + make recette-static + ../bin/bglrun.sh ./recette-static +fi +cd - +make jvm-test %files