give up on trac2line full porting, just call sh script for now

This commit is contained in:
Ciro Santilli
2018-09-06 08:01:58 +01:00
parent df47eba450
commit 24b539f152
4 changed files with 88 additions and 41 deletions

8
runtc
View File

@@ -1,5 +1,6 @@
#!/usr/bin/env python3
import os
import subprocess
import sys
@@ -30,4 +31,9 @@ parser.add_argument(
nargs='*'
)
args = common.setup(parser)
sys.exit(subprocess.Popen([common.get_toolchain_tool(args.tool)] + args.extra_args).wait())
sys.exit(common.run_cmd(
[common.get_toolchain_tool(args.tool)] + args.extra_args,
cmd_file=os.path.join(common.run_dir, 'runtc.sh'),
cwd=common.linux_variant_dir,
show_cmd=False,
))