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
|