|
|
# Preliminaries
|
|
|
---------------
|
|
|
### Setup
|
|
|
|
|
|
The Java and C++ tests can be run using either *jzmq* or *jeromq*.
|
|
|
|
|
|
Open a shell where you will run the *Cameo* server.
|
|
|
If necessary, define the variable *LD_LIBRARY_PATH* so that the C++ programs will use the expected *Cameo* library.
|
|
|
|
|
|
# Tests
|
|
|
-------
|
|
|
|
|
|
Go to the *cameo-tests* directory:
|
|
|
Open a shell and go to the *cameo-tests* directory:
|
|
|
```
|
|
|
$ cd <cameo-tests path>
|
|
|
```
|
... | ... | @@ -19,14 +12,22 @@ Set the *PATH* variable so that the C++ programs are found: |
|
|
$ export PATH=build:$PATH
|
|
|
```
|
|
|
|
|
|
Select *jzmq* **or** *jeromq*:
|
|
|
Select *jzmq* **or** *jeromq* Java library.
|
|
|
|
|
|
Case *jzmq*:
|
|
|
```
|
|
|
$ export CLASSPATH=jzmq/target/cameo-tests-jzmq-full.jar
|
|
|
$ export LD_LIBRARY_PATH=<path-to-libjzmq>
|
|
|
```
|
|
|
Indeed you shall define the variable *LD_LIBRARY_PATH* so that *libjzmq.so* is found.
|
|
|
|
|
|
Case *jeromq*:
|
|
|
```
|
|
|
$ export CLASSPATH=jeromq/target/cameo-tests-jeromq-full.jar
|
|
|
```
|
|
|
|
|
|
### Run the tests
|
|
|
|
|
|
Run all the tests with 10 iterations for each individual test:
|
|
|
```
|
|
|
$ java fr.ill.ics.cameo.TestSelector all 10
|
... | ... | |