From af8918500cc3149f3a3e20eb5eb4c535ebe4f438 Mon Sep 17 00:00:00 2001 From: bluew Date: Mon, 20 Jan 2020 13:55:04 +0000 Subject: [PATCH] bwruntest: Add example command --- scripts/bwruntests.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/scripts/bwruntests.py b/scripts/bwruntests.py index 2da5f1c..2c8908b 100755 --- a/scripts/bwruntests.py +++ b/scripts/bwruntests.py @@ -67,7 +67,18 @@ commands.f make -C ./ml_tests/mlGrad clean all run make -C ./ml_tests/mlDct clean all run [...] -""") + +Example: +bwruntests.py --proc-verbose -v \\ + --report-junit -t 3600 --yaml \\ + -o simplified-runtime.xml runtime-tests.yaml + +This Runs a set of tests defined in runtime-tests.yaml and dumps the +resulting junit.xml into simplified-runtime.xml. The --proc-verbose +scripts makes sure to print the stdout of each process to the shell. To +prevent a broken process from running forever, a maximum timeout of 3600 +seconds was set. For debugging purposes we enabled -v (--verbose) which +shows the full set of commands being run.""") runtest.version = '0.2'