Renamed operation test -> info

pull/4858/head
Daniel Mensinger 6 years ago
parent 8bb942ef25
commit c64d80cf2f
No known key found for this signature in database
GPG Key ID: 54DD94C131E277D4
  1. 4
      mesonbuild/rewriter.py
  2. 18
      test cases/rewrite/1 basic/addSrc.json
  3. 18
      test cases/rewrite/1 basic/info.json
  4. 18
      test cases/rewrite/1 basic/rmSrc.json
  5. 2
      test cases/rewrite/2 subdirs/addSrc.json
  6. 2
      test cases/rewrite/2 subdirs/info.json

@ -251,7 +251,7 @@ rewriter_keys = {
},
'target': {
'target': (str, None, None),
'operation': (str, None, ['src_add', 'src_rm', 'test']),
'operation': (str, None, ['src_add', 'src_rm', 'info']),
'sources': (list, [], None),
'debug': (bool, False, None)
}
@ -493,7 +493,7 @@ class Rewriter:
if root not in self.modefied_nodes:
self.modefied_nodes += [root]
elif cmd['operation'] == 'test':
elif cmd['operation'] == 'info':
# List all sources in the target
src_list = []
for i in target['sources']:

@ -44,46 +44,46 @@
{
"type": "target",
"target": "trivialprog1",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog2",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog3",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog4",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog5",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog6",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog7",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog8",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog9",
"operation": "test"
"operation": "info"
}
]

@ -2,46 +2,46 @@
{
"type": "target",
"target": "trivialprog1",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "exe2",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog3",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "exe4",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog5",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "exe6",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog7",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "exe8",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog9",
"operation": "test"
"operation": "info"
}
]

@ -38,46 +38,46 @@
{
"type": "target",
"target": "trivialprog1",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog2",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog3",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog4",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog5",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog6",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog7",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog8",
"operation": "test"
"operation": "info"
},
{
"type": "target",
"target": "trivialprog9",
"operation": "test"
"operation": "info"
}
]

@ -8,6 +8,6 @@
{
"type": "target",
"target": "something",
"operation": "test"
"operation": "info"
}
]

@ -2,6 +2,6 @@
{
"type": "target",
"target": "something",
"operation": "test"
"operation": "info"
}
]

Loading…
Cancel
Save