llvm.org GIT mirror llvm / d9624b0
Checkin testcases for bugpoint git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4791 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 16 years ago
3 changed file(s) with 37 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 # test/Regression/Assembler/Makefile
1 #
2 # This directory contains regression tests for the LLVM assembler program.
3 # These LLVM source file tests are just required to assembler properly to pass.
4 #
5 LEVEL = ../../..
6 include $(LEVEL)/test/Makefile.tests
7
8 TESTS := $(wildcard *.ll)
9
10 all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
11
12 Output/%.ll.out: %.ll Output/.dir $(LAS) $(LBUGPOINT)
13 -$(TESTRUNR) $<
14
15 clean::
16 rm -f *.bc
0 ; Basic test for bugpoint.
1 ; RUN: bugpoint %s -domset -idom -domset -bugpoint-crashcalls -domset -idom -domset
2
3 int %test() {
4 call int %test()
5 ret int %0
6 }
0 ; Test that bugpoint can narrow down the testcase to the important function
1 ;
2 ; RUN: bugpoint %s -bugpoint-crashcalls
3
4 int %foo() { ret int 1 }
5
6 int %test() {
7 call int %test()
8 ret int %0
9 }
10
11 int %bar() { ret int 2 }
12