| 1 |
Verifying the examples |
| 2 |
====================== |
| 3 |
|
| 4 |
If you have installed support for self-testing a proton installation you can |
| 5 |
automatically run and verify the examples. |
| 6 |
|
| 7 |
To build C, C++ tests and run all tests: |
| 8 |
|
| 9 |
cd TEMP-BUILD-DIR |
| 10 |
cmake INSTALL-PREFIX/share/proton/examples |
| 11 |
make |
| 12 |
ctest |
| 13 |
|
| 14 |
To run an individual test that does not require CMake, (e.g. ruby): |
| 15 |
|
| 16 |
cd INSTALL-PREFIX/share/proton/examples/ruby |
| 17 |
./testme |
| 18 |
|
| 19 |
Some testme scripts accept additional arguments (e.g. -v for verbose) |