Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…optimizations
  • Loading branch information...
commit c4c03a2ca57676820ee50b71a829d6a47353ad42 1 parent 8cc3384
authored

Showing 2 changed files with 16 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  project.clj
  2. 14  script/test
3  project.clj
@@ -9,4 +9,5 @@
9 9
   :cljsbuild {:builds [{:source-path "src/main/cljs"
10 10
                         :compiler {:output-to "main.js"}}
11 11
                        {:source-path "src/test/cljs"
12  
-                        :compiler {:output-to "tests.js"}}]})
  12
+                        :compiler {:optimizations :advanced
  13
+                                   :output-to "tests.js"}}]})
14  script/test
@@ -9,4 +9,18 @@ if [ "$V8_HOME" == "" ]; then
9 9
 else
10 10
   echo "Testing with V8"
11 11
   ${V8_HOME}/d8 tests.js
  12
+fi
  13
+
  14
+if [ "$SPIDERMONKEY_HOME" == "" ]; then
  15
+  echo "SPIDERMONKEY_HOME not set, skipping SpiderMonkey tests"
  16
+else
  17
+  echo "Testing with SpiderMonkey"
  18
+  ${SPIDERMONKEY_HOME}/js tests.js
  19
+fi
  20
+
  21
+if [ "$JSC_HOME" == "" ]; then
  22
+  echo "JSC_HOME not set, skipping JavaScriptCore tests"
  23
+else
  24
+  echo "Testing with JavaScriptCore"
  25
+  ${JSC_HOME}/jsc tests.js
12 26
 fi

0 notes on commit c4c03a2

Please sign in to comment.
Something went wrong with that request. Please try again.