Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guard unwind test against old OS X versions #476

Merged
merged 1 commit into from Feb 23, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion testsuite/tests/unwind/Makefile
@@ -1,6 +1,8 @@
# The -keep_dwarf_unwind option of ld was introduced in ld version 224.1.
# (The last released version where it is not supported is version 136.)
default:
@printf " ... testing 'unwind_test':"
@if [ $(SYSTEM) = macosx ] && ! $(BYTECODE_ONLY); then \
@if [ $(SYSTEM) = macosx ] && ! $(BYTECODE_ONLY) && [[ `ld -v 2>&1` =~ ld64-([0-9]*) ]] && [[ 224 -le $${BASH_REMATCH[1]} ]]; then \
$(MAKE) native_macosx_tests; \
else \
echo " => skipped"; \
Expand Down