OLD | NEW |
1 #!/usr/bin/env bash | 1 #!/usr/bin/env bash |
2 #===-- test-release.sh - Test the LLVM release candidates ------------------===# | 2 #===-- test-release.sh - Test the LLVM release candidates ------------------===# |
3 # | 3 # |
4 # The LLVM Compiler Infrastructure | 4 # The LLVM Compiler Infrastructure |
5 # | 5 # |
6 # This file is distributed under the University of Illinois Open Source | 6 # This file is distributed under the University of Illinois Open Source |
7 # License. | 7 # License. |
8 # | 8 # |
9 #===------------------------------------------------------------------------===# | 9 #===------------------------------------------------------------------------===# |
10 # | 10 # |
(...skipping 17 matching lines...) Expand all Loading... |
28 RC="" | 28 RC="" |
29 do_checkout="yes" | 29 do_checkout="yes" |
30 do_ada="no" | 30 do_ada="no" |
31 do_clang="yes" | 31 do_clang="yes" |
32 do_dragonegg="no" | 32 do_dragonegg="no" |
33 do_fortran="no" | 33 do_fortran="no" |
34 do_objc="yes" | 34 do_objc="yes" |
35 do_64bit="yes" | 35 do_64bit="yes" |
36 do_debug="no" | 36 do_debug="no" |
37 do_asserts="no" | 37 do_asserts="no" |
38 do_compare="no" | 38 do_compare="yes" |
39 BuildDir="`pwd`" | 39 BuildDir="`pwd`" |
40 | 40 |
41 function usage() { | 41 function usage() { |
42 echo "usage: `basename $0` -release X.Y -rc NUM [OPTIONS]" | 42 echo "usage: `basename $0` -release X.Y -rc NUM [OPTIONS]" |
43 echo "" | 43 echo "" |
44 echo " -release X.Y The release number to test." | 44 echo " -release X.Y The release number to test." |
45 echo " -rc NUM The pre-release candidate number." | 45 echo " -rc NUM The pre-release candidate number." |
46 echo " -final The final release candidate." | 46 echo " -final The final release candidate." |
47 echo " -j NUM Number of compile jobs to run. [default: 3]" | 47 echo " -j NUM Number of compile jobs to run. [default: 3]" |
48 echo " -build-dir DIR Directory to perform testing in. [default: pwd]" | 48 echo " -build-dir DIR Directory to perform testing in. [default: pwd]" |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 fi | 510 fi |
511 done | 511 done |
512 ) 2>&1 | tee $LogDir/testing.$Release-$RC.log | 512 ) 2>&1 | tee $LogDir/testing.$Release-$RC.log |
513 | 513 |
514 set +e | 514 set +e |
515 | 515 |
516 # Woo hoo! | 516 # Woo hoo! |
517 echo "### Testing Finished ###" | 517 echo "### Testing Finished ###" |
518 echo "### Logs: $LogDir" | 518 echo "### Logs: $LogDir" |
519 exit 0 | 519 exit 0 |
OLD | NEW |