Commit Graph

80 Commits

Author SHA1 Message Date
Evan Cheng 9e0216deab Added -test-opts to specify test options.
llvm-svn: 43971
2007-11-10 01:33:27 +00:00
Tanya Lattner cf316c2eb7 If the user did not check out LLVM and request it to be built, it should be a build error. This relies on the user having a successful build of LLVM, but the tests will fail if they dont.
llvm-svn: 42514
2007-10-02 00:19:27 +00:00
Reid Spencer df2e2037bd Remove the last vestiges of -usesvn.
Implement -usecvs just in case we need to go back to cvs for some reason.

llvm-svn: 37837
2007-07-02 06:19:57 +00:00
Reid Spencer 4bc337631c We want the Subversion checkout to succeed even if we don't specify
the -verbose option! Doh!

llvm-svn: 37836
2007-07-02 06:16:32 +00:00
John Criswell 98674c1a7c Applied Reid's patch. Long live Subversion!
llvm-svn: 37812
2007-06-29 19:12:50 +00:00
Reid Spencer 943cc0c553 Fix problems with the checkout and cd directories for SVN checkout.
llvm-svn: 37797
2007-06-29 03:12:42 +00:00
Reid Spencer ab13721e83 Update for Subversion conversion:
1. Fix comments for -usesvn and -svnurl options.
2. Fix default URL for SVN access.
3. Fix paths to accommodate "trunk" when checking out from SVN.

llvm-svn: 37736
2007-06-26 17:08:16 +00:00
Evan Cheng bc5c15276b Remove duplicated line.
llvm-svn: 37040
2007-05-14 18:03:45 +00:00
Lauro Ramos Venancio 0974db9111 Make my proxy happy.
llvm-svn: 36665
2007-05-03 14:05:07 +00:00
Tanya Lattner c821a9ac44 Adding target triplet to be passed to database.
llvm-svn: 35958
2007-04-13 04:36:48 +00:00
Jeff Cohen ba1c0cd4e9 Correctly report version of GCC used.
llvm-svn: 35866
2007-04-10 19:13:43 +00:00
Reid Spencer beeeeb1428 Terminate some lines that need to be.
llvm-svn: 35725
2007-04-07 05:20:07 +00:00
Reid Spencer 203524fe05 Reinstate the SVN capability without requiring Date::Parse. As before the
SVN Repository is only used if requested with -usesvn option otherwise it
uses CVS.

llvm-svn: 35721
2007-04-07 04:41:16 +00:00
Reid Spencer 12e2843475 Revert this until the Date::Parse module can be installed on the nightly
testers.

llvm-svn: 35657
2007-04-04 06:59:36 +00:00
Reid Spencer d0b2dbfa03 Prepare for Subversion migration by implementing a -usesvn to tell the
script to to check out llvm and llvm-test from Subversion instead of CVS.
Without this option the script will continue to check out from CVS. To
specify the Subversion URL, set the SVNURL environment variable or pass
-svnurl followed by the URL. For now, -svnurl will default to Reid's
temporary (read-only, daily snapshot) SVN server. Try it out if you like!

llvm-svn: 35621
2007-04-03 08:28:44 +00:00
Reid Spencer 17782030cf Add an option to enable lli (interpreter mode) testing.
llvm-svn: 31899
2006-11-24 20:34:16 +00:00
Reid Spencer ebd21a425a 80 cols fix.
llvm-svn: 31050
2006-10-19 15:24:04 +00:00
Jim Laskey 05a1947a31 Wrong directory.
llvm-svn: 30669
2006-09-29 17:31:45 +00:00
Jim Laskey 8f1510cfd3 Fix search file for -release.
llvm-svn: 30647
2006-09-28 18:45:11 +00:00
Jim Laskey 68722b7e08 Add support for -release-asserts.
llvm-svn: 30646
2006-09-28 17:49:20 +00:00
Jim Laskey fbeab72759 Trim the home directory from the dejagnu test
llvm-svn: 30519
2006-09-20 09:20:22 +00:00
Jim Laskey ee7929db34 Switching to NewNightlyTest.php
llvm-svn: 30394
2006-09-15 17:03:36 +00:00
Evan Cheng 9b675bd769 Issue cvs co with -P option to prune empty directories. Remove the unnecessary
update stage.

llvm-svn: 29955
2006-08-29 18:01:18 +00:00
Patrick Jenkins 06725191ab Corrected an error that was introduced yesterday that caused the GCC
version to be left blank if the build failed.

Also corrected a problem where if the build failed the nightly tester
would still try to read the results of the Dejagnutests log even
though it didnt exist.

llvm-svn: 29829
2006-08-22 18:11:19 +00:00
Patrick Jenkins 235abe4ce8 The new nightly tester should stop outputing a message stating the
testresults directory is not present unless the script is run as verbose.

llvm-svn: 29797
2006-08-21 20:45:57 +00:00
Patrick Jenkins deb77ee8eb These changes reflect the changes in the database for how tests are stored
and bring the handing of dejagnu tests into compliance with this new scheme.

