repo.or.cz
/
swg-src.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Removed Tatooine Commoner Double Spawns
[swg-src.git]
/
utils
/
mocha
/
test_all_scripts.sh
blob
187df58870d8f89ae97ae97597827646b41daeb4
1
#!/bin/bash
2
3
for
filename
in
$
(
find
/
home
/
apathy
/
projects
/
swgnge
/
dsrc
/
sku
.0
/
sys.server
/
compiled
/
game
/
script
-type
f \
(
-name
'*.script'
-o -name
'*.scriptlib'
\
)
-not -path
"*/.deps/*"
);
do
4
OUTPUT
=
$
(
.
/
test_script.py
$filename
)
5
if
[[ !
-z
"
$OUTPUT
"
]];
then
6
echo
"
7
8
$OUTPUT
9
"
>&
2
10
else
11
echo -n
.
12
fi
13
done
14
15
echo
"Finished"