Commit Graph

67 Commits

Author SHA1 Message Date
Reid Spencer
8db573e190 Document quick-test target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17644 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-09 06:32:58 +00:00
Reid Spencer
ed8c089469 Add a quick-test target that uses QUICKTEST variable to quickly run a
portion of the test suite. e.g.:

make quck-test QUICKTEST=Regression/Bytecode


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17643 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-09 06:28:32 +00:00
Alkis Evlogimenos
440add2697 Move path override in test/Makefile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17613 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-08 05:44:05 +00:00
Tanya Lattner
00a7469e69 Now using path to python found by configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17610 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-08 03:26:59 +00:00
Reid Spencer
4b8f82fbe6 Add the RUNTEST autoconf onfiguration variable for Deja-gnu support. This
tool runs Deja-gnu test suites. The 'make' variable RUNTEST is now set
automatically in the Makefile.config file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17599 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 23:29:39 +00:00
Tanya Lattner
d09fbdc2e2 Changed TEST to TESTSUITE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17598 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 23:26:13 +00:00
Tanya Lattner
491e9cd182 Changed check-dejagnu to take TESTSUITE as its args instead of TEST in order to not conflict with other stuff. Added path for test/Scripts. Also added a check to deal with TESTSUITE and runtest flags.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17586 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 21:39:41 +00:00
Tanya Lattner
38ed80aefb Added support to specify which test suite dejagnu should run (Feature or Regression). Use TEST=suite
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17572 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 08:24:59 +00:00
Chris Lattner
12d632c8d0 Add missing file header
Add some comments
Switch to use 'find' to do the clean instead of globbing


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17559 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 05:05:37 +00:00
Tanya Lattner
7a7cb4c99b Added rough support for dejagnu testing. Changes need to be made to autoconf to provide the target_triplet and to check for 'grep -C' which would be used instead of the python script we have now. Eventually the python script should be converted to bash.
The dejagnu-clean needs to be fixed to use find.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17555 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 04:59:52 +00:00
Brian Gaeke
64aeb00928 CONFIGURATION isn't spelled Configuration, it's spelled BuildMode.
Due to qmtest's or llvm.py's lousy error checking, this single error
causes qmtest to fork-bomb the machine, filling the process table with
python processes that do nothing.  Clearly, better error checking is
needed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17449 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-03 17:11:23 +00:00
Reid Spencer
cc2d1e25f3 Internalize variable names to prevent recursive assignment. Cleanup docs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17359 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-30 09:19:36 +00:00
Reid Spencer
eb32ffe2f8 Per Bug 257
The "Programs" directory no longer lives here. It have been moved to its
own cvs module. Check it out into llvm/projects and configure/build it
there.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16182 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-05 08:18:23 +00:00
John Criswell
955a742569 Add support for using the prcontext python script instead of grep -C.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15426 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 22:29:38 +00:00
John Criswell
d179961d40 Merged in RELEASE_12.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12532 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-29 20:23:11 +00:00
Brian Gaeke
f19ae4c9db Separate out target for cleaning up qmtest garbage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10395 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-11 04:48:38 +00:00
Brian Gaeke
aa7411818c Clean more qmtest files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10125 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-21 01:12:47 +00:00
Brian Gaeke
34d25f1303 Blow away compiled versions of qmtest classes on 'make clean'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10119 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-20 19:57:17 +00:00
John Criswell
236c4d4214 We now support different expectations for different OS's/architectures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10094 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 21:13:25 +00:00
John Criswell
d184c67b52 Merged RELEASE_1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9533 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 17:46:42 +00:00
John Criswell
49207925b3 Do not report errors if QMTest returns a non-zero value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9404 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 14:11:53 +00:00
Brian Gaeke
ab9585f38b Quote qmtest args in $(CONTEXT).
I don't remember precisely what bug this fixed, but I remember that
it fixed a bug. Sorry. (I think one of these args had a Funny Shell Character
in it, or a space, or something, in my last build, and this seemed
like the obvious fix.)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9044 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-11 00:10:05 +00:00
John Criswell
ce0ea77e60 Removed the AnalyzeTest class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9041 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-10 20:24:56 +00:00
John Criswell
9fd50e2e38 Make the clean target remove the QMTest temporary directory.
Remove QMTest python classes which are no longer used.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9040 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-10 19:52:30 +00:00
John Criswell
0c9efc2b1d Fixed the location of the expectations file.
Added the registration of the LLVM Database class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8946 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 21:30:07 +00:00
John Criswell
f424d7481e Switching over to the new test database.
Adding new qmt files should no longer be necessary.
QMTest should know just "magically" know what sort of test each file is.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8945 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 21:13:47 +00:00
John Criswell
28e7767640 Added the CXXTest test class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8788 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-30 19:04:08 +00:00
John Criswell
1ce5c596a2 Allow multiple object trees to use the source tree tests at once by
using a QMTEST_CLASS_PATH local to the object tree.
Add the gui target to start the QMTest gui (saves writing a few lines of
documentation too).	:)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8552 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-16 02:59:26 +00:00
John Criswell
538a317d03 QMTest test and resource classes are always register before running the tests.
This ensures that any python bytecode generated by another platform is
replaced with new pythong bytecode before the tests begin.

