Hi Justin!
There are more then one way to test XalanC. The first one is by running a C++ test harness and second one is by running a Java based test harness.
I'd recommend to use C++ approach because it's faster and have more comprehensive testing : conformance testing , the memory management testting and others.
The Java approach is described in "http://xml.apache.org/xalan-c/index.html" under "Testing" section.
1. Build the main Xalan library as described in the documentation
2. Build the test applications:
cd $XALANCROOT
make tests
3. Run "Conf" application with no parameters for the brief description what it does and the list of the main settings
4 Extract from CVS ( or SVN ) repositiory the xml-xalan/test directories
5. cd <working_dir>/xml-xalan/test/tests/
In this directory you should see subdirectories:
conf :conformance test cases
conf-gold : the gold (correct files) for the tests
6 Run the Conf application ( located in $XALANCROOT/bin ) like
>Conf conf -out RESULTS_DIR
7 You may see the results in your directory RESULTS_DIR/Results.html or in XML form: Results.xml. Also MiniResults.html is useful
8 If XalanC fails on 52-53 testcases it's ok and the failures are known limitation of the given configuration
Thanks!
Dmitry Hayes
| Brian Minchau/Toronto/IBM
11/15/2005 02:37 AM |
|
Hi Dmitry,
please answer on the mailing list. I know how to run the Java smoketest, etc., but not for Xalan-C.
Thanks,
- Brian
- - - - - - - - - - - - - - - - - - - -
Brian Minchau
XSLT Development, IBM Toronto
e-mail: [EMAIL PROTECTED]
"If the lion purrs, it is only because it is saving you for dessert." - My wife
----- Forwarded by Brian Minchau/Toronto/IBM on 11/15/2005 02:37 AM -----
| "Justin Li" <[EMAIL PROTECTED]>
11/14/2005 09:48 PM
|
|
Hi all,
We ported xalan to another compiler & unix platform. Are there some test code and/or test cases for testing xalan. I wanna make sure our modification didn’t affect functionality of xalan.
Thanks a lot!
Justin
