@@ -29,20 +29,20 @@ function tapsAndJunits() {
29
29
fi
30
30
RFAT=" $( pwd) /run-folder-as-tests"
31
31
fi
32
- generateSummUp ${diffFileParam} ${differencesFile} ${totalFile}
33
- printPlain ${diffFileParam} ${differencesFile} ${totalFile}
32
+ generateSummUp " ${diffFileParam} " " ${differencesFile} " " ${totalFile} "
33
+ printPlain " ${diffFileParam} " " ${differencesFile} " " ${totalFile} "
34
34
if [ " ${DO_TAPS:- } " == " true" ] ; then
35
- generateTaps ${diffFileParam} ${differencesFile} ${totalFile}
35
+ generateTaps " ${diffFileParam} " " ${differencesFile} " " ${totalFile} "
36
36
fi
37
37
if [ " ${DO_JUNIT:- } " == " true" ] ; then
38
- generateJunits ${diffFileParam} ${differencesFile} ${totalFile}
38
+ generateJunits " ${diffFileParam} " " ${differencesFile} " " ${totalFile} "
39
39
fi
40
40
set -x
41
41
}
42
42
43
43
function generateSummUp() {
44
44
set +x
45
- if [ ${GLOBAL_RESULT} -eq 0 ] ; then
45
+ if [ " ${GLOBAL_RESULT} " -eq 0 ] ; then
46
46
passed=$(( "${passed} "+ 1 ))
47
47
else
48
48
failed=$(( "${failed} "+ 1 ))
@@ -94,7 +94,7 @@ function totalOnlyInToPlain() {
94
94
}
95
95
96
96
function globalResultToPlain() {
97
- if [ ${GLOBAL_RESULT} -eq 0 ] ; then
97
+ if [ " ${GLOBAL_RESULT} " -eq 0 ] ; then
98
98
echo " -- COMPARABLE --"
99
99
else
100
100
echo " -- MISMATCH --"
@@ -138,7 +138,7 @@ function totalOnlyInToXml() {
138
138
}
139
139
140
140
function globalResultToXml() {
141
- if [ ${GLOBAL_RESULT} -eq 0 ] ; then
141
+ if [ " ${GLOBAL_RESULT} " -eq 0 ] ; then
142
142
printXmlTest " compare" " comparable-builds" " 4" " " " ../artifact/$( basename " ${diffFileParam} " ) " >> " ${unitFile} "
143
143
else
144
144
printXmlTest " compare" " comparable-builds" " 4" " ${diffFileParam} " " ../artifact/$( basename " ${diffFileParam} " ) " >> " ${unitFile} "
@@ -204,7 +204,7 @@ function totalOnlyInToTap() {
204
204
}
205
205
206
206
function globalResultToTap() {
207
- if [ ${GLOBAL_RESULT} -eq 0 ] ; then
207
+ if [ " ${GLOBAL_RESULT} " -eq 0 ] ; then
208
208
tapTestStart " ok" " 4" " comparable-builds" >> " ${resultsTapFile} "
209
209
else
210
210
tapTestStart " not ok" " 4" " comparable-builds" >> " ${resultsTapFile} "
0 commit comments