Will run the tests for the analyzer, compiler, and closure components.
Set the V8_HOME environment variable to the path where d8 lives.
Get the js-shell from here http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/. Set your SPIDERMONKEY_HOME environment variable.
On macOS download a WebKit nightly and put it in your Applications folder. Update your shell profile to include the following:
NOTE: Sub in the correct macOS version if you’re not running
$NASHORN_HOME environment variable so that
so you can write:
Get GraalVM from here
Set your GRAALVM_HOME environment variable so that
$GRAALVM_HOME/js executes Graal.js.
Get ChakraCore from here
Set your CHAKRACORE_HOME environment variable so that
$CHAKRACORE_HOME/ch executes ChakraCore.
If you have Node.js installed, you can run the bootstrapped
ClojureScript test suite (located at
You can also build and run the ClojureScript compiler test suite in bootstrapped mode within Node.js by running
You can run tests exercising the ClojureScript CLI by running
./script/test-cli repl-env [repl-env-opts-edn]
repl-env is any of the built-in REPL environments (
browser, etc.). This will be passed to
-re option. You can also specify a non-built-in REPL environment, but you would have to revise
script/test-cli to include the downstream REPL environment on the classpath. You can also pass optional
repl-env-opts-edn, which will be passed to