[Bug 33375] New: Cannot test dlls with dashes in their name

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Apr 12 17:10:55 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=33375

             Bug #: 33375
           Summary: Cannot test dlls with dashes in their name
           Product: Wine
           Version: 1.5.19
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build-env
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: fgouget at codeweavers.com
    Classification: Unclassified


Created attachment 44165
  --> http://bugs.winehq.org/attachment.cgi?id=44165
Patch to reproduce this bug

No conformance test can be written for dlls that have a dash in their name.
These will first run into a build error:

echo "api-ms-win-security-base-l1-1-0_test.exe TESTRES
\"api-ms-win-security-base-l1-1-0_test-stripped.exe.so\"" |
LD_LIBRARY_PATH="../../../libs/wine:$LD_LIBRARY_PATH" ../../../tools/wrc/wrc
--nostdinc --po-dir=../../../po -m32 -I. -I. -I../../../include
-I../../../include  -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS   -o
../../../programs/winetest/api-ms-win-security-base-l1-1-0_test.res
:1:5: Error: syntax error

What surprises me is that the dot on the 'TESTRES' left-hand causes no problem
while the dashes do. I tried quoting that string but it did not help.


The next problem is that if the TESTRES left-hand is modified to work around
that issue, then winetest.exe will not be able to find the corresponding dll
anymore and will thus skip the test. Filtering the list of tests to run based
on the command line will likely be broken too.

I'm attaching a patch to reproduce this issue.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list