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

Unified Diff: pydir/crosstest_generator.py

Issue 1020473002: Subzero: Fix a bug in cross test generation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pydir/crosstest_generator.py
diff --git a/pydir/crosstest_generator.py b/pydir/crosstest_generator.py
index 3038f4ced26899801e3df2d95de39956877c85c6..945ad0086b597ea4dbaf7968919bb20af2b43908 100755
--- a/pydir/crosstest_generator.py
+++ b/pydir/crosstest_generator.py
@@ -20,10 +20,10 @@ def Match(desc, includes, excludes, default_match):
Otherwise, the 'default_match' value is returned.
"""
for exclude in excludes:
- if exclude < desc:
+ if exclude <= desc:
return False
for include in includes:
- if include < desc:
+ if include <= desc:
return True
return default_match
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698