Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* project.clj: allow testing SpiderMonkey and JSC. Teset w/ advanced …

…optimizations
  • Loading branch information...
commit c4c03a2ca57676820ee50b71a829d6a47353ad42 1 parent 8cc3384
David Nolen authored
Showing with 16 additions and 1 deletion.
  1. +2 −1  project.clj
  2. +14 −0 script/test
3  project.clj
View
@@ -9,4 +9,5 @@
:cljsbuild {:builds [{:source-path "src/main/cljs"
:compiler {:output-to "main.js"}}
{:source-path "src/test/cljs"
- :compiler {:output-to "tests.js"}}]})
+ :compiler {:optimizations :advanced
+ :output-to "tests.js"}}]})
14 script/test
View
@@ -9,4 +9,18 @@ if [ "$V8_HOME" == "" ]; then
else
echo "Testing with V8"
${V8_HOME}/d8 tests.js
+fi
+
+if [ "$SPIDERMONKEY_HOME" == "" ]; then
+ echo "SPIDERMONKEY_HOME not set, skipping SpiderMonkey tests"
+else
+ echo "Testing with SpiderMonkey"
+ ${SPIDERMONKEY_HOME}/js tests.js
+fi
+
+if [ "$JSC_HOME" == "" ]; then
+ echo "JSC_HOME not set, skipping JavaScriptCore tests"
+else
+ echo "Testing with JavaScriptCore"
+ ${JSC_HOME}/jsc tests.js
fi
Please sign in to comment.
Something went wrong with that request. Please try again.