Mercurial > hg > piper-vamp-js-builds
comparison build-all.sh @ 33:935214f16f91
Add pYin build, use Makefile test target
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 11 Nov 2016 11:13:42 +0000 |
parents | 9693e8f1b47b |
children | 9ce497a42932 |
comparison
equal
deleted
inserted
replaced
32:2cd8c30131ac | 33:935214f16f91 |
---|---|
20 ls -l */*.js | 20 ls -l */*.js |
21 | 21 |
22 for x in *; do | 22 for x in *; do |
23 if [ -d "$x" ] && [ -f "$x/Makefile" ]; then | 23 if [ -d "$x" ] && [ -f "$x/Makefile" ]; then |
24 echo | 24 echo |
25 js=$(echo "$x"/*.js) | 25 make -C "$x" test |
26 if [ ! -f "$js" ]; then | |
27 echo "Problem running test for $x: more than one js file? (js=$js)" | |
28 else | |
29 node ../piper-vamp-js/test/node-load-test.js "$(pwd)/$js" && \ | |
30 echo "Successfully ran basic load-test on $js" | |
31 fi | |
32 fi | 26 fi |
33 done | 27 done |
34 | 28 |
35 echo | 29 echo |
36 echo "All done" | 30 echo "All done" |