Commit Graph

59 Commits

Author SHA1 Message Date
Reid Spencer 250b03184a Move the tests for readability of the template and gnuplot files so they
occur AFTER the source is checked out. This ensures that if either of the
-gnuplotscript or -templatefile options are not given, that they get picked
up from the checkout directory and don't abort the test unnecessarily.

llvm-svn: 14346
2004-06-23 14:07:12 +00:00
Reid Spencer 2e44d8748c Added a -noexternals options to avoid performing the externals tests on
test environments that don't have Povray or SPEC.

llvm-svn: 14345
2004-06-23 07:45:46 +00:00
Reid Spencer 64889c65e5 Make sure GetRegEx returns something gnuplot can deal with (a number, not
a ?) so that graphs don't bail if something fails in a test.

llvm-svn: 14344
2004-06-23 06:36:34 +00:00
Reid Spencer 7b27d08aa9 - Added the -nice option for nicing the build processes.
- Added the -gnuplotscript option to specify the GnuPlot script to use.
- Added the -templatefile option to specify the HTML template to use.
- Moved subroutines to top of file.
- Used variables for file names in case we want to change to directories.
- Made program track its directory changes in $VERBOSE mode (for debugging)
- Added variables to support tracking start time, finish time, and platform
  details about each nightly test.

llvm-svn: 14321
2004-06-22 15:38:37 +00:00
Brian Gaeke 787ed2f377 Don't trim @PrevDays (causing an error) if it isn't long enough.
llvm-svn: 14156
2004-06-11 19:55:30 +00:00
Reid Spencer 80ae844ea8 Add two options to the program:
-release causes ENABLE_OPTIMIZED=1 to be added to the make line so that
         the test runs against optimized code.
-pedantic causes the CompileOptimizeOpts variable to be overridden to
          add several additional warnings not picked up by -Wall. This
	  should help catch additional programming faux pas. See the diff
	  for the specific details.

llvm-svn: 14153
2004-06-11 07:06:22 +00:00
Brian Gaeke 966938cff2 Allow dates with slashes in them in $DateRE.
Don't match on $Filename (which will be unset) if we hit 'UNMATCHABLE:'.

llvm-svn: 14112
2004-06-10 07:44:28 +00:00
Reid Spencer 7d4b814e86 * Fix indentation of Regression Test Results by making sure the
GetQMTestResults function closes all its open tags.
* Cause XFAIL results to not be reported at all except in the stats.

llvm-svn: 14067
2004-06-08 08:01:33 +00:00
Brian Gaeke 2948d2e724 Honor DISABLE_CBE, etc., even when doing the "running tests" (i.e., Olden)
llvm-svn: 14004
2004-06-04 00:07:12 +00:00
Brian Gaeke 0a71673115 Allow script to set configure args.
Allow environment to set llvmgccdir.

llvm-svn: 13994
2004-06-03 21:46:56 +00:00
Chris Lattner 1c0a0e2e36 Add -disable-codegen option to disable LLC and JIT targets
llvm-svn: 13978
2004-06-03 03:29:39 +00:00
Reid Spencer 8ac57711b0 Clean up the Feature and Regression test output to (a) use section headers,
(b) avoid <pre> tag so page width doesn't become excessive, (c) omit the
execution time stats, (d) format each reported test in a list with bold
headings for readability, (e) omit long lines of dashes.

llvm-svn: 13912
2004-05-31 20:59:55 +00:00
Reid Spencer 3b4302290d Make the Regression/Feature test support excise all ": PASS" lines that
indicate successful tests. We're really only interested in the bad news
in this output :)

llvm-svn: 13901
2004-05-30 00:17:47 +00:00
Chris Lattner a9e9d2cbcf Changes to make the nightly tester run the regression tests at night, yaay!
Change contributed by Reid Spencer.

llvm-svn: 13882
2004-05-28 20:30:23 +00:00
Chris Lattner 4bb9bc3a65 Eliminate annoying warnings from the tester, hopefully for real this time.
llvm-svn: 10777
2004-01-12 16:55:30 +00:00
Chris Lattner 68fbab0ee8 Fix annoying warnings. W doesn't have a revision number
llvm-svn: 10736
2004-01-09 18:39:04 +00:00
Alkis Evlogimenos 8b9d36e30c Change perl interpreter path to the standard /usr/bin/perl.
llvm-svn: 10708
2004-01-07 01:48:26 +00:00
Chris Lattner 80a4508614 Eliminate a spurious warning
llvm-svn: 10540
2003-12-19 19:48:43 +00:00
Chris Lattner 8f668f26a6 If -enable-linscan is specified, add ENABLE_LINEARSCAN=1 to the make commandline
llvm-svn: 10527
2003-12-19 03:47:31 +00:00
Brian Gaeke fed9ed96a4 This may fix the "0 dirs" stuff we get in the nightly tests when they are
checking out over remote cvs connections.

llvm-svn: 10278
2003-12-01 05:31:12 +00:00
Chris Lattner d09f339bed I'm tired of the nightly tester stopping, aren't you?
llvm-svn: 9544
2003-10-28 18:37:24 +00:00
Chris Lattner 518f3fd74f Add more space!
llvm-svn: 9330
2003-10-21 15:47:31 +00:00
Chris Lattner eb9d2155f3 DeHTMLify the email so that it only gets sent out if something changes.
Add printouts about failed building and testing.

