llvm.org GIT mirror llvm / 1628665
docs/TestingGuide: Rip out description of old nightly tester infrastructure. The official recommendation is to use LNT instead. I will write docs on setting up an LNT installation for submission to llvm.org, one day. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110004 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 9 years ago
1 changed file(s) with 0 addition(s) and 61 deletion(s). Raw diff Collapse all Expand all
4242
  • Writing custom tests for llvm-test
  • 4343
    4444
    45
  • Running the nightly tester
  • 4645
    4746
    4847
    11341133
    11351134
    11361135
    1137
    1138
    1139
    1140
    1141
    1142
    1143

    1144 The LLVM Nightly Testers
    1145 automatically check out an LLVM tree, build it, run the "nightly"
    1146 program test (described above), run all of the DejaGNU tests,
    1147 delete the checked out tree, and then submit the results to
    1148 http://llvm.org/nightlytest/.
    1149 After test results are submitted to
    1150 http://llvm.org/nightlytest/,
    1151 they are processed and displayed on the tests page. An email to
    1152
    1153 llvm-testresults@cs.uiuc.edu summarizing the results is also generated.
    1154 This testing scheme is designed to ensure that programs don't break as well
    1155 as keep track of LLVM's progress over time.

    1156
    1157

    If you'd like to set up an instance of the nightly tester to run on your

    1158 machine, take a look at the comments at the top of the
    1159 utils/NewNightlyTest.pl file. If you decide to set up a nightly tester
    1160 please choose a unique nickname and invoke utils/NewNightlyTest.pl
    1161 with the "-nickname [yournickname]" command line option.
    1162
    1163

    You can create a shell script to encapsulate the running of the script.

    1164 The optimized x86 Linux nightly test is run from just such a script:

    1165
    1166
    1167
    
                      
                    
    1168 #!/bin/bash
    1169 BASE=/proj/work/llvm/nightlytest
    1170 export BUILDDIR=$BASE/build
    1171 export WEBDIR=$BASE/testresults
    1172 export LLVMGCCDIR=/proj/work/llvm/cfrontend/install
    1173 export PATH=/proj/install/bin:$LLVMGCCDIR/bin:$PATH
    1174 export LD_LIBRARY_PATH=/proj/install/lib
    1175 cd $BASE
    1176 cp /proj/work/llvm/llvm/utils/NewNightlyTest.pl .
    1177 nice ./NewNightlyTest.pl -nice -release -verbose -parallel -enable-linscan \
    1178 -nickname NightlyTester -noexternals > output.log 2>&1
    1179
    1180
    1181
    1182

    It is also possible to specify the the location your nightly test results

    1183 are submitted. You can do this by passing the command line option
    1184 "-submit-server [server_address]" and "-submit-script [script_on_server]" to
    1185 utils/NewNightlyTest.pl. For example, to submit to the llvm.org
    1186 nightly test results page, you would invoke the nightly test script with
    1187 "-submit-server llvm.org -submit-script /nightlytest/NightlyTestAccept.cgi".
    1188 If these options are not specified, the nightly test script sends the results
    1189 to the llvm.org nightly test results page.

    1190
    1191

    Take a look at the NewNightlyTest.pl file to see what all of the

    1192 flags and strings do. If you start running the nightly tests, please let us
    1193 know. Thanks!

    1194
    1195
    1196
    11971136
    11981137
    11991138