1 | #this is to run the surface test - a test which is not supposed to test statechart semantics, but
|
2 | #instead should test the standard interface exposed by node, rhino and browser scion modules.
|
3 |
|
4 | python -m SimpleHTTPServer 8888 &
|
5 | pid=$!
|
6 |
|
7 | #run node test
|
8 | node surface-test.js
|
9 |
|
10 | #run browser test
|
11 | java -cp ~/Downloads/rhino1_7R3/js.jar org.mozilla.javascript.tools.shell.Main -debug -modules ../lib -main surface-test.js
|
12 |
|
13 | #open your browser of choice
|
14 | gnome-open http://localhost:8888/surface-test.html
|