Commit Graph

81 Commits

Author SHA1 Message Date
Reid Spencer
13a29035cc Allow dejagnu tests to run on Windows/Cygwin. Quote the value of the PATH
variable so that spaces don't screw it up.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20240 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-18 20:17:44 +00:00
Reid Spencer
2d7eb98621 Make sure the path is properly set in the llvmgcc and llvmgxx variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19267 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-03 04:05:32 +00:00
Reid Spencer
4a25494ee6 The dejagnu scripts need a path for llvm-gcc/llvm-g++ as well so use the
correct variable to get a "set the path first" invocation of those tools.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19127 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-24 03:38:01 +00:00
Reid Spencer
c553403233 For PR432:
* Use LLVMGCC and LLVMGXX variables instead of computing the name


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19097 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-22 05:57:50 +00:00
Chris Lattner
60bdce6fd0 Dejagnu doesn't work if you do TESTSUITE=.../
You can't pass the trailing / into Dejagnu, so make the makefile strip it off


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18836 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-12 21:39:49 +00:00
John Criswell
06c2e66435 Remove the last pieces of QMTest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18581 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 21:35:32 +00:00
Reid Spencer
135e1d8c3c Change check to check-local per Makefile.rules changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18568 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 05:35:38 +00:00
Reid Spencer
ed2040d2fa Failing Feature/Regression test should fail the build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18507 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 22:34:47 +00:00
Chris Lattner
0e2f492a7c Clean feature also
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18491 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 06:47:07 +00:00
Tanya Lattner
9f97b4c228 Made it default to check instead of check-dejagnu.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18488 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 06:25:08 +00:00
Tanya Lattner
78887f46ac Added TCLSH var to site.exp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18396 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 19:13:06 +00:00
Chris Lattner
5b0a4ff668 If TESTSUITE is set, we obviously want to run dejagnu
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18392 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-30 17:45:08 +00:00
Chris Lattner
baf790e809 Don't stop make if there are XFAIL or XPASSes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18113 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 19:06:22 +00:00
Tanya Lattner
d85f0af7c2 setting path to prcontext.tcl script. Right now it searches for tclsh in your path, but this should be obtained from configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17720 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 23:36:18 +00:00
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