bench_run needs improvements
Reported by Pierre-Aime AGNEL
Originally assigned to Pierre-Aime AGNEL
BUG DESCRIPTION:
----------------
bench_run needs several improvements:
* return values to record the tests results
* the xml output is not documented and writes directly in SCI
* contrary to test_run it's not possible to execute it for a "path"
I suggest adding the following features
1/ [test_name_out, elapsed_time_out, nb_run_out] = bench_run(...)
* test_name_out N*2 matrix of strings gives the module and name of the benchmarks where N is the number of benchmarks
* elapsed_time_out N*1 matrix of doubles, gives the time
* nb_run_out : the number of runs performed
2/ Allow bench_run("path/to/directory"[, "bench_name"]) to work on any path
* will scan the existence of "path/to/directory/tests/benchmark"
* performs the benchmark for every script found under "path/to/directory/tests/benchmark"
3/ Add an output file for the tests
* I suggest an xml format
* and a csv format
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
OTHER INFORMATION:
------------------