Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: tools/valgrind/common.py

Issue 1377003: Add win32 gtest filter files shared between Wine and TSan/Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/valgrind/chrome_tests.py ('k') | tools/valgrind/valgrind_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/valgrind/common.py
===================================================================
--- tools/valgrind/common.py (revision 43070)
+++ tools/valgrind/common.py (working copy)
@@ -142,15 +142,18 @@
os.environ.get('WINESERVER'))
-def PlatformName():
- """Return a string to be used in paths for the platform."""
+def PlatformNames():
+ """Return an array of string to be used in paths for the platform
+ (e.g. suppressions, gtest filters, ignore files etc.)
+ The first element of the array describes the 'main' platform
+ """
# This has to be before IsLinux()
if IsWine():
- return 'wine'
+ return ['wine', 'win32']
if IsLinux():
- return 'linux'
+ return ['linux']
if IsMac():
- return 'mac'
+ return ['mac']
if IsWindows():
- return 'win32'
+ return ['win32']
raise NotImplementedError('Unknown platform "%s".' % sys.platform)
« no previous file with comments | « tools/valgrind/chrome_tests.py ('k') | tools/valgrind/valgrind_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698