Revision: 15423
Author:   [email protected]
Date:     Mon Jul  1 07:11:49 2013
Log:      Edited wiki page Testing through web user interface.
http://code.google.com/p/v8/source/detail?r=15423

Modified:
 /wiki/Testing.wiki

=======================================
--- /wiki/Testing.wiki  Thu Feb 23 00:49:18 2012
+++ /wiki/Testing.wiki  Mon Jul  1 07:11:49 2013
@@ -10,13 +10,13 @@
V8 comes with two test suites: a set of unit tests written in C++, the _cctest_ suite, and a set of !JavaScript tests, the _mjsunit_ suite. You can run them by running the Python test script:

 {{{
-tools/test.py
+tools/run-tests.py
 }}}

This will automatically build v8 and run both internal test suites in release (that is, optimized) mode. The framework assigns a path to each test, and to run specific tests you can specify the paths of the tests you would like to run, for instance:

 {{{
-tools/test.py cctest/test-heap/SymbolTable mjsunit/delete-in-eval
+tools/run-tests.py cctest/test-heap/SymbolTable mjsunit/delete-in-eval
 }}}

The framework can also handle partial paths and the wildcard `*`, so giving `cctest/test-heap` will cause it to run all heap tests. The test script takes a number of other options, including timeouts (`--timeout`) and build mode (`--mode=[debug|release]`). To see all options call
@@ -27,21 +27,16 @@

 == Running the Mozilla tests ==

-The V8 test framework comes with support for running the Mozilla test suite. To obtain it, do the following: +The V8 test framework comes with support for running the Mozilla test suite. To download the mozilla test suite and then run it for the first time, do the following:

 {{{
-cd test/mozilla
-rm -rf data
-cvs -d :pserver:[email protected]:/cvsroot co -D 2008-09-02 mozilla/js/tests
-mv mozilla/js/tests data
-rm -rf mozilla
-cd ../..
+tools/run-tests.py --download-data mozilla
 }}}

-To run tests, call
+To run the tests subsequently, you may omit the flag that downloads the test suite:

 {{{
-tools/test.py --suite test/mozilla mozilla
+tools/run-tests.py mozilla
 }}}

Note that V8 fails a number of Mozilla tests because they require Firefox-specific extensions.

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to