[polly] r266322 - Add InvalidContext to update_test.py.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 14 08:22:04 PDT 2016
Author: meinersbur
Date: Thu Apr 14 10:22:04 2016
New Revision: 266322
URL: http://llvm.org/viewvc/llvm-project?rev=266322&view=rev
Log:
Add InvalidContext to update_test.py.
This allows the test update script to add 'Invalid Context:' to test
cases. Enable with --check-include=InvalidContext.
Modified:
polly/trunk/test/update_check.py
Modified: polly/trunk/test/update_check.py
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/update_check.py?rev=266322&r1=266321&r2=266322&view=diff
==============================================================================
--- polly/trunk/test/update_check.py (original)
+++ polly/trunk/test/update_check.py Thu Apr 14 10:22:04 2016
@@ -95,6 +95,10 @@ def classyfier1(lines):
yield {'AssumedContext'}
line = i.__next__()
yield {'AssumedContext'}
+ elif line == ' Invalid Context:':
+ yield {'InvalidContext'}
+ line = i.__next__()
+ yield {'InvalidContext'}
elif line == ' Boundary Context:':
yield {'BoundaryContext'}
line = i.__next__()
More information about the llvm-commits
mailing list