File: test

package info (click to toggle)
core-match-clojure 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 348 kB
  • sloc: xml: 125; makefile: 20; sh: 7
file content (26 lines) | stat: -rwxr-xr-x 560 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
rm -rf out
mkdir -p out
lein cljsbuild clean

lein cljsbuild once test-adv

if [ "$V8_HOME" == "" ]; then
  echo "V8_HOME not set, skipping V8 tests"
else
  echo "Testing with V8"
  ${V8_HOME}/d8 out/test.js
fi

if [ "$SPIDERMONKEY_HOME" == "" ]; then
  echo "SPIDERMONKEY_HOME not set, skipping SpiderMonkey tests"
else
  echo "Testing with SpiderMonkey"
  ${SPIDERMONKEY_HOME}/js out/test.js
fi

if [ "$JSC_HOME" == "" ]; then
  echo "JSC_HOME not set, skipping JavaScriptCore tests"
else
  echo "Testing with JavaScriptCore"
  ${JSC_HOME}/jsc out/test.js
fi