aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Enable path completion when typing the TESTSUITE= option by allowing theReid Spencer2006-11-111-0/+1
| | | | | | | | test directory to precede the test suite name. That is, it will strip off test/ from TESTSUITE which allows path completion from the command line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31662 91177308-0d34-0410-b5e6-96231b3b80d8
* If dejagnu is not found, tell the user instead of bombing out with anChris Lattner2006-08-011-0/+5
| | | | | | | obscure error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29421 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a problem where dejagnu won't accept the value of global tcl variableReid Spencer2006-05-281-2/+2
| | | | | | | "libdir" for some reason. Changing to llvmlibsdir instead fixes it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28526 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide an infrastructure for testing the llvm2cpp program (yet to beReid Spencer2006-05-281-0/+8
| | | | | | | | | committed). This infrastructure is only activated when RUNLLVM2CPP=1 is specified on the make command line. Currently it is only supported in the Feature test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28525 91177308-0d34-0410-b5e6-96231b3b80d8
* Use quotes properly so that the possibility of a null variable set isReid Spencer2006-04-131-4/+4
| | | | | | | | | | | | | | eliminated. This can happen, for example, if LLVM is configured without llvm-gcc in which case things like LLVMGCC_VERSION will be empty. In such cases, deja-gnu fails with: can't read "llvmgcc_version": no such variable because it sees: set llvmgcc_version instead of: set llvmgcc_version "" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27676 91177308-0d34-0410-b5e6-96231b3b80d8
* Added llvmgcc version to allow tests to be xfailed by frontend version.Tanya Lattner2006-04-121-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27619 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the variable llvmgccmajvers to the site.exp file. This will containReid Spencer2006-04-061-0/+1
| | | | | | | the major version number of llvm-gcc, as configured. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27465 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a test that runs the ParallelJIT example program to ensure that theReid Spencer2005-07-131-1/+1
| | | | | | | | | JIT can run against a multi-threaded program without getting its data structures messed up. Also had to add the examples directory to the path for the tests so that ParallelJIT can be found. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22415 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove trailing blank line, just to test whether the new commit scriptReid Spencer2005-05-211-1/+0
| | | | | | | is going to credit the commit correctly or not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22165 91177308-0d34-0410-b5e6-96231b3b80d8
* Finally get the quoting right for both Unix and Windows for the llvmgcc andReid Spencer2005-05-201-2/+2
| | | | | | | | | | llvmgxx programs. dejagnu doesn't understand single quote and we need to pass double quotes through to the shell in order to escape blanks in the paths. This patch uses \" to escape the quotes passed through to the shell. Thanks to Aaron Gray for testing this out on cygwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22155 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow dejagnu tests to run on Windows/Cygwin. Quote the value of the PATHReid Spencer2005-02-181-1/+1
| | | | | | | 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
* Make sure the path is properly set in the llvmgcc and llvmgxx variables.Reid Spencer2005-01-031-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19267 91177308-0d34-0410-b5e6-96231b3b80d8
* The dejagnu scripts need a path for llvm-gcc/llvm-g++ as well so use theReid Spencer2004-12-241-2/+2
| | | | | | | 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
* For PR432:Reid Spencer2004-12-221-2/+2
| | | | | | | * 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
* Dejagnu doesn't work if you do TESTSUITE=.../Chris Lattner2004-12-121-1/+2
| | | | | | | 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
* Remove the last pieces of QMTest.John Criswell2004-12-061-94/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18581 91177308-0d34-0410-b5e6-96231b3b80d8
* Change check to check-local per Makefile.rules changes.Reid Spencer2004-12-061-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18568 91177308-0d34-0410-b5e6-96231b3b80d8
* Failing Feature/Regression test should fail the buildReid Spencer2004-12-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18507 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean feature alsoChris Lattner2004-12-041-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18491 91177308-0d34-0410-b5e6-96231b3b80d8
* Made it default to check instead of check-dejagnu.Tanya Lattner2004-12-041-25/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18488 91177308-0d34-0410-b5e6-96231b3b80d8
* Added TCLSH var to site.exp.Tanya Lattner2004-11-301-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18396 91177308-0d34-0410-b5e6-96231b3b80d8
* If TESTSUITE is set, we obviously want to run dejagnuChris Lattner2004-11-301-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18392 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't stop make if there are XFAIL or XPASSesChris Lattner2004-11-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18113 91177308-0d34-0410-b5e6-96231b3b80d8
* setting path to prcontext.tcl script. Right now it searches for tclsh in ↵Tanya Lattner2004-11-131-1/+1
| | | | | | 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
* Document quick-test target.Reid Spencer2004-11-091-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17644 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a quick-test target that uses QUICKTEST variable to quickly run aReid Spencer2004-11-091-0/+7
| | | | | | | | | 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
* Move path override in test/Makefile.Alkis Evlogimenos2004-11-081-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17613 91177308-0d34-0410-b5e6-96231b3b80d8
* Now using path to python found by configure.Tanya Lattner2004-11-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17610 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the RUNTEST autoconf onfiguration variable for Deja-gnu support. ThisReid Spencer2004-11-071-2/+0
| | | | | | | | 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
* Changed TEST to TESTSUITETanya Lattner2004-11-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17598 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed check-dejagnu to take TESTSUITE as its args instead of TEST in order ↵Tanya Lattner2004-11-071-3/+7
| | | | | | 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
* Added support to specify which test suite dejagnu should run (Feature or ↵Tanya Lattner2004-11-071-1/+1
| | | | | | Regression). Use TEST=suite git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17572 91177308-0d34-0410-b5e6-96231b3b80d8
* Add missing file headerChris Lattner2004-11-071-7/+15
| | | | | | | | 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
* Added rough support for dejagnu testing. Changes need to be made to autoconf ↵Tanya Lattner2004-11-071-0/+28
| | | | | | | | | 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
* CONFIGURATION isn't spelled Configuration, it's spelled BuildMode.Brian Gaeke2004-11-031-1/+1
| | | | | | | | | | 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
* Internalize variable names to prevent recursive assignment. Cleanup docs.Reid Spencer2004-10-301-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17359 91177308-0d34-0410-b5e6-96231b3b80d8
* Per Bug 257Reid Spencer2004-09-051-1/+1
| | | | | | | | | 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
* Add support for using the prcontext python script instead of grep -C.John Criswell2004-08-021-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15426 91177308-0d34-0410-b5e6-96231b3b80d8
* Merged in RELEASE_12.John Criswell2004-03-291-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12532 91177308-0d34-0410-b5e6-96231b3b80d8
* Separate out target for cleaning up qmtest garbage.Brian Gaeke2003-12-111-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10395 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean more qmtest files.Brian Gaeke2003-11-211-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10125 91177308-0d34-0410-b5e6-96231b3b80d8
* Blow away compiled versions of qmtest classes on 'make clean'.Brian Gaeke2003-11-201-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10119 91177308-0d34-0410-b5e6-96231b3b80d8
* We now support different expectations for different OS's/architectures.John Criswell2003-11-191-2/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10094 91177308-0d34-0410-b5e6-96231b3b80d8
* Merged RELEASE_1.John Criswell2003-10-271-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9533 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not report errors if QMTest returns a non-zero value.John Criswell2003-10-231-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9404 91177308-0d34-0410-b5e6-96231b3b80d8
* Quote qmtest args in $(CONTEXT).Brian Gaeke2003-10-111-8/+8
| | | | | | | | | | 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
* Removed the AnalyzeTest class.John Criswell2003-10-101-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9041 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the clean target remove the QMTest temporary directory.John Criswell2003-10-101-2/+3
| | | | | | | 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
* Fixed the location of the expectations file.John Criswell2003-10-071-2/+3
| | | | | | | 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
* Switching over to the new test database.John Criswell2003-10-071-4/+4
| | | | | | | | 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