fixup! run.py: issues with forced configuration fixed

This commit is contained in:
Maksim Shabunin 2015-11-19 15:32:42 +03:00
parent 7df392bfd8
commit c3cf1be344

View File

@ -66,7 +66,7 @@ class TestSuite(object):
res.append(fname) # filename (opencv_test_core.exe) res.append(fname) # filename (opencv_test_core.exe)
for s in getCuts(fname, self.nameprefix): for s in getCuts(fname, self.nameprefix):
res.append(s) res.append(s)
if self.cache.build_type == "Debug": if self.cache.build_type == "Debug" and "Visual Studio" in self.cache.cmake_generator:
res.append(re.sub(r"d$", '', s)) # MSVC debug config, remove 'd' suffix res.append(re.sub(r"d$", '', s)) # MSVC debug config, remove 'd' suffix
log.debug("Aliases: %s", set(res)) log.debug("Aliases: %s", set(res))
return set(res) return set(res)