1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
Commit Graph

91 Commits

Author SHA1 Message Date
Reid Spencer
92316b8b65 Enable path completion when typing the TESTSUITE= option by allowing the
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.

llvm-svn: 31662
2006-11-11 01:02:45 +00:00
Chris Lattner
665fa52aba If dejagnu is not found, tell the user instead of bombing out with an
obscure error.

llvm-svn: 29421
2006-08-01 00:07:58 +00:00
Reid Spencer
97be29a3b4 Fix a problem where dejagnu won't accept the value of global tcl variable
"libdir" for some reason. Changing to llvmlibsdir instead fixes it.

llvm-svn: 28526
2006-05-28 07:22:42 +00:00
Reid Spencer
30094a399d Provide an infrastructure for testing the llvm2cpp program (yet to be
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.

llvm-svn: 28525
2006-05-28 04:21:40 +00:00
Reid Spencer
6794b8e049 Use quotes properly so that the possibility of a null variable set is
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 ""

llvm-svn: 27676
2006-04-13 20:33:59 +00:00
Tanya Lattner
ace568086f Added llvmgcc version to allow tests to be xfailed by frontend version.
llvm-svn: 27619
2006-04-12 18:08:25 +00:00
Reid Spencer
f6ff0f1ead Add the variable llvmgccmajvers to the site.exp file. This will contain
the major version number of llvm-gcc, as configured.

llvm-svn: 27465
2006-04-06 22:22:08 +00:00
Reid Spencer
e92540ca6b Add a test that runs the ParallelJIT example program to ensure that the
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.

llvm-svn: 22415
2005-07-13 00:35:12 +00:00
Reid Spencer
0e5d8ea117 Remove trailing blank line, just to test whether the new commit script
is going to credit the commit correctly or not.

llvm-svn: 22165
2005-05-21 01:29:30 +00:00
Reid Spencer
e2d15e6fe9 Finally get the quoting right for both Unix and Windows for the llvmgcc and
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.

llvm-svn: 22155
2005-05-20 20:13:41 +00:00
Reid Spencer
df0507b980 Allow dejagnu tests to run on Windows/Cygwin. Quote the value of the PATH
variable so that spaces don't screw it up.

llvm-svn: 20240
2005-02-18 20:17:44 +00:00
Reid Spencer
e7bd0d1c1f Make sure the path is properly set in the llvmgcc and llvmgxx variables.
llvm-svn: 19267
2005-01-03 04:05:32 +00:00
Reid Spencer
0177a5de8f 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.

llvm-svn: 19127
2004-12-24 03:38:01 +00:00
Reid Spencer
6508dfb58f For PR432:
* Use LLVMGCC and LLVMGXX variables instead of computing the name

llvm-svn: 19097
2004-12-22 05:57:50 +00:00
Chris Lattner
9cf2089af2 Dejagnu doesn't work if you do TESTSUITE=.../
You can't pass the trailing / into Dejagnu, so make the makefile strip it off

llvm-svn: 18836
2004-12-12 21:39:49 +00:00
John Criswell
117de4f30b Remove the last pieces of QMTest.
llvm-svn: 18581
2004-12-06 21:35:32 +00:00
Reid Spencer
95986da71e Change check to check-local per Makefile.rules changes.
llvm-svn: 18568
2004-12-06 05:35:38 +00:00
Reid Spencer
d61d193119 Failing Feature/Regression test should fail the build
llvm-svn: 18507
2004-12-04 22:34:47 +00:00
Chris Lattner
c76909d98c Clean feature also
llvm-svn: 18491
2004-12-04 06:47:07 +00:00
Tanya Lattner
b449c01529 Made it default to check instead of check-dejagnu.
llvm-svn: 18488
2004-12-04 06:25:08 +00:00
Tanya Lattner
2c91540ff1 Added TCLSH var to site.exp.
llvm-svn: 18396
2004-11-30 19:13:06 +00:00
Chris Lattner
cb751cf9e1 If TESTSUITE is set, we obviously want to run dejagnu
llvm-svn: 18392
2004-11-30 17:45:08 +00:00
Chris Lattner
a2a80adde2 Don't stop make if there are XFAIL or XPASSes
llvm-svn: 18113
2004-11-22 19:06:22 +00:00
Tanya Lattner
c5e8993eef setting path to prcontext.tcl script. Right now it searches for tclsh in your path, but this should be obtained from configure.
llvm-svn: 17720
2004-11-13 23:36:18 +00:00
Reid Spencer
471722dd19 Document quick-test target.
llvm-svn: 17644
2004-11-09 06:32:58 +00:00
Reid Spencer
85c587ca76 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

llvm-svn: 17643
2004-11-09 06:28:32 +00:00
Alkis Evlogimenos
306136fdf0 Move path override in test/Makefile.
llvm-svn: 17613
2004-11-08 05:44:05 +00:00
Tanya Lattner
dab12a1946 Now using path to python found by configure.
llvm-svn: 17610
2004-11-08 03:26:59 +00:00
Reid Spencer
9de1e70c0b 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.

llvm-svn: 17599
2004-11-07 23:29:39 +00:00
Tanya Lattner
83977bd23b Changed TEST to TESTSUITE
llvm-svn: 17598
2004-11-07 23:26:13 +00:00
Tanya Lattner
4af4d3715e 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.
llvm-svn: 17586
2004-11-07 21:39:41 +00:00
Tanya Lattner
44c5ebfeac Added support to specify which test suite dejagnu should run (Feature or Regression). Use TEST=suite
llvm-svn: 17572
2004-11-07 08:24:59 +00:00
Chris Lattner
fa38dc9b94 Add missing file header
Add some comments
Switch to use 'find' to do the clean instead of globbing

llvm-svn: 17559
2004-11-07 05:05:37 +00:00
Tanya Lattner
093d12e40f 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.

llvm-svn: 17555
2004-11-07 04:59:52 +00:00
Brian Gaeke
ead580646f 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.

llvm-svn: 17449
2004-11-03 17:11:23 +00:00
Reid Spencer
acb1305e99 Internalize variable names to prevent recursive assignment. Cleanup docs.
llvm-svn: 17359
2004-10-30 09:19:36 +00:00
Reid Spencer
e49d49597d 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.

llvm-svn: 16182
2004-09-05 08:18:23 +00:00
John Criswell
28119e62f7 Add support for using the prcontext python script instead of grep -C.
llvm-svn: 15426
2004-08-02 22:29:38 +00:00
John Criswell
4fa1d309b2 Merged in RELEASE_12.
llvm-svn: 12532
2004-03-29 20:23:11 +00:00
Brian Gaeke
e4217e90ac Separate out target for cleaning up qmtest garbage.
llvm-svn: 10395
2003-12-11 04:48:38 +00:00
Brian Gaeke
8639bd254c Clean more qmtest files.
llvm-svn: 10125
2003-11-21 01:12:47 +00:00
Brian Gaeke
068882b92d Blow away compiled versions of qmtest classes on 'make clean'.
llvm-svn: 10119
2003-11-20 19:57:17 +00:00
John Criswell
955d719a7c We now support different expectations for different OS's/architectures.
llvm-svn: 10094
2003-11-19 21:13:25 +00:00
John Criswell
d3bf1a9768 Merged RELEASE_1.
llvm-svn: 9533
2003-10-27 17:46:42 +00:00
John Criswell
7e7d31640a Do not report errors if QMTest returns a non-zero value.
llvm-svn: 9404
2003-10-23 14:11:53 +00:00
Brian Gaeke
4fba6f8089 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.)

llvm-svn: 9044
2003-10-11 00:10:05 +00:00
John Criswell
4a244d487d Removed the AnalyzeTest class.
llvm-svn: 9041
2003-10-10 20:24:56 +00:00
John Criswell
446ab498a5 Make the clean target remove the QMTest temporary directory.
Remove QMTest python classes which are no longer used.

llvm-svn: 9040
2003-10-10 19:52:30 +00:00
John Criswell
73091106a1 Fixed the location of the expectations file.
Added the registration of the LLVM Database class.

llvm-svn: 8946
2003-10-07 21:30:07 +00:00
John Criswell
80a765254b 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.

llvm-svn: 8945
2003-10-07 21:13:47 +00:00