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

Unified Diff: tools/lexer_generator/run_lexing_tests.py

Issue 140033005: Experimental lexer: tiny test fix. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 6 years, 11 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: tools/lexer_generator/run_lexing_tests.py
diff --git a/tools/lexer_generator/run_lexing_tests.py b/tools/lexer_generator/run_lexing_tests.py
index 0ef6bb9ee0a84e47a71f7114f7dfb4e43ac9caa9..2dc5ccaf692125f075b31e2314cc2af00bde69ed 100644
--- a/tools/lexer_generator/run_lexing_tests.py
+++ b/tools/lexer_generator/run_lexing_tests.py
@@ -46,7 +46,7 @@ if __name__ == '__main__':
file_file = sys.argv[2]
process_count = int(sys.argv[3])
with open(file_file, 'r') as f:
- test_files = f.read().split('\n')
+ test_files = [filename for filename in f.read().split('\n') if filename]
with open('/dev/null', 'w') as dev_null:
processes = []
« 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