Commit Graph

81 Commits

Author SHA1 Message Date
Reid Spencer
51e615f5dd Revert previous changes to remove -enable-linscan and the *BETA columns of
the nightly test. These are still needed for iterative linear scan testing.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18577 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 20:14:45 +00:00
Reid Spencer
2e4cdbfc5a Rather than break all the nightly test invocations, permit -enable-linscan
option to be specified, but do nothing with it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18575 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 18:33:54 +00:00
Reid Spencer
c537224c00 Remove LLC-BETA and linear scan options as they are no longer reported.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18574 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 18:29:14 +00:00
Reid Spencer
b8e825b1ad Print out something useful instead of a blank table when the external tests
are skipped by user option.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18501 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 22:18:28 +00:00
Tanya Lattner
59a86555a4 Run dejagnu by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18490 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 06:35:14 +00:00
Tanya Lattner
056ec06fee Removed QMTest functions. The nightly tester no longer runs qmtest. It now runs dejagnu by default and you must turn it off using -nodejagnu.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18489 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 06:25:50 +00:00
John Criswell
68fa3ccf14 Removed QMTests as I will be zapping them soon.
I've done some testing, and this seems to work, but if people who use
the nightly tester regularly could spot check these changes, I'd be
appreciative.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18464 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 21:56:30 +00:00
Reid Spencer
fdd10b18f2 Make sure the timing output is also sent to the log file for dejagnu, not
the log file of the NightlyTest.pl script.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18158 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-23 16:23:50 +00:00
Tanya Lattner
882b8cd493 Moved dejagnu log link to the template.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18111 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 18:36:12 +00:00
Tanya Lattner
f35bdc18f6 Changed to catch stderror of dejagnu and fixed missing quote.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18105 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-22 17:16:01 +00:00
Tanya Lattner
794dae5687 Made dejagnu option lower case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18075 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-21 00:10:12 +00:00
Tanya Lattner
5debe8c6db Added the ability to run Dejagnu tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18074 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-21 00:02:40 +00:00
Misha Brukman
2e9ac69f8b * Add support for f2c and the -f2c switch to enable Fortran benchmarks
* Remove spurious spaces between variable names and `=' (they're not lined up
  anyway and there's no hope of doing that)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17611 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-08 03:28:27 +00:00
Chris Lattner
36dc5c7344 Adjust to printing user+system times instead of wall times. Run the olden
numbers in 'stable' mode so that the numbers are more stable.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17525 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 21:35:40 +00:00
Brian Gaeke
90c82b9322 Touch output files before reading or writing them, so that they are
always guaranteed to exist. This fixes PR444. Thanks to Alkis
for reporting the bug and testing the patch.
AddRecord used to return a big list, but that return value was never
used. So now it doesn't return anything.
Create the WebDir if it does not exist.
Fix a typo in a comment.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16541 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-28 16:04:00 +00:00
Reid Spencer
e993f46de9 Modify the lines of code counting mechanism to use the new "countloc.sh"
utility. This avoids some problems with long line lengths and counting the
wrong things.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16200 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-06 19:32:55 +00:00
Reid Spencer
214c6d64b1 Remove double paren use in system() function so that the command line can
be correctly interpreted by non-bash shells.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16194 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-05 20:57:22 +00:00
Reid Spencer
10ffe0134d Make the NightlyTest run tests out of projects/llvm-test instead of
llvm/test/Programs


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16181 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-05 07:58:10 +00:00
Brian Gaeke
047e606146 Split out -disable-codegen into -disable-llc and -disable-jit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15530 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 19:54:59 +00:00
Chris Lattner
fe2597a55c Fix the nightly tester to default to using gnuplot in /usr/bin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15287 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-27 18:41:49 +00:00
Chris Lattner
892cdb3b3a Ugh, the upgrade of zion brought in GCC 3.3.2, our arch nemesis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15269 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-27 08:29:06 +00:00
Brian Gaeke
2280098594 Don't try to run qmtests if we fail to build the tree. The qmtests (at
least, on macosx) will spiral out of control instead of failing gracefully.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14396 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-25 07:25:28 +00:00
Reid Spencer
c5b6705f04 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14346 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 14:07:12 +00:00
Reid Spencer
1d914635f9 Added a -noexternals options to avoid performing the externals tests on
test environments that don't have Povray or SPEC.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14345 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 07:45:46 +00:00
Reid Spencer
a337f0c43d 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14344 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 06:36:34 +00:00
Reid Spencer
cb6a3aa367 - 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14321 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 15:38:37 +00:00
Brian Gaeke
253231eb39 Don't trim @PrevDays (causing an error) if it isn't long enough.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14156 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-11 19:55:30 +00:00
Reid Spencer
f6d023312f 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14153 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-11 07:06:22 +00:00
Brian Gaeke
43f38677f5 Allow dates with slashes in them in $DateRE.
Don't match on $Filename (which will be unset) if we hit 'UNMATCHABLE:'.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14112 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-10 07:44:28 +00:00
Reid Spencer
f5d0af3916 * 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14067 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-08 08:01:33 +00:00
Brian Gaeke
8566854f61 Honor DISABLE_CBE, etc., even when doing the "running tests" (i.e., Olden)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14004 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-04 00:07:12 +00:00
Brian Gaeke
1770e2cf01 Allow script to set configure args.
Allow environment to set llvmgccdir.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13994 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 21:46:56 +00:00
Chris Lattner
20d13ea5f6 Add -disable-codegen option to disable LLC and JIT targets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13978 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 03:29:39 +00:00
Reid Spencer
aa0bfbe3d1 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13912 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-31 20:59:55 +00:00
Reid Spencer
542e859216 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 :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13901 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-30 00:17:47 +00:00
Chris Lattner
4d00fde838 Changes to make the nightly tester run the regression tests at night, yaay!
Change contributed by Reid Spencer.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13882 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-28 20:30:23 +00:00
Chris Lattner
d56147dc72 Eliminate annoying warnings from the tester, hopefully for real this time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10777 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-12 16:55:30 +00:00
Chris Lattner
be39e43d33 Fix annoying warnings. W doesn't have a revision number
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10736 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-09 18:39:04 +00:00
Alkis Evlogimenos
2e142f589b Change perl interpreter path to the standard /usr/bin/perl.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10708 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-07 01:48:26 +00:00
Chris Lattner
370e809107 Eliminate a spurious warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10540 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-19 19:48:43 +00:00
Chris Lattner
bb0aca5917 If -enable-linscan is specified, add ENABLE_LINEARSCAN=1 to the make commandline
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10527 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-19 03:47:31 +00:00
Brian Gaeke
ac5d96b4e3 This may fix the "0 dirs" stuff we get in the nightly tests when they are
checking out over remote cvs connections.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10278 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-01 05:31:12 +00:00
Chris Lattner
3e457f7b20 I'm tired of the nightly tester stopping, aren't you?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9544 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 18:37:24 +00:00
Chris Lattner
91480ffbe2 Add more space!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9330 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 15:47:31 +00:00
Chris Lattner
be197877cf DeHTMLify the email so that it only gets sent out if something changes.
Add printouts about failed building and testing.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9253 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-19 16:54:00 +00:00
Chris Lattner
9efd7f4f1b Print stuff to stdout if something changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9235 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-18 19:31:39 +00:00
Chris Lattner
9d13efa5cf Fix bug in script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9110 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-14 01:22:08 +00:00
Misha Brukman
d12fa6c104 LLVM CVS repository has moved.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9099 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-13 20:28:48 +00:00
Brian Gaeke
b3dab903c5 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9046 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-11 05:34:00 +00:00
Chris Lattner
ccee296049 Fix bug in previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8694 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-23 22:02:01 +00:00