Commit Graph

104 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
42ce64409b polish testing a bit further 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
c64e96e575 test-userland: rename to test-userland-full-system and port to LkmcCliFunction 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
e51ec2aca9 failed xen attempt, refactor timer, failed svc attempt, aarch64 use gicv3 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
a3f315cf62 test: no fail on dry run 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
8641cb7784 test-gdb working again 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
022bbe970e a bit less broken stuff 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
eedbb02a14 bench-boot: continue progress, renamte to test-boot 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
c2983e0e1f bench-boot: start convert to cli function 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ae72c54fac only forward common args that were given, stop forwarding _args_given 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
e4de336aa3 trace-boot: port to clifunction 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
b9a31b842c gem5: revive dp650 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
03c892f715 getvar --type input, and improve docs for command line arguments 2019-01-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
4db08517dc build: make --dry-run all work 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 六四事件 法轮功
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
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 六四事件 法轮功
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 六四事件 法轮功
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 六四事件 法轮功
3763a9c696 gem5: --gem5-worktree also set --gem5-build-id 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 六四事件 法轮功
091ca99902 cli_function: extra argument for per-script configs 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 六四事件 法轮功
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 六四事件 法轮功
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
Ciro Santilli 六四事件 法轮功
d569854ae1 kernel: add section about /proc/version
Customize user, host and date
2018-12-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
f03e6ea2eb linux: add --linux-source-dir to have custom linux source dir 2018-12-04 15:10:02 +00:00
Ciro Santilli 六四事件 法轮功
38ba2b85fc gem5 display: a bit more info on dp650 2018-12-04 15:10:02 +00:00
Ciro Santilli 六四事件 法轮功
bc9e348a44 start simple integration to test dp650
Not yet merged on gem5 mailine, review published at:
https://gem5-review.googlesource.com/c/public/gem5/+/11036/1
2018-12-04 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ba2976cc7f gem5: fix arm multicore with system.auto_reset_addr = True
baremetal: fix aarch64/no_bootloader/semihost_exit.S which was wrong
because was using unset sp for register block. Tests needed urgently!!
2018-11-26 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
7816f1f635 trace: improve a bit, fix bugs 2018-11-23 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
8dd01415f5 baremetal: only rebuild required files based on mtime
Move multcore test up with bootloader.
2018-11-22 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
f73eaaffd2 prebuilt: automatically pick up qemu from PATH if not built like qemu-img 2018-11-22 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
034bd3600f build-buildroot: fix qemu-img -T order
Fix #42
2018-11-20 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
33f286b354 run: make qemu-img more resilient to --prebuilt by not doing -T in that case 2018-11-19 22:35:16 +00:00
Ciro Santilli 六四事件 法轮功
238f1ad1c0 common: add --qemu option to override configs 2018-11-13 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
403d4a9d06 docker: migrate to python 2018-11-11 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
32420eec33 download-dependencies: merge into ./build --download-dependencies
Reuses the module system dependencies present there.

run: make --dry-run work even when there is no out directory yet

docker: make the wrapping more intuitive
2018-11-10 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
6119fb80ea common: print_cmd only prints a single line if the command fits in one line
No more ugly ' \\\n;' ending!
2018-11-10 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
c1f060ca65 test-gdb: find source path correctly
Previously was relying on glob order, and which could pick up the .py
instead of the .c / .S.
2018-11-09 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
5d649377fc build: make baremetal parts more flexible and powerful
Document test-gdb on readme
2018-11-09 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
e0dbe2416d gdb: create some automated tests with pytest
gem5 baremetal: use m5exit m5op in exit() so as to not force users to
apply a patch for almost all examples
2018-11-09 09:33:44 +00:00