Commit Graph

17 Commits

Author SHA1 Message Date
34085fd96d improve the release procedure 2019-01-22 00:00:00 +00:00
a3069aaa3d cli_function: bool default=True is saner now, leaves negation to --no- 2019-01-22 00:00:00 +00:00
bf2a0d3caf cli_function: print nargs positional args properly 2019-01-22 00:00:00 +00:00
c2983e0e1f bench-boot: start convert to cli function 2019-01-22 00:00:00 +00:00
f4ded18780 cli_function: config args are given 2019-01-22 00:00:00 +00:00
ae72c54fac only forward common args that were given, stop forwarding _args_given 2019-01-22 00:00:00 +00:00
6ef779209e cli_function: get_cli do action=append as multiple args
This is especially important to print the arch and emulator of subcommands
nicely when doing ./test-userland -v.
2019-01-22 00:00:00 +00:00
7c7ac82a6b forward _args_given with common options
Use _args_given instead of is None everywhere.

The problem is as follows: emulator=gem5 implies a non "virt" machine.
However, when we call ./build baremetal-gem5, we don't set the emulator to
gem5, and so machine=virt. Then when we do a Python call, machine=virt
is still set.
2019-01-22 00:00:00 +00:00
4dcb689d02 cli_function: determine if argument was given 2019-01-22 00:00:00 +00:00
09659162fb common: multi arch everywhere 2019-01-22 00:00:00 +00:00
091ca99902 cli_function: extra argument for per-script configs 2019-01-22 00:00:00 +00:00
44a674e87d cli_function: handle nargs="*" in config file
nargs="*" leads to default [] and not None
2019-01-22 00:00:00 +00:00
0a33292326 start porting build 2019-01-22 00:00:00 +00:00
b72f75b531 print cli equivalent for commands called via python cli 2019-01-22 00:00:00 +00:00
f2e73bac83 create userland tests
Fix some more tabs.

Parse the "Simulated exit code not 0!" string in gem5 and exit with the proper status
2019-01-22 00:00:00 +00:00
3ce152f61c test-gdb: move to pure python calls 2019-01-22 00:00:00 +00:00
a5ec63dc28 CliFunction 2019-01-22 00:00:00 +00:00