Sha256: 7b235fc9ef2f93509fbc0b70982bde8ded44776b621191b44ad335819d8fbe81

Contents?: true

Size: 907 Bytes

Versions: 2

Compression:

Stored size: 907 Bytes

Contents

#!/bin/sh

rm -rf out
mkdir -p out

possible=3
ran=0

#bin/cljsc test >out/core-test.js
bin/cljsc test "{:optimizations :advanced}" >out/core-advanced-test.js

if [ "$V8_HOME" = "" ]; then
  echo "V8_HOME not set, skipping V8 tests"
else
  echo "Testing with V8"
  "${V8_HOME}/d8" out/core-advanced-test.js
  # TODO: figure out path problem when not in advanced mode
  # "${V8_HOME}/d8" out/core-test.js
  ran=$[ran+1]
fi

if [ "$SPIDERMONKEY_HOME" = "" ]; then
  echo "SPIDERMONKEY_HOME not set, skipping SpiderMonkey tests"
else
  echo "Testing with SpiderMonkey"
  ${SPIDERMONKEY_HOME}/js -m -n -a -f out/core-advanced-test.js
  ran=$[ran+1]
fi

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

echo "Tested with $ran out of $possible possible js targets"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
clementine-0.0.3 ext/clojure-clojurescript-bef56a7/script/test
clementine-0.0.2 ext/clojure-clojurescript-bef56a7/script/test