[project @ 2001-06-12 12:06:02 by sewardj]
authorsewardj <unknown>
Tue, 12 Jun 2001 12:06:02 +0000 (12:06 +0000)
committersewardj <unknown>
Tue, 12 Jun 2001 12:06:02 +0000 (12:06 +0000)
Make another sad directory happy.

You can now cd to fptools/testsuite and do 'make all'.  This will
build the test driver and then run ghc/compiler/ghc-inplace over
the as-yet small collection of tests herein.

testsuite/Makefile [new file with mode: 0644]
testsuite/driver/Makefile

diff --git a/testsuite/Makefile b/testsuite/Makefile
new file mode 100644 (file)
index 0000000..ada52a5
--- /dev/null
@@ -0,0 +1,14 @@
+
+all: runtests test
+
+boot:
+       @echo "Make boot is not needed here"
+
+runtests:
+       (cd driver && make runtests)
+clean:
+       (cd driver && make clean)
+
+test: runtests
+       driver/runtests --tool=../ghc/compiler/ghc-inplace \
+                --config=config/msrc/cam-02-unx.T tests
index a8f7936..6902060 100644 (file)
@@ -1,7 +1,7 @@
 
 # Yes, it's a hack.  Complaints to /dev/null.
 
-TESTDRIVER_SRCS= \
+RUNTESTS_SRCS= \
        CmdLexer.hs CmdParser.hs CmdSemantics.hs CmdSyntax.hs Main.hs \
        RunOneTest.hs basicRxLib/AbsTreeDefs.hs basicRxLib/Assertions.hs  \
        basicRxLib/AugTreeDefs.hs basicRxLib/AugmentTree.hs \
@@ -17,14 +17,14 @@ TESTDRIVER_SRCS= \
        basicRxLib/ParseStringRegexp.hs basicRxLib/Parsers.hs basicRxLib/Regexp.hs
 
 
-all: testdriver
+all: runtests
 
 boot:
        @echo "Make boot is not needed here"
 
-testdriver: $(TESTDRIVER_SRCS)
-       ../../ghc/compiler/ghc-inplace --make Main -o testdriver -i -ibasicRxLib -package lang -cpp
+runtests: $(RUNTESTS_SRCS)
+       ../../ghc/compiler/ghc-inplace --make Main -o runtests -i -ibasicRxLib -package lang -cpp
 
 clean:
-       /bin/rm -f testdriver *.o *.hi basicRxLib/*.o basicRxLib/*.hi
+       /bin/rm -f runtests *.o *.hi basicRxLib/*.o basicRxLib/*.hi