Name | Date | Size | |
---|---|---|---|
.. | 2013-05-16 00:04:24 | 3 | |
ClosedStreams.java | 2013-05-16 00:04:24 | 1.7 KiB | |
CloseTest.java | 2013-05-16 00:04:24 | 3.4 KiB | |
EchoService.java | 2013-05-16 00:04:24 | 6.2 KiB | |
EchoTest.java | 2013-05-16 00:04:24 | 5.7 KiB | |
java.policy.fail | 2013-05-16 00:04:24 | 370 | |
java.policy.pass | 2013-05-16 00:04:24 | 376 | |
Launcher.c | 2013-05-16 00:04:24 | 4.2 KiB | |
Launcher.java | 2013-08-12 02:22:05 | 6 KiB | |
lib | 2013-05-16 00:04:24 | 6 | |
Makefile | 2013-05-16 00:04:24 | 2.1 KiB | |
NullTest.java | 2013-05-16 00:04:24 | 1.9 KiB | |
README | 2013-05-16 00:04:24 | 1 KiB | |
run_tests.sh | 2013-05-16 00:04:24 | 3.4 KiB | |
StateTest.java | 2013-05-16 00:04:24 | 6.2 KiB | |
StateTestService.java | 2013-05-16 00:04:24 | 3.5 KiB | |
Util.java | 2013-05-16 00:04:24 | 3.8 KiB |
README
The unit tests in this directory depend on a native launcher library
(libLauncher.so). This native library is built off-line and the
resulting libLauncher.so for each processor/OS combination is checked
into the workspace. The reason for this is because the test environment
may not have the required compilers/build environment.
In order to rebuild libLauncher.so the following is required :-
1. Check-out each of the shared libraries (sccs edit)
2. Edit Launcher.c with the appropriate changes
3. Execute the make script (gnumake all) on each processor/OS so
that the appropriate lib/<platform>/libLauncher.so is built.
4. Test the changes
5. Check-in each of the shared library (sccs delget)
For step 4 (re-building libLauncher.so) the following environment is required:
(a) JAVA_HOME needs to be set to J2SE directory, eg:-
export JAVA_HOME=/usr/local/java/jdk1.5/solaris-sparc
(b) For Solaris the SOS8 'cc' needs to be on the PATH, check using:
# cc -V
cc: Sun C 5.5 2003/03/12
(c) Execute the make script :-
Solaris: gnumake all
Linux: gmake all