equal
deleted
inserted
replaced
|
1 #!/bin/bash |
|
2 # |
|
3 # a CI job to run PetitCompiler tests on Pharo |
|
4 # |
|
5 set -e |
|
6 |
|
7 if test -x "ci-pharo-common.sh"; then |
|
8 echo wget -O "ci-pharo-common.sh" fail-here |
|
9 fi |
|
10 . ci-pharo-common.sh |
|
11 |
|
12 ci_download_test_data |
|
13 |
|
14 ci_pharo_download_pharo |
|
15 ci_pharo_download_petitparser |
|
16 |
|
17 rm -rf Petit*Test.xml |
|
18 # Must turn off errexit option, Pharo return non-zero |
|
19 # status when one or more tests fail. |
|
20 set +e |
|
21 ./pharo $IMAGE test --junit-xml-output \ |
|
22 PetitTests \ |
|
23 PetitAnalyzer \ |
|
24 PetitSmalltalk \ |
|
25 PetitJava \ |
|
26 PetitIslands \ |
|
27 PetitCompiler-Tests \ |
|
28 PetitCompiler-Extras-Tests |
|
29 set -e |