changeset 22127:3163b8f8ff26

test-revert: display the list of all generated cases This will help to track all existing cases. (still very simple now)
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 25 Jun 2014 17:24:18 +0100
parents 651b2149f1e7
children db23fb4e210d
files tests/test-revert.t
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-revert.t	Fri Jun 27 16:08:09 2014 +0200
+++ b/tests/test-revert.t	Wed Jun 25 17:24:18 2014 +0100
@@ -460,7 +460,9 @@
   > content = []
   > for filename, ctxkey, wckey in combination:
   >     cc = ctxcontent[ctxkey]
-  >     if target == 'base':
+  >     if target == 'filelist':
+  >         print filename
+  >     elif target == 'base':
   >         content.append((filename, cc[0]))
   >     elif target == 'parent':
   >         content.append((filename, cc[1]))
@@ -477,6 +479,11 @@
   >     f.close()
   > EOF
 
+check list of planned files
+
+  $ python gen-revert-cases.py filelist
+  modified_clean
+
 Script to make a simple text version of the content
 ---------------------------------------------------