[llvm-commits] [llvm] r120282 - in /llvm/trunk/test: Analysis/Profiling/profiling-tool-chain.ll BugPoint/crash-narrowfunctiontest.ll BugPoint/metadata.ll BugPoint/remove_arguments_test.ll Feature/load_module.ll

NAKAMURA Takumi geek4civic at gmail.com
Sun Nov 28 23:58:32 PST 2010


Author: chapuni
Date: Mon Nov 29 01:58:32 2010
New Revision: 120282

URL: http://llvm.org/viewvc/llvm-project?rev=120282&view=rev
Log:
test: Check the feature 'loadable_module' with load modules in %llvmshlibdir.

%llvmshlibdir should be 'bin' on Cygming.

Modified:
    llvm/trunk/test/Analysis/Profiling/profiling-tool-chain.ll
    llvm/trunk/test/BugPoint/crash-narrowfunctiontest.ll
    llvm/trunk/test/BugPoint/metadata.ll
    llvm/trunk/test/BugPoint/remove_arguments_test.ll
    llvm/trunk/test/Feature/load_module.ll

Modified: llvm/trunk/test/Analysis/Profiling/profiling-tool-chain.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/Profiling/profiling-tool-chain.ll?rev=120282&r1=120281&r2=120282&view=diff
==============================================================================
--- llvm/trunk/test/Analysis/Profiling/profiling-tool-chain.ll (original)
+++ llvm/trunk/test/Analysis/Profiling/profiling-tool-chain.ll Mon Nov 29 01:58:32 2010
@@ -9,8 +9,8 @@
 
 ; Test the creation, reading and displaying of profile
 ; RUX: rm -f llvmprof.out
-; RUX: lli -load %llvmlibsdir/profile_rt%shlibext %t2
-; RUX: lli -load %llvmlibsdir/profile_rt%shlibext %t2 1 2
+; RUX: lli -load %llvmshlibdir/profile_rt%shlibext %t2
+; RUX: lli -load %llvmshlibdir/profile_rt%shlibext %t2 1 2
 ; RUX: llvm-prof -print-all-code %t1 | FileCheck --check-prefix=PROF %s
 
 ; Test the loaded profile also with verifier.

Modified: llvm/trunk/test/BugPoint/crash-narrowfunctiontest.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/BugPoint/crash-narrowfunctiontest.ll?rev=120282&r1=120281&r2=120282&view=diff
==============================================================================
--- llvm/trunk/test/BugPoint/crash-narrowfunctiontest.ll (original)
+++ llvm/trunk/test/BugPoint/crash-narrowfunctiontest.ll Mon Nov 29 01:58:32 2010
@@ -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 }
 

Modified: llvm/trunk/test/BugPoint/metadata.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/BugPoint/metadata.ll?rev=120282&r1=120281&r2=120282&view=diff
==============================================================================
--- llvm/trunk/test/BugPoint/metadata.ll (original)
+++ llvm/trunk/test/BugPoint/metadata.ll Mon Nov 29 01:58:32 2010
@@ -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.
 

Modified: llvm/trunk/test/BugPoint/remove_arguments_test.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/BugPoint/remove_arguments_test.ll?rev=120282&r1=120281&r2=120282&view=diff
==============================================================================
--- llvm/trunk/test/BugPoint/remove_arguments_test.ll (original)
+++ llvm/trunk/test/BugPoint/remove_arguments_test.ll Mon Nov 29 01:58:32 2010
@@ -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.

Modified: llvm/trunk/test/Feature/load_module.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Feature/load_module.ll?rev=120282&r1=120281&r2=120282&view=diff
==============================================================================
--- llvm/trunk/test/Feature/load_module.ll (original)
+++ llvm/trunk/test/Feature/load_module.ll Mon Nov 29 01:58:32 2010
@@ -1,6 +1,8 @@
 ; PR1318
-; RUN: opt < %s -load=%llvmlibsdir/LLVMHello%shlibext -hello \
+; RUN: opt < %s -load=%llvmshlibdir/LLVMHello%shlibext -hello \
 ; RUN:   -disable-output |& grep Hello
+; REQUIRES: loadable_module
+; FIXME: On Cygming, it might fail without building LLVMHello manually.
 
 @junk = global i32 0
 





More information about the llvm-commits mailing list