Skip to content

Commit

Permalink
test replay: restore failed exit
Browse files Browse the repository at this point in the history
  • Loading branch information
Edison-CBS committed Jul 22, 2023
1 parent b49a5d5 commit 996111f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion selfdrive/test/longitudinal_maneuvers/maneuver.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def __init__(self, title, duration, **kwargs):
self.e2e = kwargs.get("e2e", False)
self.force_decel = kwargs.get("force_decel", False)


self.duration = duration
self.title = title

Expand Down
1 change: 0 additions & 1 deletion selfdrive/test/longitudinal_maneuvers/plant.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def __init__(self, lead_relevancy=False, speed=0.0, distance_lead=2.0,
self.acceleration = 0.0
self.speeds = []


# lead car
self.lead_relevancy = lead_relevancy
self.distance_lead = distance_lead
Expand Down
4 changes: 2 additions & 2 deletions selfdrive/test/process_replay/test_processes.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,6 @@ def format_diff(results, log_paths, ref_commit):
f.write(cur_commit)
print(f"\n\nUpdated reference logs for commit: {cur_commit}")

# sys.exit(int(failed))
sys.exit(int(failed))
# always be succeeded
sys.exit(0)
# sys.exit(0)

0 comments on commit 996111f

Please sign in to comment.