[1/2] runtest: Modified the default program so that it might find the test program.

Dylan Smith dylan.ah.smith at gmail.com
Mon Sep 29 18:45:37 CDT 2008


Previously the test program was found using the infile parameter.  In other
words, if there is a test in editor.c, it will look for editor.exe.  Of
course this will never find the test program since they all have the form
$(dllname)_test.exe.so or $(dllname)_crosstest.exe

I modified it to look at the current directory to see if it is in tests
directory, or if tests was in the working directory.  This means that
someone can cd to dlls/* or dlls/*/tests, and then now have to specify the
test program with -p.
---
 tools/runtest |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-runtest-Modified-the-default-program-so-that-it.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080929/90e16091/attachment.txt 


More information about the wine-patches mailing list