I'm trying to run the tests for ClojureScirpt under Ubuntu 12.04. I installed libmozjs, set the spidermonkey_home variable then ran script/test and got this:
tim@tim-desktop:~/clojurescript$ script/test
V8_HOME not set, skipping V8 tests
Testing with SpiderMonkey
Error: unrecognized flag -m
Try --help for options
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
ReferenceError: print is not defined
at Object.<anonymous> (/home/tim/clojurescript/out/core-advanced-test.js:349:506)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:32)
at Function._load (module.js:308:12)
at Array.0 (module.js:479:10)
at EventEmitter._tickCallback (node.js:192:41)
JSC_HOME not set, skipping JavaScriptCore tests
Tested with $[ran+1] out of 3 possible js targets
tim@tim-desktop:~/clojurescript$ cat script/test
What's the best way to run tests under Ubuntu?