Perferably, a better method will be implemented in the next few weeks.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8549 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 21:54:49 +00:00
John Criswell
f780f77651 Added the .t implicit rule. You can now run an individual set of QMTests by
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
2003-09-08 21:25:35 +00:00
John Criswell
ee29d2aa20 Checkin of autoconf-style object root.
Use QMTest for the feature and Regression tests.
Continue using the Makefile system for the Programs tests.
Adjusted the Makefile rules to handle building outside the source directory.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8381 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-06 15:12:21 +00:00
John Criswell
299e15e4a5 Added the ability to run the QMTests. It is currently not enabled by default,
but is here in case others want to start trying it out.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8001 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21 15:09:29 +00:00
John Criswell
62f0e465f2 Removed Makefile.common.
Since we are including Makefile.test, we automatically get Makefile.common.
Furthermore, the double inclusion of Makefile.common causes the test suite to
be executed twice per invocation of the top level make.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7652 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-06 21:50:36 +00:00
Chris Lattner
c433e64f7d libraries is used for internal stuff, not as a real testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4580 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-06 20:36:52 +00:00
Vikram S. Adve
fad0f52666 include Makefile.tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1914 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-18 04:05:26 +00:00
Chris Lattner
52a4e85a98 More rules checked in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1571 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 21:36:59 +00:00
Chris Lattner
3e81173902 New minimal makefile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1561 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 17:22:17 +00:00
Vikram S. Adve
1b654bd347 Rename Makefile.target to Makefile.tests.
Make all a :: target.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1488 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-15 01:04:39 +00:00
Vikram S. Adve
b15f64c353 Run testsparc, not testcodegen for testing the back end.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1482 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-15 00:29:14 +00:00
Chris Lattner
48e9f40be0 Build Programs subdirectory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1473 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-14 16:43:59 +00:00
Vikram S. Adve
38b8620f4a Replaced another HERE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1132 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-05 00:22:16 +00:00
Vikram S. Adve
4cceffe0a9 Put common rules for compiling programs into Makefile.target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1130 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-05 00:18:30 +00:00
Vikram S. Adve
59a9960423 Added rules for building sparc executable with and without tracing,
and linking with local runtime library.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@993 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-28 20:18:11 +00:00
Vikram S. Adve
919b59a148 Disable alloca code gen tests until size of extra args in stack frame
can be computed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@957 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-22 22:33:08 +00:00
Vikram S. Adve
ad5b62012c *** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@913 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-18 22:47:50 +00:00
Vikram S. Adve
8f1afbf3b3 Reverse previous change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@867 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-18 00:23:32 +00:00
Vikram S. Adve
867c3cc380 Generate assembly code for testcodegen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@866 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-18 00:22:14 +00:00
Vikram S. Adve
67edee1443 Disable codgen test for calltest.ll.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@855 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-17 20:14:34 +00:00
Chris Lattner
abe959c063 Add rule to build executables
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@846 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-15 20:08:19 +00:00
Chris Lattner
18fc812a1b Compile with v9 extensions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@839 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-15 17:55:35 +00:00