aboutsummaryrefslogtreecommitdiffstats
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
commit9f99a9f8320991c449cd6651ddc58ba4bd116403 (patch)
tree224b68c2474926b42b83ef736a227a567430fb05 /test/Makefile
parent1464b445bf0d3ff9aaf5c2a3255578579b195234 (diff)
downloadexternal_llvm-9f99a9f8320991c449cd6651ddc58ba4bd116403.zip
external_llvm-9f99a9f8320991c449cd6651ddc58ba4bd116403.tar.gz
external_llvm-9f99a9f8320991c449cd6651ddc58ba4bd116403.tar.bz2
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 c0f37e9..bbd7132 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 :=