Skip to content

Commit 9cd7050

Browse files
committed
fix: macOS E2E — don't detect Apple Clang as gcc capability
macOS g++ is Apple Clang, not real GCC. Tests requiring gcc need GNU GCC for module-specific behavior (gcm.cache, etc.). Also fix 27_self_contained_home tag to elf (assumes Linux sandbox layout).
1 parent 71eb485 commit 9cd7050

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

tests/e2e/27_self_contained_home.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# requires: unix-shell
2+
# requires: elf
33
# 27_self_contained_home.sh — verifies mcpp's self-contained home behaviour.
44
#
55
# Without MCPP_HOME set, mcpp resolves its home from the binary's location:

tests/e2e/run_all.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ case "$OS" in
5959
;;
6060
Darwin)
6161
CAPS+=(unix-shell)
62-
command -v g++ &>/dev/null && CAPS+=(gcc)
62+
# macOS g++ is Apple Clang, not real GCC — don't add gcc capability.
63+
# Tests requiring gcc need actual GNU GCC (modules, gcm.cache, etc.)
6364
;;
6465
MINGW* | MSYS* | CYGWIN*)
6566
# Git Bash / MSYS2 on Windows: symlinks need admin or Developer Mode

0 commit comments

Comments
 (0)