|
1 | 1 | #!/bin/bash -ex
|
2 | 2 |
|
3 |
| -# run node-test-commit-pre.sh |
4 |
| -# run node-test-commit-diagnostics.sh |
5 |
| - |
6 |
| -setupEnvironment |
7 |
| - |
8 |
| -if [[ "$label" =~ _openssl102_ ]]; then |
9 |
| - runOpenSSL102 |
10 |
| -elif [[ "$label" =~ _openssl110_ ]]; then |
11 |
| - runOpenSSL110 |
12 |
| -elif [[ "$label" =~ _openssl111_ ]]; then |
13 |
| - runOpenSSL111 |
14 |
| -elif [[ "$label" =~ _fips20_ ]]; then |
15 |
| - runFips20 |
16 |
| -elif [[ "$label" =~ _debug_ ]]; then |
17 |
| - runDebug |
18 |
| -elif [[ "$label" =~ _zlib_ ]]; then |
19 |
| - runZlib |
20 |
| -elif [[ "$label" =~ _withoutintl_ ]]; then |
21 |
| - runWithoutIntl |
22 |
| -elif [[ "$label" =~ _withoutssl_ ]]; then |
23 |
| - runWithoutSsl |
24 |
| -elif [[ "$label" =~ _shared_ ]]; then |
25 |
| - runShared |
26 |
| -fi |
27 |
| - |
28 | 3 | function setupEnvironment {
|
29 | 4 | FLAKY_TESTS_MODE=run
|
30 | 5 | if test $IGNORE_FLAKY_TESTS = "true"; then
|
@@ -291,4 +266,26 @@ function runShared {
|
291 | 266 | runCiWithConfig "--shared"
|
292 | 267 | }
|
293 | 268 |
|
294 |
| -# run node-test-commit-diagnostics.sh |
| 269 | +### MAIN ### |
| 270 | + |
| 271 | +setupEnvironment |
| 272 | + |
| 273 | +if [[ "$label" =~ _openssl102_ ]]; then |
| 274 | + runOpenSSL102 |
| 275 | +elif [[ "$label" =~ _openssl110_ ]]; then |
| 276 | + runOpenSSL110 |
| 277 | +elif [[ "$label" =~ _openssl111_ ]]; then |
| 278 | + runOpenSSL111 |
| 279 | +elif [[ "$label" =~ _fips20_ ]]; then |
| 280 | + runFips20 |
| 281 | +elif [[ "$label" =~ _debug_ ]]; then |
| 282 | + runDebug |
| 283 | +elif [[ "$label" =~ _zlib_ ]]; then |
| 284 | + runZlib |
| 285 | +elif [[ "$label" =~ _withoutintl_ ]]; then |
| 286 | + runWithoutIntl |
| 287 | +elif [[ "$label" =~ _withoutssl_ ]]; then |
| 288 | + runWithoutSsl |
| 289 | +elif [[ "$label" =~ _shared_ ]]; then |
| 290 | + runShared |
| 291 | +fi |
0 commit comments