summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-02-26 12:08:55 +0000
committerGabor Greif <ggreif@gmail.com>2008-02-26 12:08:55 +0000
commit684ed3d98728bb28f675d87b756661008e0ef1e3 (patch)
tree224b68c2474926b42b83ef736a227a567430fb05 /test/Makefile
parent212a11c417e272cc8fd12e66cfe5110c47559e17 (diff)
downloadllvm-684ed3d98728bb28f675d87b756661008e0ef1e3.tar.gz
llvm-684ed3d98728bb28f675d87b756661008e0ef1e3.tar.bz2
llvm-684ed3d98728bb28f675d87b756661008e0ef1e3.tar.xz
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index c0f37e94fb..bbd7132884 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -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 :=