You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
grep -q 'target/cxx-runtime' mixed.log || { echo "FAIL: no degradation named the mixed libc++"; cat mixed.log; exit 1; }
339
+
# A degradation renders its `what` text, not its domain, so the
340
+
# sentence is what a log can be asked for.
341
+
grep -q "links the SDK's libc++ under the toolchain payload's libc++ headers" mixed.log || { echo "FAIL: no degradation named the mixed libc++"; cat mixed.log; exit 1; }
340
342
grep -q 'llvm.libcxx' mixed.log || { echo "FAIL: the degradation does not name llvm.libcxx"; cat mixed.log; exit 1; }
"$MCPP_DEV" build --target aarch64-ios-sim 2>&1 | tee plain.log
344
-
grep -q 'target/compiler-runtime' plain.log || { echo "FAIL: no degradation named the missing compiler runtime"; exit 1; }
345
-
grep -q 'target/cxx-runtime' plain.log && { echo "FAIL: a program without import std was reported as mixing libc++"; exit 1; }
346
+
grep -q 'carries no compilerruntime for aarch64-ios-sim' plain.log || { echo "FAIL: no degradation named the missing compiler runtime"; exit 1; }
347
+
grep -q "links the SDK's libc++ under" plain.log && { echo "FAIL: a program without import std was reported as mixing libc++"; exit 1; }
346
348
ninja=$(ls target/aarch64-ios-sim/*/build.ninja | head -1)
347
349
grep -q -- '-isystem[^ ]*iPhoneSimulator[^ ]*/usr/include/c++/v1' "$ninja" || { echo "FAIL: the plain program does not take the SDK's C++ headers"; grep -o -- '-isystem[^ ]*c++/v1' "$ninja" | sort -u; exit 1; }
348
350
grep -q -- '-isystem[^ ]*xim-x-llvm[^ ]*/c++/v1' "$ninja" && { echo "FAIL: the plain program still takes the payload's C++ headers"; exit 1; }
0 commit comments