I attempted to run a set of unit tests that I have running using PhantomJS on 
Windows. However, when executing 'lein test', the PhantomJS unit tests all run 
successfully, but the tests run using Rhino simply drop me into a Rhino shell 
prompt ('js>').

Here's my test command configuration:

              "rhino"
              ["tools/rhino.bat" "-opt" "-1"
               :rhino-runner
               "tools/three.js",
               "test/js/testable_dbg.js"]}

Here's my batch file:

set JAVA_EXE=C:\PROGRA~1\Java\jdk1.7.0_51\bin\java.exe
SET 
RHINO_JAR=d:\cygwin\home\l.jones\professional\software\devtools\rhino\rhino1_7R4\js.jar

%JAVA_EXE% -jar %RHINO_JAR% %1 %2

I tried executing the rhino commands directly by replacing "tools/rhino.bat" 
with :

"C:/PROGRA~1/Java/jdk1.7.0_51/bin/java.exe -jar 
d:/cygwin/home/l.jones/professional/software/devtools/rhino/rhino1_7R4/js.jar" 
"-opt" "-1".

This approach results in:

java.io.IOException: Cannot run program 
"C:/PROGRA~1/Java/jdk1.7.0_51/bin/java.exe -jar 
d:/cygwin/home/l.jones/professional/software
/devtools/rhino/rhino1_7R4/js.jar": CreateProcess error=2, The system cannot 
find the file specified

Any ideas why my tests do not run on Rhino?

Thanks.

Have a great day!

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to