repo.or.cz
/
wine-gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 470165 - Cleanup the GTK nsFilePicker code; r+sr=roc
[wine-gecko.git]
/
js
/
src
/
correct.sh
blob
759f36ac7bee00e40261ce2051c16b262f73f477
1
#!/bin/bash
2
FAILURES
=
"FAILED"
3
for
i
in
correct
/*
.js
;
do
4
echo
$i
;
5
echo -n
interp
:
' '
6
INTERP
=
`Darwin_OPT.OBJ/js -f
$i
`
7
echo
$INTERP
' '
8
echo -n
jit
:
' '
9
JIT
=
`Darwin_OPT.OBJ/js -j -f
$i
`
10
echo
$JIT
' '
11
if
[
"
$INTERP
"
!=
"true"
-o
"
$JIT
"
!=
"true"
]
12
then
13
FAILURES
=
${FAILURES}
" "
${i}
14
fi
15
done
16
17
echo
18
if
[[
"FAILED"
!=
"
${FAILURES}
"
]]
19
then
20
echo
${FAILURES}
21
else
22
echo
"PASSED"
23
fi