llvm-svn: 29772
2006-08-18 18:00:21 +00:00
Patrick Jenkins d515016982 Changing the format dejagnu tests are submitted. We used to only submit multisource information for pass fail. Now we submit all pass/fail test information. This should fix the issue where some results were not being reported.
llvm-svn: 29757
2006-08-17 22:11:03 +00:00
Patrick Jenkins 0cead44fb1 My last commit added some experimental features I have been working on. This commit rolls those back.
llvm-svn: 29738
2006-08-16 22:32:20 +00:00
Patrick Jenkins 2bc1934fb1 Changed the call to countloc.sh so that the correct topdirectory of the llvm build is set.
llvm-svn: 29736
2006-08-16 22:18:41 +00:00
Reid Spencer 235c1555c3 Make all tools that use llvmdo have a -topdir option that allows the top
source dir for LLVM to be specified explicitly. This removes the dependency
on the llvm-config script. If the option is not given, then the scripts use
llvm-config which should be both built and in the PATH. This arrangement
provides a useful default for most developers but also allows the nightly
tester to execute countloc.sh before llvm-config is built and without
altering the PATH.

llvm-svn: 29663
2006-08-14 18:49:05 +00:00
Patrick Jenkins d531b509cc Added some comments to clarify code around sub TestDirectory
llvm-svn: 29658
2006-08-14 16:07:14 +00:00
Reid Spencer 558269c8d6 Changes for LLVM coding standard compliance:
1. Remove tabs
  2. Wrap to 80 columns
  3. Put spaces between "if" or "elsif" and expression
  4. Put { on same line as if statement.
  5. Make indentation be 2 spaces.
Functionality change:
  Run utils/countloc.sh after the build is done. This is necessary because
  that script now uses llvm-config to find the top src directory.

llvm-svn: 29651
2006-08-13 09:53:02 +00:00
Patrick Jenkins e97e60734a Added two flags (-submit-server and -submit-script) which allow the user to specify where the test results are submitted too. If these are not specified they default to the LLVM.org server.
llvm-svn: 29633
2006-08-11 23:02:09 +00:00
Evan Cheng e40c7853da Merge some NightlyTest.pl changes.
llvm-svn: 29579
2006-08-09 05:45:12 +00:00
Patrick Jenkins da2ace7117 Removed unneccesary output from nightly tester
llvm-svn: 29565
2006-08-08 02:03:53 +00:00
Patrick Jenkins 814928fb32 Reinstated the sending of a list of all dejagnutests run. Also fixed a rather embarresing error introduced during version 1.41 where i commented out the actual sending of the data to the results server.
llvm-svn: 29538
2006-08-07 01:54:37 +00:00
Patrick Jenkins f6f9f6509e no longer sending the list of all dejagnu tests because it is too big at the present time
llvm-svn: 29537
2006-08-06 21:47:43 +00:00
Patrick Jenkins 9ecfdd4185 Changed a = to a .= so we now append tests we have performed to the master list of all tests instead of assigning it as the master list.
llvm-svn: 29531
2006-08-04 21:42:58 +00:00
Patrick Jenkins 681f7f80a4 Made some more changes to the print statements in the nightly tester. The last commit was a preemptive strike.
llvm-svn: 29526
2006-08-04 17:55:01 +00:00
Patrick Jenkins 19685f14eb Encapsulated all of the print statements in "if( $VERBOSE) { }". The testing script will be absoutely silent now except for errors, which will still be printed to the annoyance of the user.
llvm-svn: 29525
2006-08-04 17:53:27 +00:00
Patrick Jenkins 8c2b8f3b0b We should now send the correct list of dejagnu tests instead of the csv file of test results when we submit results back to the nightly tester.
llvm-svn: 29523
2006-08-04 17:40:54 +00:00
Patrick Jenkins e6fde69b58 One of the directories we were searching in for .o and .a files was wrong. We now search /lib instead of /libs.
llvm-svn: 29496
2006-08-03 16:28:58 +00:00
Patrick Jenkins f6465d8926 We now only search the following directories for .o and .a files:
utils/
libs/
tools/
Release/ & Debug/
as per Chris.

llvm-svn: 29488
2006-08-02 23:48:07 +00:00
Patrick Jenkins 942f217d99 Removed some dead code and hopefully fixed the issue where the total list of tests was not being sent
llvm-svn: 29476
2006-08-02 18:37:40 +00:00
Andrew Lenharth e3cbd4b9f9 fix externals
llvm-svn: 29409
2006-07-29 04:27:34 +00:00
Patrick Jenkins 2618c61f47 Removed some unneccesary printing from the nightly tester.
llvm-svn: 29377
2006-07-28 01:06:18 +00:00
Patrick Jenkins 77c08a42ab Removed some unneccesary print statemnts
llvm-svn: 29362
2006-07-27 21:01:39 +00:00
Patrick Jenkins 5afcc63123 ChangeDir now returns the correct value
llvm-svn: 29361
2006-07-27 20:21:26 +00:00
Patrick Jenkins 2cac74f4cb Fixed a stupid error where changedir returned false upon success.
llvm-svn: 29357
2006-07-27 19:22:06 +00:00
Patrick Jenkins 80ae7ab8f5 Added more descriptive output to singlesource,multisource tests.
llvm-svn: 29353
2006-07-27 19:00:01 +00:00