autotest: add progress file for enable-in-turn

This commit is contained in:
Peter Barker 2023-05-04 06:58:11 +10:00 committed by Peter Barker
parent c0dc3636d2
commit 013d7541b7
1 changed files with 3 additions and 1 deletions

View File

@ -300,7 +300,7 @@ class TestBuildOptions(object):
if not fnmatch.fnmatch(feature.define, self.match_glob):
continue
with open("/tmp/run-disable-in-turn-progress", "w") as f:
print(f.write(f"{count}/{len(options)} {feature.define}\n"))
f.write(f"{count}/{len(options)} {feature.define}\n")
# if feature.define < "WINCH_ENABLED":
# count += 1
# continue
@ -324,6 +324,8 @@ class TestBuildOptions(object):
continue
self.progress("Enabling feature %s(%s) (%u/%u)" %
(feature.label, feature.define, count, len(options)))
with open("/tmp/run-enable-in-turn-progress", "w") as f:
f.write(f"{count}/{len(options)} {feature.define}\n")
self.test_enable_feature(feature, options)
count += 1