llvm-svn: 9253
2003-10-19 16:54:00 +00:00
Chris Lattner 83ec9454c9 Print stuff to stdout if something changes.
llvm-svn: 9235
2003-10-18 19:31:39 +00:00
Chris Lattner 4b9c23a19d Fix bug in script
llvm-svn: 9110
2003-10-14 01:22:08 +00:00
Misha Brukman 292964c663 LLVM CVS repository has moved.
llvm-svn: 9099
2003-10-13 20:28:48 +00:00
Brian Gaeke 91d16b3b3f Greatly expand documentation comment at head of file... I had to
try to understand it; maybe this will help someone else do so too.
Default CVSRootDir to $CVSROOT first, then the path in ~vadve only if $CVSROOT
 was not set.
Checkout with -z3 if we might be checking out over ssh/rsh.
Check the filename of gnuplot to see if it is executable; if not, as a
 last resort, try just plain "gnuplot", hoping it is in the path somewhere.
Remove a little extra whitespace.

llvm-svn: 9046
2003-10-11 05:34:00 +00:00
Chris Lattner 8560a069f8 Fix bug in previous checkin
llvm-svn: 8694
2003-09-23 22:02:01 +00:00
Chris Lattner d7e18989cd Make it detect failed builds better
llvm-svn: 8690
2003-09-23 20:33:04 +00:00
Chris Lattner 9aa8598450 Fix the nightly tester now that olden has been moved
llvm-svn: 8508
2003-09-14 06:00:49 +00:00
Misha Brukman 71a1ba6a68 Make build errors stand out by coloring them red.
llvm-svn: 8017
2003-08-21 20:22:52 +00:00
Chris Lattner ed51e6858c Start testing SPEC as well as singlesource/multisource
llvm-svn: 8005
2003-08-21 15:55:26 +00:00
Chris Lattner 42fee012b0 Catch testing errors
llvm-svn: 7981
2003-08-20 15:44:33 +00:00
Chris Lattner 05c8f64b81 Fix bugs in tester
Add new -norunningtests option

llvm-svn: 7972
2003-08-19 18:35:03 +00:00
Chris Lattner d1fc00d4b0 Do not force a runtimelimit! We were actually reducing it.
Start running LARGE_PROBLEM_SIZE tests on Olden, keeping track of the results.

llvm-svn: 7969
2003-08-19 15:08:34 +00:00
Chris Lattner 3c81d9ac54 Add the magic incantations to get a running LOC graph updated each night...
llvm-svn: 7957
2003-08-18 20:07:54 +00:00
Chris Lattner 71f6543c0e Wrap line at 80 columns
Fix bogus failures

llvm-svn: 7947
2003-08-18 15:11:13 +00:00
Chris Lattner 688d99fd9c Fix minor bugs in the tester
llvm-svn: 7943
2003-08-18 14:07:03 +00:00
Chris Lattner f5ba14b58a * Split the programs table into MultiSource and SingleSource components
* Instead of printing the time to configure as the build time, print the
  time to configure AND the build time, explicitly

llvm-svn: 7942
2003-08-18 06:05:21 +00:00
Chris Lattner 61b05eaeec Make the check for a failed test run more robust!!
llvm-svn: 7924
2003-08-17 20:52:05 +00:00
Misha Brukman 2b6d3384ce * Enable SPEC testing in the `configure' script command line
* Switched from using `m||' to `m##' because VIM mis-highlights `m||'
* Simplified the regex getting the file version number

llvm-svn: 7842
2003-08-14 15:26:28 +00:00
Chris Lattner bade93cde8 Sort the file lists
llvm-svn: 7638
2003-08-06 16:02:50 +00:00
Chris Lattner 121a128d40 Forget about KEEP_SYMBOLS, make sure to build into the temp directory, not into localhome
llvm-svn: 7450
2003-07-31 16:05:11 +00:00
Misha Brukman 6aa98680fb * Made $Template refer to a path relative to the checked-out tree
* Made error messages print out what directory failed chdir()
* Put quotes around search arguments to grep
* Use `egrep' instead of `grep -e' because they are equivalent but `grep' does
  not have the `-e' option on Sparc/Solaris
* Added `--enable-jit' to the ./configure command because both X86 and Sparc
  have JITs and we want them to be tested
* Fixed the regular expressions parsing the changes in CVS which were causing
  the script to die

llvm-svn: 7118
2003-07-07 21:27:40 +00:00
Chris Lattner f5410e8237 Update to configure the tree before building it.
llvm-svn: 7026
2003-07-01 16:02:00 +00:00
Chris Lattner 5a42f1b49e Modify script to support checkins on branches
llvm-svn: 6921
2003-06-26 20:11:07 +00:00
Chris Lattner a436926e24 Fix breakage due to John's recent changes
llvm-svn: 6771
2003-06-18 18:26:22 +00:00
Chris Lattner 0a55e462a7 Fix a halfway done change to the nightly tester :(
llvm-svn: 6084
2003-05-11 15:23:10 +00:00
Chris Lattner c09c0b9623 Get the nightly tester to detect other kind of testing problems
llvm-svn: 6083
2003-05-10 21:40:10 +00:00
Chris Lattner 57eed20469 Force overwriting the file if it already exists.
llvm-svn: 6080
2003-05-10 21:19:00 +00:00