mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
autotest: remove fast_loop tasks test
This commit is contained in:
parent
cc2acc35a6
commit
67aecea4c1
@ -8440,15 +8440,11 @@ class AutoTestCopter(AutoTest):
|
||||
self.delay_sim_time(5)
|
||||
content = self.fetch_file_via_ftp("@SYS/tasks.txt")
|
||||
self.progress("Got content (%s)" % str(content))
|
||||
if "fast_loop" not in content:
|
||||
raise NotAchievedException("Did not find fast_loop in content")
|
||||
|
||||
lines = content.split("\n")
|
||||
|
||||
if not lines[0].startswith("TasksV2"):
|
||||
raise NotAchievedException("Expected TasksV2 as first line first not (%s)" % lines[0])
|
||||
if not lines[1].startswith("fast_loop"):
|
||||
raise NotAchievedException("Expected fast_loop first, not (%s)" % lines[1])
|
||||
# last line is empty, so -2 here
|
||||
if not lines[-2].startswith("AP_EFI::update"):
|
||||
raise NotAchievedException("Expected EFI last not (%s)" % lines[-2])
|
||||
|
Loading…
Reference in New Issue
Block a user