E. Scott Daniels | e8a5b2c | 2019-04-22 17:04:10 +0000 | [diff] [blame] | 1 | |
| 2 | This directory contains various sender/receiver applications that can be |
| 3 | driven together to test message exchange through the RMr library. |
| 4 | The run_app_test.ksh script should support building the library, building |
| 5 | a sender and receiver, then running a short test to verify. |
| 6 | |
| 7 | The basic sender and receiver |
| 8 | Sender and receiver perform lightweight check sums on the message body |
| 9 | and on trace data to verify that the messages are being reeived correctly. |
| 10 | The receiver acks message type 5, so the reciver should receive acks at |
| 11 | about the volume of 1/10th the number of messages sent. |
| 12 | |
E. Scott Daniels | 71df2a2 | 2021-03-10 12:22:44 -0500 | [diff] [blame] | 13 | |
| 14 | The contents of this directory are generally intended to support automated |
| 15 | testing via the run_all.sh script. Howerver, there may be times where |
| 16 | building and running the tools manually is needed. To support this two |
| 17 | scripts, maker.sh and runner.sh, are provided. The maker.sh script will |
| 18 | build RMR in ../../.build and install it in a /tmp directory so that the |
| 19 | needed include files can be found when building the test programmes. The |
| 20 | runner.sh script sets the environment and then starts the comand given. |
| 21 | For example, to run the sencder: |
| 22 | RMR_SEED_RT=xx.rt runner.sh ./sender 1000 0 0 |
| 23 | |
| 24 | The runner script accepts both -v and -d to set verbose and debug options |
| 25 | for RMR when the programme is run. |
| 26 | |
| 27 | |
| 28 | The maker script will always build the test programmes whether they've been |
| 29 | changed or not. By default the current .deb packages in ../../.build are |
| 30 | used, but the -b option can be given to force a rebuild of the RMR libraries |
| 31 | in addition to building the tools. If the ../../.build directory does not |
| 32 | exist, it should automatically be created and RMR built. |
| 33 | |