Skip to content

Commit

Permalink
processing-js#228 Updated README for automated test suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed Feb 1, 2010
1 parent cb80c0d commit 4c05b4e
Show file tree
Hide file tree
Showing 26 changed files with 25 additions and 1,690 deletions.
29 changes: 25 additions & 4 deletions test/README.txt
@@ -1,13 +1,29 @@
Processing.js automated tests rely on a working JavaScript Shell.
You can build one for your platform by following the instructions
in tools/js/src/README-Processing-js.txt:
The easiest way to do this is to build one from source. First you
will need a working Mozilla build environment:

$ cd tools/js/src
https://developer.mozilla.org/en/Build_Documentation

Next, obtain the Firefox source code:

$ hg clone http://hg.mozilla.org/mozilla-central

Now configure and build the source (NOTE: use the appropriate
autoconf v 2.13 for your system, autoconf213, autoconf-2.13, etc.):

$ cd mozilla-central/js/src
$ autoconf213
$ mkdir opt-build
$ ../configure --disable-debug --enable-optimize
$ make

This should produce a working JavaScript Shell at:

mozilla-central/js/src/opt-build/js

You should update the Makefile with the path to your js executable:

JS=/path/to/your/js/src/opt-build/js

Once you have a working JS Shell, you can run tests and do other
tasks like so:
Expand Down Expand Up @@ -40,10 +56,15 @@ tasks like so:

$ make /tmp/foo.js

6) Create a release (not finished yet):
6) Create a release:

$ make release

7) Clean out old release:

$ make clean

8) Check Processing.js for errors (jslint):

$ make check-lint

19 changes: 0 additions & 19 deletions tests/lint-notes.txt

This file was deleted.

855 changes: 0 additions & 855 deletions tests/old/ref-tests/Biotyp.svg

This file was deleted.

3 changes: 0 additions & 3 deletions tests/old/ref-tests/ajax.me

This file was deleted.

Binary file removed tests/old/ref-tests/arc_fill.gif
Binary file not shown.
Binary file removed tests/old/ref-tests/ellipse.gif
Binary file not shown.
Binary file removed tests/old/ref-tests/gradient.jpeg
Binary file not shown.
Binary file removed tests/old/ref-tests/green-square.gif
Binary file not shown.

0 comments on commit 4c05b4e

Please sign in to comment.