mirror of https://github.com/ArduPilot/ardupilot
autotest: add progress file for enable-in-turn
This commit is contained in:
parent
c0dc3636d2
commit
013d7541b7
|
@ -300,7 +300,7 @@ class TestBuildOptions(object):
|
||||||
if not fnmatch.fnmatch(feature.define, self.match_glob):
|
if not fnmatch.fnmatch(feature.define, self.match_glob):
|
||||||
continue
|
continue
|
||||||
with open("/tmp/run-disable-in-turn-progress", "w") as f:
|
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":
|
# if feature.define < "WINCH_ENABLED":
|
||||||
# count += 1
|
# count += 1
|
||||||
# continue
|
# continue
|
||||||
|
@ -324,6 +324,8 @@ class TestBuildOptions(object):
|
||||||
continue
|
continue
|
||||||
self.progress("Enabling feature %s(%s) (%u/%u)" %
|
self.progress("Enabling feature %s(%s) (%u/%u)" %
|
||||||
(feature.label, feature.define, count, len(options)))
|
(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)
|
self.test_enable_feature(feature, options)
|
||||||
count += 1
|
count += 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue