summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Transforms/Util/PredicateInfo/condprop2.ll2
-rw-r--r--llvm/test/Transforms/Util/PredicateInfo/testandor2.ll2
-rw-r--r--llvm/test/lit.cfg3
-rw-r--r--llvm/test/lit.site.cfg.in1
4 files changed, 6 insertions, 2 deletions
diff --git a/llvm/test/Transforms/Util/PredicateInfo/condprop2.ll b/llvm/test/Transforms/Util/PredicateInfo/condprop2.ll
index 415fa7c879e..facd22f5b7a 100644
--- a/llvm/test/Transforms/Util/PredicateInfo/condprop2.ll
+++ b/llvm/test/Transforms/Util/PredicateInfo/condprop2.ll
@@ -1,4 +1,4 @@
-; REQUIRES: asserts
+; REQUIRES: abi-breaking-checks
; NOTE: The flag -reverse-iterate is present only in a +Asserts build.
; Hence, this test has been split from condprop.ll to test with -reverse-iterate.
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
diff --git a/llvm/test/Transforms/Util/PredicateInfo/testandor2.ll b/llvm/test/Transforms/Util/PredicateInfo/testandor2.ll
index a03250c2f7a..a1b9c62040c 100644
--- a/llvm/test/Transforms/Util/PredicateInfo/testandor2.ll
+++ b/llvm/test/Transforms/Util/PredicateInfo/testandor2.ll
@@ -1,4 +1,4 @@
-; REQUIRES: asserts
+; REQUIRES: abi-breaking-checks
; NOTE: The flag -reverse-iterate is present only in a +Asserts build.
; Hence, this test has been split from testandor.ll to test with -reverse-iterate.
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg
index e9916b2a60e..5e903c26657 100644
--- a/llvm/test/lit.cfg
+++ b/llvm/test/lit.cfg
@@ -546,3 +546,6 @@ llvm_config_cmd.wait()
if config.have_libxar:
config.available_features.add('xar')
+
+if config.enable_abi_breaking_checks == "1":
+ config.available_features.add('abi-breaking-checks')
diff --git a/llvm/test/lit.site.cfg.in b/llvm/test/lit.site.cfg.in
index b6a8b8b17bc..f95f6d8ec9a 100644
--- a/llvm/test/lit.site.cfg.in
+++ b/llvm/test/lit.site.cfg.in
@@ -24,6 +24,7 @@ config.include_go_tests = @LLVM_INCLUDE_GO_TESTS@
config.go_executable = "@GO_EXECUTABLE@"
config.enable_shared = @ENABLE_SHARED@
config.enable_assertions = @ENABLE_ASSERTIONS@
+config.enable_abi_breaking_checks = "@LLVM_ENABLE_ABI_BREAKING_CHECKS@"
config.targets_to_build = "@TARGETS_TO_BUILD@"
config.native_target = "@LLVM_NATIVE_ARCH@"
config.llvm_bindings = "@LLVM_BINDINGS@".split(' ')
OpenPOWER on IntegriCloud