| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 ###################################################################### | 6 ###################################################################### |
| 7 ###################################################################### | 7 ###################################################################### |
| 8 # | 8 # |
| 9 # < CONFIG > | 9 # < CONFIG > |
| 10 # | 10 # |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 prereq-x8664() { | 102 prereq-x8664() { |
| 103 # NOTE: we force the building of scons-out/nacl-x86-64/lib/crtX.o | 103 # NOTE: we force the building of scons-out/nacl-x86-64/lib/crtX.o |
| 104 # implicitly via run_intrinsics_test | 104 # implicitly via run_intrinsics_test |
| 105 # this is only required for naclgcc_newlib tests | 105 # this is only required for naclgcc_newlib tests |
| 106 ./scons platform=x86-64 irt_core sel_ldr run_intrinsics_test | 106 ./scons platform=x86-64 irt_core sel_ldr run_intrinsics_test |
| 107 } | 107 } |
| 108 | 108 |
| 109 #@ | 109 #@ |
| 110 #@ prereq-pnacl | 110 #@ prereq-pnacl |
| 111 prereq-pnacl() { | 111 prereq-pnacl() { |
| 112 tools/llvm/utman.sh sdk | 112 pnacl/build.sh sdk |
| 113 } | 113 } |
| 114 | 114 |
| 115 #@ | 115 #@ |
| 116 #@ prereq-arm | 116 #@ prereq-arm |
| 117 prereq-arm() { | 117 prereq-arm() { |
| 118 ./scons platform=arm irt_core sel_ldr run_intrinsics_test | 118 ./scons platform=arm irt_core sel_ldr run_intrinsics_test |
| 119 } | 119 } |
| 120 | 120 |
| 121 standard_tests() { | 121 standard_tests() { |
| 122 local config=$1 | 122 local config=$1 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 | 272 |
| 273 if [ "$(type -t $1)" != "function" ]; then | 273 if [ "$(type -t $1)" != "function" ]; then |
| 274 #Usage | 274 #Usage |
| 275 echo "ERROR: unknown function '$1'." >&2 | 275 echo "ERROR: unknown function '$1'." >&2 |
| 276 echo "For help, try:" | 276 echo "For help, try:" |
| 277 echo " $0 help" | 277 echo " $0 help" |
| 278 exit 1 | 278 exit 1 |
| 279 fi | 279 fi |
| 280 | 280 |
| 281 "$@" | 281 "$@" |
| OLD | NEW |