Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
cameo
cameo
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 43
    • Issues 43
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Cameo
  • cameocameo
  • Wiki
  • linux tests

linux tests

Last edited by yannick legoc Dec 14, 2020
Page history

Preliminaries


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.

Tests


Set the PATH variable so that the C++ programs are found:

$ export PATH=<cameo-tests path>/build/bin:$PATH

Go to the cameo-tests directory:

$ cd <cameo-tests path>

To run all the tests with 10 iterations for each individual test:
Start all the tests with jzmq

$ java -jar cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar jzmq-api-config.xml all 10

Start all the tests with jeromq

$ java -jar cameo-tests-jeromq/target/cameo-tests-jeromq-full.jar jeromq-api-config.xml all 10

Start the java tests with jeromq

$ java -jar cameo-tests-jeromq/target/cameo-tests-jeromq-full.jar jeromq-api-config.xml java 10

Start the c++ tests with jzmq

$ java -jar cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar jzmq-api-config.xml cpp 10

Display the available tests

$ java -jar cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar jzmq-api-config.xml

Start a specific test

$ java -jar cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar jzmq-api-config.xml startsimplejava 100

Test the Java unmanaged application: Start the server in a specific shell

$ java -classpath cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar fr.ill.ics.cameo.server.Server jzmq-api-config.xml

Start the application

$ java -classpath cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar fr.ill.ics.cameo.test.TestStopApplication tcp://localhost:10000:stop

Then kill the application manually that should disappear from the list of applications.

Test the C++ unmanaged application

$ ./build/bin/teststop "{\"name\":\"stop\", \"server\":\"tcp://localhost:10000\"}"
Clone repository
  • JZMQ or JeroMQ?
  • Version 1.0
  • all tests
  • cpp installation
  • dependencies
  • developments
  • example of code
  • examples
  • Home
  • implementation
  • linux tests
  • python
  • windows compilation
  • windows package
  • windows tests