Added the .t implicit rule. You can now run an individual set of QMTests by
authorJohn Criswell <criswell@uiuc.edu>
Mon, 8 Sep 2003 21:25:35 +0000 (21:25 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Mon, 8 Sep 2003 21:25:35 +0000 (21:25 +0000)
specifying "make <test>.t"
For example, make feature.t will run the feature tests.
Removed the QMTESTS variable since it is no longer used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8414 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile

index df389275e99dd398f30eefd86ea75c7816049e2c..1e4111648a7ae13e34f02f683ec468f63c3adaf0 100644 (file)
@@ -13,10 +13,6 @@ all:: qmtest
 #      will use QMTest by default.
 #
 
-# List of the functioning QM Tests
-QMTESTS=feature \
-        regression
-
 # QMTest option specifying the location of the QMTest database.
 QMDB= -D $(LLVM_SRC_ROOT)/test/QMTestDB
 
@@ -46,6 +42,8 @@ QMTEST= qmtest $(QMDB)
 qmtest:: $(LLVM_OBJ_ROOT)/test/tmp register
        $(QMTEST) run -O $(LLVM_SRC_ROOT)/test/QMTestDB/expectations.qmr $(CONTEXT)
 
+%.t:: $(LLVM_OBJ_ROOT)/test/tmp register
+       $(QMTEST) run -O $(LLVM_SRC_ROOT)/test/QMTestDB/expectations.qmr $(CONTEXT) $*
 
 #
 # Create the temporary directory used by the test suite.