Mercurial > hg > piper-vamp-js-builds
comparison build-all.sh @ 6:85933ca93ccc
Add pYin build, use Makefile test target
author | Chris Cannam |
---|---|
date | Fri, 11 Nov 2016 11:13:42 +0000 |
parents | cecea0d6719d |
children | 9ce497a42932 |
comparison
equal
deleted
inserted
replaced
5:e75bb30838ad | 6:85933ca93ccc |
---|---|
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" |