1*cdf0e10cSrcweirto run the tests 2*cdf0e10cSrcweir 3*cdf0e10cSrcweirbuild 4*cdf0e10cSrcweir===== 5*cdf0e10cSrcweir dmake 6*cdf0e10cSrcweir 7*cdf0e10cSrcweirwindows 8*cdf0e10cSrcweir======= 9*cdf0e10cSrcweir a) you can download a cygwin bash shell environment and install perl ( http://cygwin.com/setup.exe ) 10*cdf0e10cSrcweir from the cmdline './runTests.pl $(OFFICE_PROGRAM_PATH)' should run the testclient and compare the logs 11*cdf0e10cSrcweir b) use ordinary windows perl [1], but additionally you will need the 'diff' program for window ( download from http://gnuwin32.sourceforge.net/packages/diffutils.htm ) 12*cdf0e10cSrcweir 13*cdf0e10cSrcweir[1] for the testclient the perl ( all inclusive ) bundle from ActivePerl is mor e than adeqate ( download from http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.8.822-MSWin32-x86-280952.msi ) 14*cdf0e10cSrcweir 15*cdf0e10cSrcweir to run all test cases type 16*cdf0e10cSrcweir 'perl ./runTests.pl $(OFFICE_PROGRAM_PATH)' 17*cdf0e10cSrcweir to run a test case type 18*cdf0e10cSrcweir 'perl ./runTests.pl $(OFFICE_PROGRAM_PATH) testfilename' 19*cdf0e10cSrcweir 20*cdf0e10cSrcweirunix 21*cdf0e10cSrcweir==== 22*cdf0e10cSrcweir 23*cdf0e10cSrcweirassuming perl is installed 24*cdf0e10cSrcweir './runTests.pl $(OFFICE_PROGRAM_PATH)' 25*cdf0e10cSrcweir or './runTests.pl $(OFFICE_PROGRAM_PATH) testfilename' for one file test. 26*cdf0e10cSrcweir 27*cdf0e10cSrcweir 28*cdf0e10cSrcweirNote: For either windows or unix all of the tests should pass ( and you should get a result like ) 29*cdf0e10cSrcweirNote Also: If you meat a problem that stop running test after serveral test documents have been run. please clean your .ooo-2.0 or .oooxxx first, and then re-run. 30*cdf0e10cSrcweir 31*cdf0e10cSrcweir========> 32*cdf0e10cSrcweir 33*cdf0e10cSrcweirskipped 0 test-cases(s) 34*cdf0e10cSrcweircompared 9 test-case documents 35*cdf0e10cSrcweir 9 tests passedTests 36*cdf0e10cSrcweir 37*cdf0e10cSrcweirNote also: the testclient will attempt to connect to an existing instance of open-office, when the testClient exits the soffice process may still be running, if you wish to repeat tests you may want to kill the office instance before re-running. 38