|
@@ -132,10 +132,12 @@ def prepare_alias(args):
|
|
|
raise ValueError("quick/td use the canonical firmware command; use submit for a custom command")
|
|
raise ValueError("quick/td use the canonical firmware command; use submit for a custom command")
|
|
|
action = 'diagnose' if args.action == 'quick' else 'build'
|
|
action = 'diagnose' if args.action == 'quick' else 'build'
|
|
|
# No shell expansion: the run directory is resolved inside the worker.
|
|
# No shell expansion: the run directory is resolved inside the worker.
|
|
|
|
|
+ # 1200s measured need: the real-rate 12-axis engine TB (25 Hz Z
|
|
|
|
|
+ # half-period restored by contract) runs 782s wall in vvp.
|
|
|
code = ("import os,sys; from pathlib import Path; from tools.fw_cli import main; "
|
|
code = ("import os,sys; from pathlib import Path; from tools.fw_cli import main; "
|
|
|
"raise SystemExit(main([sys.argv[1],sys.argv[2],'--run-root',"
|
|
"raise SystemExit(main([sys.argv[1],sys.argv[2],'--run-root',"
|
|
|
"str(Path(os.environ['PROD2U_RUN_DIR'])/'native')" +
|
|
"str(Path(os.environ['PROD2U_RUN_DIR'])/'native')" +
|
|
|
- (",'--timeout','180'" if args.action == 'quick' else "") + "]))")
|
|
|
|
|
|
|
+ (",'--timeout','1200'" if args.action == 'quick' else "") + "]))")
|
|
|
args.command = ['python3', '-c', code, action, args.target]
|
|
args.command = ['python3', '-c', code, action, args.target]
|
|
|
args.action = 'submit'
|
|
args.action = 'submit'
|
|
|
|
|
|