File: run-test.sh

package info (click to toggle)
node-platform 1.3.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 316 kB
  • sloc: javascript: 3,485; sh: 19; makefile: 2
file content (10 lines) | stat: -rwxr-xr-x 187 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
cd "$(dirname "$0")"

for cmd in rhino "rhino -require" ringo phantomjs node; do
  echo "Testing in $cmd..."
  $cmd test.js
  echo ""
done

echo "Testing in a browser..."
open index.html