[rosautotest]: Find the last underscore instead of the first one when building a module name, hurray for twain_32_winetest and ws2_32_winetest

See issue #4929 for more details.

svn path=/trunk/; revision=44282
This commit is contained in:
Gregor Schneider 2009-11-24 20:36:53 +00:00
parent e016a230af
commit 70dc807bf2

View file

@ -227,7 +227,7 @@ CWineTest::GetNextTestInfo()
TestInfo->CommandLine += AsciiToUnicode(m_CurrentTest);
/* Store the Module name */
UnderscorePosition = m_CurrentFile.find('_');
UnderscorePosition = m_CurrentFile.find_last_of('_');
if(UnderscorePosition == m_CurrentFile.npos)
{