[2/2] runtest: Let the test program handle the lack of a test name. (try 2)

Dylan Smith dylan.ah.smith at gmail.com
Wed Oct 1 07:27:46 CDT 2008

If no test name is specified in the test program, then it will either print
all the valid test names, or if it has only one test to run, then it will
run it.  This is much more helpful that runtest catching the missing test
name, since it doesn't print the test names, and doesn't allow the test name
to be missing when there is only a single test file.

I updated the patch to handle spaces in $infile or $@. Instead I check
if $infile is empty, which is necessary to prevent it from searching
for an empty string for the test name.
 tools/runtest |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-2-2-runtest-Let-the-test-program-handle-the-la.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081001/01ab0ac0/attachment.txt 

More information about the wine-patches mailing list