File: run-test.sh

package info (click to toggle)
node-benchmark 2.1.4%2B~2.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 408 kB
  • sloc: javascript: 4,225; sh: 8; makefile: 5
file content (10 lines) | stat: -rw-r--r-- 158 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
cd "$(dirname "$0")"

for cmd in phantomjs node; do
  echo "Testing in $cmd..."
  $cmd test.js
  echo ""
done

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