mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 18:12:05 +08:00
test_models: don't skip test cases with multiple pytest jobs (#28953)
* Update test_models.py * Update selfdrive/car/tests/test_models.py * Update selfdrive/car/tests/test_models.py old-commit-hash: f6390c6e4092ee69ea73753419b86dd9d8b5cf27
This commit is contained in:
@@ -39,7 +39,7 @@ for r in routes:
|
||||
test_cases: List[Tuple[str, Optional[CarTestRoute]]] = []
|
||||
for i, c in enumerate(sorted(all_known_cars())):
|
||||
if i % NUM_JOBS == JOB_ID:
|
||||
test_cases.extend((c, r) for r in routes_by_car.get(c, (None, )))
|
||||
test_cases.extend(sorted((c, r) for r in routes_by_car.get(c, (None, ))))
|
||||
|
||||
SKIP_ENV_VAR = "SKIP_LONG_TESTS"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user