Run the CHICKEN test suite from build.sh.

The previous test command broke on nested quotes before make check started.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-09 01:38:57 +03:00
parent 55c87a438f
commit 8c25c16c79
2 changed files with 7 additions and 1 deletions

View File

@@ -6,6 +6,12 @@ root=$(CDPATH= cd -- "$(dirname "$0")" && pwd)
src="$root/work/src"
prefix=$(cygpath -m "$root/work/prefix")
if [ "${1:-}" = check ]; then
export PATH="$(cygpath -u "$prefix")/bin:${PATH}"
make -C "$src" check
exit 0
fi
if [ ! -f "$src/configure" ]; then
echo "no sources in work/src; run: .\\ck.ps1 fetch-sources" >&2
exit 1

2
ck.ps1
View File

@@ -176,7 +176,7 @@ function Invoke-Build {
}
function Invoke-Test {
Invoke-Ucrt 'export PATH="$(cygpath -u "$PWD/work/prefix")/bin:$PATH"; make -C work/src check'
Invoke-Ucrt './build.sh check'
}
function Get-Revision {