From eece4d21771180f3e1b99528fe850941fccd38eb Mon Sep 17 00:00:00 2001 From: Rainer Date: Fri, 25 Sep 2026 17:40:27 +0200 Subject: [PATCH] skip compilable/ti_emission.sh on Windows if nm not found --- compiler/test/compilable/ti_emission.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compiler/test/compilable/ti_emission.sh b/compiler/test/compilable/ti_emission.sh index 411fb1bda9ea..93872ea0ad0f 100755 --- a/compiler/test/compilable/ti_emission.sh +++ b/compiler/test/compilable/ti_emission.sh @@ -1,5 +1,10 @@ #!/usr/bin/env bash +if [[ $OS = "win"* ]] && ! which -s nm; then + echo 'No `nm` tool found in PATH, skipping test on Windows.' + exit 0 +fi + obj_decl="${OUTPUT_BASE}_decl${OBJ}" obj_refs="${OUTPUT_BASE}_refs${OBJ}" obj_refs_ctfe="${OUTPUT_BASE}_refs_ctfe${OBJ}"