On Sat, 20 Mar 2021, Daniel Wagner wrote: > v3: > - rebase > - two patches splitted into per test program change > - commit messsage added > > v2: > - added 'return_code' to the common section of the JSON output > - dropped 'inversion' as we have 'return_code' in pip_stress > - dropped 'success' as we have 'return code in ssdd > > All patches are also available at: > > https://github.com/igaw/rt-tests/tree/json-output-2021-03-20 > > Daniel Wagner (33): > cyclictest: Remove unused include header > cyclicdeadline: Remove unused include header > signaltest: Add missing --output usage info > rt-util: Add rt_init function > cyclictest: Initialize rt-util > oslat: Initialize rt-util > pmqtest: Initialize rt-util > ptsematest: Initialize rt-util > rt-migrate-test: Initialize rt-util > cyclicdeadline: Initialize rt-util > signaltest: Initialize rt-util > sigwaittest: Initialize rt-util > svematest: Initialize rt-util > rt-util: Remove superfluous arguments from rt_write_json > rt-util: Introduce rt_test_start() > cyclictest: Record start of test execution > oslat: Record start of test execution > pmqtest: Record start of test execution > ptesematest: Record start of test execution > rt-migrate-test: Record start of test execution > cyclicdeadline: Record start of test execution > signaltest: Record start of test execution > sigwaittest: Record start of test execution > svsematest: Record start of test execution > rt-util: Add return_code to common section of JSON output > pip_stress: Move test result output to main > pip_stress: Return failure code if test fails > pip_stress: Prepare arg parser to accept only long options > pip_stress: Add JSON output feature > pi_stress: Prepare command line parser for long options only > pi_stress: Add JSON output feature > ssdd: Add quiet command line option > ssdd: Add JSON output feature > > src/cyclictest/cyclictest.c | 5 +- > src/include/rt-utils.h | 6 +- > src/lib/rt-utils.c | 85 ++++++++++++++++----------- > src/oslat/oslat.c | 6 +- > src/pi_tests/pi_stress.c | 65 ++++++++++++++++---- > src/pi_tests/pip_stress.c | 40 +++++++++---- > src/pmqtest/pmqtest.c | 4 +- > src/ptsematest/ptsematest.c | 4 +- > src/rt-migrate-test/rt-migrate-test.c | 4 +- > src/sched_deadline/cyclicdeadline.c | 6 +- > src/signaltest/signaltest.c | 5 +- > src/sigwaittest/sigwaittest.c | 4 +- > src/ssdd/ssdd.c | 43 +++++++++++--- > src/svsematest/svsematest.c | 4 +- > 14 files changed, 199 insertions(+), 82 deletions(-) > > -- > 2.30.2 > > Thanks Daniel! On this right away. John