mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
While hunting for two hanging tests,
(on solaris10, which are: CodeGen/PowerPC/frounds.ll Transforms/InstCombine/2008-02-23-MulSub.ll) I needed a tool to figure out which one is the guilty. To this end I have added a verbosity option to the test/Makefile. It can be invoked thus: gmake check TESTSUITE=CodeGen/PowerPC VERBOSE="-v -v" (The number of "-v"s specifies the verbosity level. Instead of "-v" other aliases can be specified, please consult the dejagnu docs for info.) At level >= 2 following line is logged for each test, before running it: ABOUT TO RUN: <test>.ll llvm-svn: 47602
This commit is contained in:
parent
c63bc1577a
commit
900b81cc22
@ -22,10 +22,14 @@ include Makefile.tests
|
||||
# DejaGNU testing support
|
||||
#===------------------------------------------------------------------------===#
|
||||
|
||||
ifdef VERBOSE
|
||||
RUNTESTFLAGS := $(VERBOSE)
|
||||
endif
|
||||
|
||||
ifdef TESTSUITE
|
||||
CLEANED_TESTSUITE := $(patsubst %/,%,$(TESTSUITE))
|
||||
CLEANED_TESTSUITE := $(patsubst test/%,%,$(CLEANED_TESTSUITE))
|
||||
RUNTESTFLAGS := --tool $(CLEANED_TESTSUITE)
|
||||
RUNTESTFLAGS += --tool $(CLEANED_TESTSUITE)
|
||||
endif
|
||||
|
||||
IGNORE_TESTS :=
|
||||
|
@ -102,6 +102,7 @@ proc RunLLVMTests { test_source_files } {
|
||||
#set timeout 40
|
||||
|
||||
set filename [file tail $test]
|
||||
verbose "ABOUT TO RUN: $filename" 2
|
||||
set outcome PASS
|
||||
set tmpFile "$filename.tmp"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user