summaryrefslogtreecommitdiffstats
path: root/test/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Add EXTRA_OPTIONS on the llvmgxx command line.Devang Patel2008-04-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50217 91177308-0d34-0410-b5e6-96231b3b80d8
* Add EXTRA_OPTIONS on the llvmgcc command line.Devang Patel2008-04-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50216 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not pass -g flag when compiling tests, so remove the C.Flags. This only ↵Tanya Lattner2008-03-181-1/+1
| | | | | | happens if you have a debug build of llvm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48498 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a typoChris Lattner2008-03-101-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48133 91177308-0d34-0410-b5e6-96231b3b80d8
* unbreak check-oneGabor Greif2008-02-261-0/+1
| | | | | | | | by supplying a dummy "verbose" procedure git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47603 91177308-0d34-0410-b5e6-96231b3b80d8
* While hunting for two hanging tests,Gabor Greif2008-02-261-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | (on solaris10, which are: CodeGen/PowerPC/frounds.ll Transforms/InstCombine/2008-02-23-MulSub.ll) I needed a tool to figure out which one is the guilty. To this end I have added a verbosity option to the test/Makefile. It can be invoked thus: gmake check TESTSUITE=CodeGen/PowerPC VERBOSE="-v -v" (The number of "-v"s specifies the verbosity level. Instead of "-v" other aliases can be specified, please consult the dejagnu docs for info.) At level >= 2 following line is logged for each test, before running it: ABOUT TO RUN: <test>.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47602 91177308-0d34-0410-b5e6-96231b3b80d8
* remove attributions from the rest of the llvm makefiles.Chris Lattner2007-12-291-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45416 91177308-0d34-0410-b5e6-96231b3b80d8
* Add explicit --enable-bindings option to configure.Gordon Henriksen2007-10-021-3/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42526 91177308-0d34-0410-b5e6-96231b3b80d8
* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42090 ↵Gordon Henriksen2007-09-181-1/+12
| | | | 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1411:Reid Spencer2007-05-111-3/+3
| | | | | | | Don't try to use {} bracketing when setting a variable in site.exp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36985 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass the LLVMGCC_LANGS variable through to Tcl.Reid Spencer2007-04-211-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36321 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the TARGETS_TO_BUILD variable.Reid Spencer2007-04-211-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36313 91177308-0d34-0410-b5e6-96231b3b80d8
* Look for site.exp in the build directory, not the source directory.Duncan Sands2007-04-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36138 91177308-0d34-0410-b5e6-96231b3b80d8
* We don't need the path to be set for llvmgcc/llvmgxx any more.Reid Spencer2007-04-151-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36078 91177308-0d34-0410-b5e6-96231b3b80d8
* Echo command lines only if the user wants them.Reid Spencer2007-04-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36050 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new testing target: check-one. It is used like this:Reid Spencer2007-04-151-0/+19
| | | | | | | | | make check-one TESTONE=test/path/to/test.ll This runs a single check in exactly the same way that dejagnu runs it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36049 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the shlibext and llvmlibsdir variables accessible.Reid Spencer2007-04-121-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35939 91177308-0d34-0410-b5e6-96231b3b80d8
* Make new variables available: compile_c, compile_cxx, link to handle testsReid Spencer2007-04-111-1/+5
| | | | | | | | | that want to use LLVM's notion of compiling and linking programs. This includes all the -I -L and optimization switches that LLVM would using to compile or link any of this files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35920 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1196:Reid Spencer2007-02-111-2/+3
| | | | | | | | Prevent infinite loops and memory bombs by setting a ulimit on time and space for running the dejagnu tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34184 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a gxxcmd variable for the g++ command line used to build llvm.Reid Spencer2007-01-301-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33659 91177308-0d34-0410-b5e6-96231b3b80d8
* Regression is gone, don't try to find it on clean target.Reid Spencer2007-01-171-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33296 91177308-0d34-0410-b5e6-96231b3b80d8
* 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