autest command errors should log the failing command
- Dominant language
- C++
- Stars
- 2k
- Forks
- 874
- Avg merge
- 6d 15h
- Merged PRs (30d)
- 46
Description
When autest runs a command, there is typically a return code check. Per the failure I saw in #9770, the test error message looks like this:
```
Setting up : Copying '/home/jenkins/workspace/Github_Builds/autest/src/tests/gold_tests/pluginTest/polite_hook_wait/.libs/polite_hook_wait.so' to '/tmp/sandbox/polite_hook_wait/ts/plugin' - Passed
Test : Checking that ReturnCode == 0 - Failed
Reason: Returned Value -9 != 0
Time-Out : Process finishes within expected time - Passed
Reason: Returned value: 10.503296613693237 < 600.0
```
This doesn't tell you what failed, which makes it hard to figure out. At minimum, autest should log the command that exited with the unwanted return code. It would be even better if it gave you the source code line in the test of where that command was added.
Contributor guide
Assessment
This issue has not been assessed yet.