summaryrefslogtreecommitdiffstats
path: root/llvm/test/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Enable Objective-C tests.Devang Patel2007-04-201-0/+14
| | | | llvm-svn: 36281
* Spelling fix.Duncan Sands2007-04-161-1/+1
| | | | llvm-svn: 36165
* Change ne into !=.Duncan Sands2007-04-161-1/+1
| | | | llvm-svn: 36135
* Two changes:Reid Spencer2007-04-151-2/+2
| | | | | | | | | | 1. Don't bother truncating reading of the file. It doesn't save that much time and we should support putting RUN lines anywhere in the file. For example, someone might want to put the grep match before each function in the test file which would sprinkle the RUN: lines throughout the file. 2. Fix a bug with llvmgcc version match .. global var wasn't declared as such llvm-svn: 36085
* Some tests have really long RUN line sets. Read the first 4096 bytes insteadReid Spencer2007-04-151-1/+1
| | | | | | of 1024. llvm-svn: 36083
* Allow lines that have \ and end in \ to be recognized as ending in \Reid Spencer2007-04-151-1/+1
| | | | llvm-svn: 36074
* Two improvements:Reid Spencer2007-04-151-2/+2
| | | | | | | | | 1. Only read the first 1024 bytes of the file. The RUN: lines should all be within that amount of space. This keeps I/O costs down when reading very large files. 2. Print PR numbers with a PR prefix so it is clear what they are. llvm-svn: 36071
* No, don't cancel all remaining tests, just the one that failed!Reid Spencer2007-04-151-1/+1
| | | | llvm-svn: 36057
* Abandone the entire test case on the first error.Reid Spencer2007-04-151-4/+7
| | | | llvm-svn: 36056
* Allow replacement of %% with %Reid Spencer2007-04-151-0/+2
| | | | llvm-svn: 36044
* Changes to fix problems with "make check". Apparently you can redefineReid Spencer2007-04-141-3/+5
| | | | | | | functions and Tcl's just tickled with that. The fix is to give the "new" test system a different interface function name. llvm-svn: 36022
* For PR1319:Reid Spencer2007-04-141-6/+27
| | | | | | | | | | | | More improvements: 1. Using ::errorInfo wasn't such a hot idea. Go back to just printing the offending line of code and the stderr output. This is sufficient and not entangled with Tcl goop. 2. Capture the problem report numbers and report them whether pass or fail. This helps quickly get some context when a test fails, if it has an associated PR number. llvm-svn: 36010
* 1. Don't generate redundant copy of stderrReid Spencer2007-04-141-2/+2
| | | | | | 2. Only match \ at the *end* of a line. llvm-svn: 36007
* Print full errorInfo when a failure occurs.Reid Spencer2007-04-141-1/+1
| | | | llvm-svn: 35999
* Add the line number where the script failed to the error output.Reid Spencer2007-04-141-4/+6
| | | | llvm-svn: 35994
* Initial version of a re-write of llvm-runtest that doesn't write theReid Spencer2007-04-141-0/+159
| | | | | | | tests to a script file but executes each line individually and catches errors on each line too. llvm-svn: 35986
* Make the shlibext and llvmlibsdir variables accessible.Reid Spencer2007-04-121-1/+5
| | | | llvm-svn: 35939
* Make new variables available: compile_c, compile_cxx, link to handle testsReid Spencer2007-04-111-20/+16
| | | | | | | | 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. llvm-svn: 35920
* Make the llvm-runtest function much more amenable by eliminating all theReid Spencer2007-04-111-4/+9
| | | | | | | | global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. llvm-svn: 35918
* Update the way llvm2cpp tests are done:Reid Spencer2007-04-111-7/+39
| | | | | | | | | | | | 1. Make sure bytecode/assembly inputs are always redirected stdin so that the module name is <stdin>. This helps not get false negatives when the diff is done. 2. Scan the test file to determine if llvm-upgrade needs to be run. 3. Avoid running testings that are XFAIL'd because they'll cause a failure when run for llvm2cpp. 4. Get some better error message output. llvm-svn: 35914
* No, libLLVMbzip2 does not have a .a suffix.Reid Spencer2006-06-011-1/+1
| | | | llvm-svn: 28624
* Fix gcc command line options after LLVMCore and LLVMbzip2 became archiveReid Spencer2006-06-011-1/+1
| | | | | | libraries. llvm-svn: 28623
* 1. No need to thwart this test with an environment variable. Turning it offReid Spencer2006-05-301-57/+60
| | | | | | | | is the default and handled by the makefile system and runtest 2. Redirect stderr of llvm-as and llvm2cpp so that warning messages about instrinsics don't cause Tcl to report the run as failed. llvm-svn: 28576
* Fix a bug with diffing the wrong files. Make output more readable.Reid Spencer2006-05-291-7/+7
| | | | llvm-svn: 28542
* Fix a problem where dejagnu won't accept the value of global tcl variableReid Spencer2006-05-281-6/+5
| | | | | | "libdir" for some reason. Changing to llvmlibsdir instead fixes it. llvm-svn: 28526
* Provide an infrastructure for testing the llvm2cpp program (yet to beReid Spencer2006-05-281-0/+79
| | | | | | | | 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
* Improve error output. Use the third parameter of the "catch" command toReid Spencer2006-05-181-3/+3
| | | | | | | | | capture the error output from the exec option. This generally will capture the stderr messages generated by the tools. This information is then printed if the test fails. This helps to recognize more quickly what the error was. Otherwise, this information is lost. llvm-svn: 28385
* Added the ability to xfail based on llvmgcc versionTanya Lattner2006-04-121-2/+6
| | | | llvm-svn: 27635
* Automatically pass -emit-llvm to llvmgcc when using %llvmgccChris Lattner2006-03-081-2/+2
| | | | llvm-svn: 26623
* Adding timeout for a test.Tanya Lattner2004-11-301-0/+2
| | | | llvm-svn: 18372
* Forgot to join srcdir and subdir for complete path for input files.Tanya Lattner2004-11-191-1/+1
| | | | llvm-svn: 18022
* Adding srcdir arg. Added ability to specify the path to an input file. This ↵Tanya Lattner2004-11-191-5/+10
| | | | | | is needed for when srcdir != objdir. llvm-svn: 18021
* 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. llvm-svn: 17720
* Run prcontext.tcl with tclsh and let it be found in the path. This should be ↵Tanya Lattner2004-11-131-1/+1
| | | | | | found by configure. llvm-svn: 17713
* Changed to use tcl script.Tanya Lattner2004-11-131-2/+2
| | | | llvm-svn: 17711
* Now using path to python found by configure.Tanya Lattner2004-11-081-1/+1
| | | | llvm-svn: 17610
* More srcdir != objdir changes.Tanya Lattner2004-11-071-1/+6
| | | | llvm-svn: 17596
* Made changes to support objdir!=srcdir.Tanya Lattner2004-11-071-4/+6
| | | | llvm-svn: 17590
* With the changes to these files, the Regression test suite should be tested ↵Tanya Lattner2004-11-071-3/+13
| | | | | | | | by dejagnu without anyproblem. Some variables could be made global. llvm-svn: 17557
* First crack at support to run tests using dejagnu. This file contains a ↵Tanya Lattner2004-11-061-0/+103
procedure to run a test like TestRunner.sh does. llvm-svn: 17521
OpenPOWER on IntegriCloud