xref: /aoo41x/main/sc/source/ui/vba/testvba/README (revision cdf0e10c)
1to run the tests
2
3build
4=====
5    dmake
6
7windows
8=======
9   a) you can download a cygwin bash shell environment and install perl ( http://cygwin.com/setup.exe )
10      from the cmdline './runTests.pl $(OFFICE_PROGRAM_PATH)' should run the testclient and compare the logs
11   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
13[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
15   to run all test cases type
16   'perl ./runTests.pl $(OFFICE_PROGRAM_PATH)'
17   to run a test case type
18   'perl ./runTests.pl $(OFFICE_PROGRAM_PATH) testfilename'
19
20unix
21====
22
23assuming perl is installed
24      './runTests.pl $(OFFICE_PROGRAM_PATH)'
25    or './runTests.pl $(OFFICE_PROGRAM_PATH) testfilename' for one file test.
26
27
28Note: For either windows or unix all of the tests should pass ( and you should get a result like )
29Note 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
31========>
32
33skipped 0 test-cases(s)
34compared 9 test-case documents
35                 9 tests passedTests
36
37Note 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