mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-19 15:45:23 +01:00
- eu07_td_red_signal: no route set, the train has to stop before the exit
signal and stay there (new checks stays_stopped and distance; distance
is integrated from the speed, the physicslog has no position)
- en57/ep09/et22/sm42/sn61/vectron/eu07_td_timetable share one fragment
template, td_timetable.scn; a case sets vars.consist and the lead vehicle
is named {{vehicle}} = autotest_<case>
- -j N runs cases in parallel: each case has its own physicslog and, with
multiplelogs, its own log files, which are moved to out/<case>/
- a run stops at once on Bad vehicle / Bad trainset instead of waiting for
the timeout, and fails after 120 s without physicslog rows
- the .sbt geometry cache of a test scenery is dropped when the base
scenery is newer
All 8 cases pass in about a minute with -j 4.
19 lines
667 B
JSON
19 lines
667 B
JSON
{
|
|
"description": "EU07 on td.scn with no route set: pulls off, stops before the exit signal stacja1_j at stop, and stays there.",
|
|
"base_scenery": "td.scn",
|
|
"time": "10:34",
|
|
"fragment": "td_red_signal.scn",
|
|
"vars": {
|
|
"consist": "node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic"
|
|
},
|
|
"duration": 240,
|
|
"timeout": 600,
|
|
"checks": [
|
|
{ "type": "starts", "min_speed": 5, "within": 150 },
|
|
{ "type": "max_speed", "limit": 40 },
|
|
{ "type": "stops", "moving_speed": 5, "stop_speed": 0.5, "hold": 5 },
|
|
{ "type": "stays_stopped", "moving_speed": 5, "stop_speed": 0.5 },
|
|
{ "type": "distance", "max": 150 }
|
|
]
|
|
}
|