Commit Graph

1081 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
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
Ciro Santilli 六四事件 法轮功
1832e44a00 tests: print --dry-run -v newlines nicely 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
7597834f31 test-baremetal: create 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5e8add55fc test-gdb and test-userland: fix --dry-run missing seconds 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
eccefa4c57 common: rename _src_ to _source_ everywhere 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
a1ae3fbd26 test-userland: remove todo that was already done 2019-01-22 00:00:00 +00:00
Ciro Santilli
8499df9879 readme: fix --gem5 references 2019-01-22 00:00:00 +00:00
Ciro Santilli
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
Ciro Santilli
9a2e630fed docker: fix after args refactor 2019-01-22 00:00:00 +00:00
Ciro Santilli
22e26aa002 gem5-shell: fix after removal of --gem5 2019-01-22 00:00:00 +00:00
Ciro Santilli
46bf33fb4e buildroot: update to 2018.08
The main motivation for this was to fix the build for Ubuntu 18.10, which
has glibc 2.28, which broke the 2018.05 build at the m4-host package with:

    #error "Please port gnulib fseeko.c to your platform!

The fixing commit is: c48f8a64626c60bd1b46804b7cf1a699ff53cdf3
2019-01-22 00:00:00 +00:00
Ciro Santilli
8bef6a9389 linux: update to v4.20 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
edb515c369 build: maybe it is working again 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
c02d52267f test-gdb and test-userland: print time of each test 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
928b01f458 add a --quiet flag
test-gdb and test-userland produce beautiful output by default

create def get_common_args to help forward common args to child calls...
it is ugly, but I'm lazy for a perfect solution now
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
4d5ae213e0 build-baremetal and build-crosstool-ng: make -A work, move arch check to common 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
d79771aa21 test-userland: allow selecting just a few tests 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
38ca239ad2 remove --gem5, use --emulator gem5 everywhere
Allow passing --emulator multiple times for transparent tests selection
just like --arch.
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
4dcb689d02 cli_function: determine if argument was given 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
34f77a498c test-gdb: allow running just one test 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
3763a9c696 gem5: --gem5-worktree also set --gem5-build-id 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ecee4738bc test-gdb: exit immediately in case of failure instead of hanging forever 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
d3a839ea4a run-gdb: make dry run dry 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
de90cd9c97 test-gdb: improve integration with arch list 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
b478346818 common: make multi arch actually work for builds
userland: create --static to make build a bit easier

Manually forward --dry-run to test-userland.
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
09659162fb common: multi arch everywhere 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
bf5cb472de getting started: link to gdb step debug information 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
fa928017c9 test: add test-userland 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
091ca99902 cli_function: extra argument for per-script configs 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
44a674e87d cli_function: handle nargs="*" in config file
nargs="*" leads to default [] and not None
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5541167853 config: update example to new mechanism 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
0a33292326 start porting build 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
b72f75b531 print cli equivalent for commands called via python cli 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
869e0b2d17 reamde userland directory: explain the different ways to run it, link back to user mode 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
f388ad6460 run: add --userland-args to make userland arguments across QEMU and gem5
Get rid of --userland-before as a consequence.
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
4ae3dea975 run: --tmux-args implies --tmux 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
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
Ciro Santilli 六四事件 法轮功
780e9ceeb4 test-gdb: ok, it actually works now and exits a failure, OMG I hate threads 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
76b5744fee gem5: update to 7fa4c946386e7207ad5859e8ade0bbfc14000d91
The main motivation is to fix the aarch64 GDB stub with
b5cc34d767410e98f54f2955bb274f0f8c3708e4
2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
3ce152f61c test-gdb: move to pure python calls 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
d923c606f3 getvar works again 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
cfde7759be --linux-build-dir 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
a5ec63dc28 CliFunction 2019-01-22 00:00:00 +00:00
Reveriel
3b0a343647 kernel module: format, use tab to indent. v3.0-rc1 2018-12-12 08:07:34 +00:00
Ciro Santilli 六四事件 法轮功
9f6ddbc436 parsec: fix package name on README with underscore 2018-12-10 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
d569854ae1 kernel: add section about /proc/version
Customize user, host and date
2018-12-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
4f115bbde3 gem5: improve factoring of gem5 linux kernel build references 2018-12-04 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
cb32b2994c gem5: use --generate-dtb by default 2018-12-04 15:10:02 +00:00
Ciro Santilli 六四事件 法轮功
f8d9514e79 add --custom-config-file-gem5 option to build gem5 kernels more easily 2018-12-04 15:10:02 +00:00
Ciro Santilli 六四事件 法轮功
f03e6ea2eb linux: add --linux-source-dir to have custom linux source dir 2018-12-04 15:10:02 +00:00