summaryrefslogtreecommitdiffstats
path: root/llvm/test/BugPoint
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2010-11-29 07:58:32 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2010-11-29 07:58:32 +0000
commit6ea8a947e8eb997a39e11a8a315e50b66294a1aa (patch)
tree830ff3ddd375446b0bc3588dcef714c6807f9e0a /llvm/test/BugPoint
parentabcab28f9b96356c0db3315116e44af76d044970 (diff)
downloadbcm5719-llvm-6ea8a947e8eb997a39e11a8a315e50b66294a1aa.tar.gz
bcm5719-llvm-6ea8a947e8eb997a39e11a8a315e50b66294a1aa.zip
test: Check the feature 'loadable_module' with load modules in %llvmshlibdir.
%llvmshlibdir should be 'bin' on Cygming. llvm-svn: 120282
Diffstat (limited to 'llvm/test/BugPoint')
-rw-r--r--llvm/test/BugPoint/crash-narrowfunctiontest.ll5
-rw-r--r--llvm/test/BugPoint/metadata.ll4
-rw-r--r--llvm/test/BugPoint/remove_arguments_test.ll5
3 files changed, 6 insertions, 8 deletions
diff --git a/llvm/test/BugPoint/crash-narrowfunctiontest.ll b/llvm/test/BugPoint/crash-narrowfunctiontest.ll
index 18a31eb45d3..d080d9dd4b0 100644
--- a/llvm/test/BugPoint/crash-narrowfunctiontest.ll
+++ b/llvm/test/BugPoint/crash-narrowfunctiontest.ll
@@ -1,8 +1,7 @@
; Test that bugpoint can narrow down the testcase to the important function
-; FIXME: This likely fails on windows
;
-; RUN: bugpoint -load %llvmlibsdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
-; XFAIL: mingw
+; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
+; REQUIRES: loadable_module
define i32 @foo() { ret i32 1 }
diff --git a/llvm/test/BugPoint/metadata.ll b/llvm/test/BugPoint/metadata.ll
index f2541ee3f9a..0eda5667ba4 100644
--- a/llvm/test/BugPoint/metadata.ll
+++ b/llvm/test/BugPoint/metadata.ll
@@ -1,6 +1,6 @@
-; RUN: bugpoint -load %llvmlibsdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
+; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
-; XFAIL: mingw
+; REQUIRES: loadable_module
; Bugpoint should keep the call's metadata attached to the call.
diff --git a/llvm/test/BugPoint/remove_arguments_test.ll b/llvm/test/BugPoint/remove_arguments_test.ll
index 791ec69a23d..29a03b83107 100644
--- a/llvm/test/BugPoint/remove_arguments_test.ll
+++ b/llvm/test/BugPoint/remove_arguments_test.ll
@@ -1,7 +1,6 @@
-; FIXME: This likely fails on windows
-; RUN: bugpoint -load %llvmlibsdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes
+; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes
; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
-; XFAIL: mingw
+; REQUIRES: loadable_module
; Test to make sure that arguments are removed from the function if they are
; unnecessary. And clean up any types that that frees up too.
OpenPOWER on IntegriCloud