aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2023-07-04 13:59:14 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2023-07-14 14:02:37 +0100
commite8c1a579cdc5fc71b1aac1e747f6b10d4a1e8fd6 (patch)
tree229f30b5a8eabf9fe3ad1f0e79757e7cd545338e /.github/workflows
parentb7c3a63bb3c4dab861b2bce8793b8dfb36151799 (diff)
downloadnewlib-e8c1a579cdc5fc71b1aac1e747f6b10d4a1e8fd6.zip
newlib-e8c1a579cdc5fc71b1aac1e747f6b10d4a1e8fd6.tar.gz
newlib-e8c1a579cdc5fc71b1aac1e747f6b10d4a1e8fd6.tar.bz2
Cygwin: testsuite: Setup test prereqs in 'installation' the tests run in
Do some setup in the Cygwin 'installation' at testsuite/testinst/: * Ensure /tmp exists * Use BusyBox to provide executables needed by tests which use system() (sh, sleep, ls) This enables tests which use system(), or require /tmp to exist to pass. Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cygwin.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml
index 575ff1f..248a3e4 100644
--- a/.github/workflows/cygwin.yml
+++ b/.github/workflows/cygwin.yml
@@ -71,6 +71,7 @@ jobs:
packages: >-
autoconf,
automake,
+ busybox,
cocom,
dblatex,
dejagnu,
@@ -116,6 +117,6 @@ jobs:
export PATH=/usr/bin:$(cygpath ${SYSTEMROOT})/system32 &&
export MAKEFLAGS=-j$(nproc) &&
cd build &&
- (export PATH=${{ matrix.target }}/winsup/testsuite/runtime:${PATH} && cmd /c $(cygpath -wa ${{ matrix.target }}/winsup/cygserver/cygserver) &) &&
+ (export PATH=${{ matrix.target }}/winsup/testsuite/testinst/bin:${PATH} && cmd /c $(cygpath -wa ${{ matrix.target }}/winsup/cygserver/cygserver) &) &&
(cd ${{ matrix.target }}/winsup; make check || true)
shell: C:\cygwin\bin\bash.exe --noprofile --norc -eo pipefail '{0}'