In tests/benches, renamed cfg -> CFG

This is to better indicate this is a runner generated variable.
This commit is contained in:
Christopher Haster
2023-08-04 14:05:07 -05:00
parent 3be54b6fa4
commit 4efb55e0d7
11 changed files with 812 additions and 812 deletions

View File

@@ -410,7 +410,7 @@ def compile(test_paths, **args):
# create case run function
f.writeln('void __test__%s__run('
'__attribute__((unused)) struct lfs_config *cfg) {'
'__attribute__((unused)) struct lfs_config *CFG) {'
% (case.name))
f.writeln(4*' '+'// test case %s' % case.name)
if case.code_lineno is not None:
@@ -459,7 +459,7 @@ def compile(test_paths, **args):
'void);'
% (case.name))
f.writeln('extern void __test__%s__run('
'struct lfs_config *cfg);'
'struct lfs_config *CFG);'
% (case.name))
f.writeln()