From 84b0573f7d19b9979da716654e9cbcde7b3b0496 Mon Sep 17 00:00:00 2001 From: James Robson Date: Wed, 3 Feb 2021 21:30:20 +0000 Subject: [PATCH] Fix $PATH in tests --- .github/workflows/GNU.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/GNU.yml b/.github/workflows/GNU.yml index b6bb24bdd..16d8f1b78 100644 --- a/.github/workflows/GNU.yml +++ b/.github/workflows/GNU.yml @@ -47,6 +47,12 @@ jobs: sed -i "s/^[[:blank:]]*PATH=.*/ PATH='${BUILDDIR//\//\\/}\$(PATH_SEPARATOR)'\"\$\$PATH\" \\\/" Makefile sed -i 's| tr | /usr/bin/tr |' tests/init.sh make + # Generate the factor tests, so they can be fixed + for i in $(seq -w 1 36) + do + make tests/factor/t${i}.sh + done + grep -rl 'path_prepend_' tests/* | xargs sed -i 's|path_prepend_ ./src||' test -f "${BUILDDIR}/getlimits" || cp src/getlimits "${BUILDDIR}" - name: Run GNU tests shell: bash