aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2007-09-18 12:26:17 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2007-09-18 12:26:17 +0000
commit0908d49c22775d20a88f595845b515f669d528f7 (patch)
treed4c0b5f773acca79d1fcde395c22e27652883875 /test
parentb5085212b0a419f205c3b3ea4d569331af6368c6 (diff)
downloadexternal_llvm-0908d49c22775d20a88f595845b515f669d528f7.zip
external_llvm-0908d49c22775d20a88f595845b515f669d528f7.tar.gz
external_llvm-0908d49c22775d20a88f595845b515f669d528f7.tar.bz2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 59cd23e..a09f55d 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -28,8 +28,18 @@ CLEANED_TESTSUITE := $(patsubst test/%,%,$(CLEANED_TESTSUITE))
RUNTESTFLAGS := --tool $(CLEANED_TESTSUITE)
endif
+IGNORE_TESTS :=
+
ifndef RUNLLVM2CPP
-RUNTESTFLAGS += --ignore llvm2cpp.exp
+IGNORE_TESTS += llvm2cpp.exp
+endif
+
+ifndef OCAMLC
+IGNORE_TESTS += ocaml.exp
+endif
+
+ifdef IGNORE_TESTS
+RUNTESTFLAGS += --ignore "$(strip $(IGNORE_TESTS))"
endif
ifneq ($(RUNTEST),)
@@ -89,6 +99,7 @@ site.exp: Makefile $(LLVM_OBJ_ROOT)/Makefile.config
@echo 'set llvmgxx "$(LLVMGCC)"' >> site.tmp
@echo 'set llvmgccmajvers "$(LLVMGCC_MAJVERS)"' >> site.tmp
@echo 'set shlibext "$(SHLIBEXT)"' >> site.tmp
+ @echo 'set ocamlc "$(OCAMLC) -cc $(CXX) -I $(LibDir)/ocaml"' >> site.tmp
@echo '## All variables above are generated by configure. Do Not Edit ## ' >>site.tmp
@test ! -f site.exp || \
sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp