tests: Automatically deduce the tool name from the test case for unit tests

It is still possible to override the executable to run during the test,
using the <tool> tag, but this patch removes the requirement that the
tag must be present for unit tests.

It also removes the possibility of human error when existing test cases
are used as the basis for new tests, as recently witnessed in 81c37124.

Reviewed-by: Daniel Stenberg
Closes #4976
This commit is contained in:
Steve Holme 2020-02-23 08:20:32 +00:00
parent d9e40f57de
commit 0922f76240
No known key found for this signature in database
GPG key ID: 4059CB85CA7E8F19
39 changed files with 16 additions and 153 deletions

View file

@ -18,9 +18,5 @@ unittest
<name>
base64 encode/decode unit tests
</name>
<tool>
unit1302
</tool>
</client>
</testcase>