File: run-test.sh

package info (click to toggle)
node-lodash 2.4.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,024 kB
  • ctags: 1,590
  • sloc: php: 747; sh: 22; makefile: 14
file content (14 lines) | stat: -rw-r--r-- 364 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cd "$(dirname "$0")"

for cmd in rhino "rhino -require" narwhal ringo phantomjs; do
  echo "Testing in $cmd..."
  $cmd test.js ../dist/lodash.compat.js && $cmd test.js ../dist/lodash.compat.min.js
  echo ""
done

echo "Testing in node..."
node test.js ../dist/lodash.js && node test.js ../dist/lodash.min.js

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