X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fapp_test%2FREADME;h=73d1ef47a678ae807e51b6dc993756cbb6659e5d;hb=9819507472caa5906a7047b38f50a94d1931ea26;hp=8db94a43ec14c54c027bd18488244745a5fea451;hpb=e8a5b2c912d4be9cc93bc52ad7a460b57321c5fd;p=ric-plt%2Flib%2Frmr.git diff --git a/test/app_test/README b/test/app_test/README index 8db94a4..73d1ef4 100644 --- a/test/app_test/README +++ b/test/app_test/README @@ -10,3 +10,24 @@ and on trace data to verify that the messages are being reeived correctly. The receiver acks message type 5, so the reciver should receive acks at about the volume of 1/10th the number of messages sent. + +The contents of this directory are generally intended to support automated +testing via the run_all.sh script. Howerver, there may be times where +building and running the tools manually is needed. To support this two +scripts, maker.sh and runner.sh, are provided. The maker.sh script will +build RMR in ../../.build and install it in a /tmp directory so that the +needed include files can be found when building the test programmes. The +runner.sh script sets the environment and then starts the comand given. +For example, to run the sencder: + RMR_SEED_RT=xx.rt runner.sh ./sender 1000 0 0 + +The runner script accepts both -v and -d to set verbose and debug options +for RMR when the programme is run. + + +The maker script will always build the test programmes whether they've been +changed or not. By default the current .deb packages in ../../.build are +used, but the -b option can be given to force a rebuild of the RMR libraries +in addition to building the tools. If the ../../.build directory does not +exist, it should automatically be created and RMR built. +