Commit Graph

12 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
ff8cbe9d7a test-baremetal: same interface as test-user-mode
In particular, runs tests in parallel, and allows selecting given tests
2019-05-06 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9cd48d5184 userland: make libs work
Working for build, but now test-user-mode-in-tree is not using --in-tree,
TODO fix later on.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
eba97f9cef userland: try to make userland executable selection saner
Only allow existing files to be built, stop extension expansion madness.

cli_function: get_cli print booleans properly, was printing without --no-
for negations.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ca2dbcd25d userland: path properties getting nice! 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
8509f17a84 userland: native testing 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5daad53289 thread_pool: support passing thread IDs
Then use that to fix gem5 error log read race.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
b49ebb1c8a userland: get a bit closer to perfection 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
85006363f8 test-user-mode: make perfect like build-userland
Multithreading and target selection.
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
81a2ba927f userland: build really truly working now
userland test: start work, in a working state, but no features
2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
abb67c14b8 preparing test_user_mode, need to generalize stuff as usual 2019-05-05 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
0deab8f8f7 user mode: use the nonexistent symlink workaround
I was considering setting --static by default to match gem5, but then
that breaks shared libraries like openblas... so let's just use the
ugly workaround for now as it seems to work...
2019-03-12 10:01:38 +00:00
Ciro Santilli 六四事件 法轮功
da900a579c LKMC v3.0
This is a squash commit, the unsquashed development went through many
unstable phases which would break bisects. The unsquashed branch is:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/v3.0-unsquash

The main improvement of this release was to greatly generalize the testing system.

The key addition was cli_function.py, which allows scripts such as ./run to
be transparently called either from Python or from the command line.

New tests scripts were created using this improved framework: test-baremetal
and test-user-mode.

We were lazy to port some of less important tests to the new setup, TODO's were
added, and we need comes they will be fixed. Getting started is however sacred
as usual and should work.

Other changes include:

-   gem5: update to 7fa4c946386e7207ad5859e8ade0bbfc14000d91

-   run: --tmux-args implies --tmux

-   run: add --userland-args to make userland arguments across QEMU and gem5

    Get rid of --userland-before as a consequence.

-   bring initrd and initramfs back to life

-   build-userland: create --static to make build a bit easier

-   gem5: --gem5-worktree also set --gem5-build-id

-   remove --gem5, use --emulator gem5 everywhere

    Allow passing --emulator multiple times for transparent tests selection
    just like --arch.

-   test-userland: allow selecting just a few tests

-   linux: update to v4.20

-   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!

-   getvar --type input

-   failed xen attempt, refactor timer, failed svc attempt, aarch64 use gicv3

-   build-doc: exit 1 on error, add to release testing

-   build: add --apt option to make things easier on other distros

-   build-linux: --no-modules-install
2019-01-22 00:00:00 +00:00