mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
…
|
||
---|---|---|
.. | ||
executeJCKWrapper.class | ||
executeJCKWrapper.java | ||
jckInstr.txt | ||
jckJavaIo.txt | ||
jckJavaLang.txt | ||
jckjni.dll | ||
jckJNI.txt | ||
readme.html | ||
runTests.pl |
<HTML> <HEAD> <TITLE>EF Test Script</TITLE> </HEAD> <BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#333399" VLINK="#006666" ALINK="#999900"> <B><FONT SIZE=+3>Electrical Fire Test Script</FONT></B> <HR WIDTH="100%"></CENTER> <P> <FONT SIZE=+1><B>Usage</B></FONT> <P> Before running the script, make sure <B>sajava.exe</B> is in your path and your <B>classpath</B> is set. <PRE> perl runTests.pl < test file > [ options... ] perl runTests.pl -h </PRE> <FONT SIZE=+1><B>Options</B></FONT> <PRE> -q Quite mode. Print non-passing tests only. -gr Generate an html report. -uw < class > Use a wrapper class. -classpath < path > Use the given classpath. -workdir < dir > Use the directory as the working dir. -testroot < path > Use the given path as the test root. -keyword < keyword > Run tests with the given keyword only. -h Help. </PRE> <FONT SIZE=+1><B>Description</B></FONT> <P> This test script's main purpose is to test Electrical Fire. It obviously, with a few modifications, can be changed to test any Java Runtime. <P> The option <B>-uw</B> is to allow a wrapper class to be used to invoke the tests. You can provided your own wrapper class as long as it prints out the following results, which the test script will use to determine if a test pass or failed. <P> <PRE> For passing tests, print "STATUS:Passed." For failing tests, print "STATUS:Failed." </PRE> Any tests that don't print out these two results will cause the test script to make the test result as a <B>Check Test</B>. <P> The options <B>-workdir</B> and <B>-testroot</B> are JCK specific test arguments. You don't need to specify them by default. The <B>-workdir</B> argument is just a temp directory were some tests can perform I/O. The <B>-testroot</B> is a path to the html test description of a JCK test. If you want to specify a testroot, you will need to give the url path. <PRE> For example, "-testroot file:/g:/JCK-114a". </PRE> </BODY> </HTML>