summaryrefslogtreecommitdiff
path: root/test/lib
Commit message (Collapse)AuthorAge
...
* Allow lines that have \ and end in \ to be recognized as ending in \Reid Spencer2007-04-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36074 91177308-0d34-0410-b5e6-96231b3b80d8
* Two improvements:Reid Spencer2007-04-15
| | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36071 91177308-0d34-0410-b5e6-96231b3b80d8
* No, don't cancel all remaining tests, just the one that failed!Reid Spencer2007-04-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36057 91177308-0d34-0410-b5e6-96231b3b80d8
* Abandone the entire test case on the first error.Reid Spencer2007-04-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36056 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow replacement of %% with %Reid Spencer2007-04-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36044 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to fix problems with "make check". Apparently you can redefineReid Spencer2007-04-14
| | | | | | | | functions and Tcl's just tickled with that. The fix is to give the "new" test system a different interface function name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36022 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1319:Reid Spencer2007-04-14
| | | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36010 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Don't generate redundant copy of stderrReid Spencer2007-04-14
| | | | | | | 2. Only match \ at the *end* of a line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36007 91177308-0d34-0410-b5e6-96231b3b80d8
* Print full errorInfo when a failure occurs.Reid Spencer2007-04-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35999 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the line number where the script failed to the error output.Reid Spencer2007-04-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35994 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial version of a re-write of llvm-runtest that doesn't write theReid Spencer2007-04-14
| | | | | | | | tests to a script file but executes each line individually and catches errors on each line too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35986 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the shlibext and llvmlibsdir variables accessible.Reid Spencer2007-04-12
| | | | 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-11
| | | | | | | | | 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
* Make the llvm-runtest function much more amenable by eliminating all theReid Spencer2007-04-11
| | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35918 91177308-0d34-0410-b5e6-96231b3b80d8
* Update the way llvm2cpp tests are done:Reid Spencer2007-04-11
| | | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35914 91177308-0d34-0410-b5e6-96231b3b80d8
* No, libLLVMbzip2 does not have a .a suffix.Reid Spencer2006-06-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28624 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix gcc command line options after LLVMCore and LLVMbzip2 became archiveReid Spencer2006-06-01
| | | | | | | libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28623 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. No need to thwart this test with an environment variable. Turning it offReid Spencer2006-05-30
| | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28576 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug with diffing the wrong files. Make output more readable.Reid Spencer2006-05-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28542 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a problem where dejagnu won't accept the value of global tcl variableReid Spencer2006-05-28
| | | | | | | "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-28
| | | | | | | | | 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
* Improve error output. Use the third parameter of the "catch" command toReid Spencer2006-05-18
| | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28385 91177308-0d34-0410-b5e6-96231b3b80d8
* Added the ability to xfail based on llvmgcc versionTanya Lattner2006-04-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27635 91177308-0d34-0410-b5e6-96231b3b80d8
* Automatically pass -emit-llvm to llvmgcc when using %llvmgccChris Lattner2006-03-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26623 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding timeout for a test.Tanya Lattner2004-11-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18372 91177308-0d34-0410-b5e6-96231b3b80d8
* Forgot to join srcdir and subdir for complete path for input files.Tanya Lattner2004-11-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18022 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding srcdir arg. Added ability to specify the path to an input file. This ↵Tanya Lattner2004-11-19
| | | | | | is needed for when srcdir != objdir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18021 91177308-0d34-0410-b5e6-96231b3b80d8
* setting path to prcontext.tcl script. Right now it searches for tclsh in ↵Tanya Lattner2004-11-13
| | | | | | 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
* Run prcontext.tcl with tclsh and let it be found in the path. This should be ↵Tanya Lattner2004-11-13
| | | | | | found by configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17713 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed to use tcl script.Tanya Lattner2004-11-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17711 91177308-0d34-0410-b5e6-96231b3b80d8
* Now using path to python found by configure.Tanya Lattner2004-11-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17610 91177308-0d34-0410-b5e6-96231b3b80d8
* More srcdir != objdir changes.Tanya Lattner2004-11-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17596 91177308-0d34-0410-b5e6-96231b3b80d8
* Made changes to support objdir!=srcdir.Tanya Lattner2004-11-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17590 91177308-0d34-0410-b5e6-96231b3b80d8
* With the changes to these files, the Regression test suite should be tested ↵Tanya Lattner2004-11-07
| | | | | | | | | by dejagnu without anyproblem. Some variables could be made global. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17557 91177308-0d34-0410-b5e6-96231b3b80d8
* First crack at support to run tests using dejagnu. This file contains a ↵Tanya Lattner2004-11-06
procedure to run a test like TestRunner.sh does. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17521 91177308-0d34-0410-b5e6-96231b3b80d8