Open anholt opened 1 month ago
Motivation: ET_DYN WIP is at https://github.com/anholt/kerla/tree/et-dyn, commit log shows the current sticking point.
Putting binary-based tests in the Dockerfile sounds good. Running them on Linux is still simple, and I think we can still debug it with docker debug
.
I'm working on ELF binfmt support a bit, and I'd like to be able to write integration tests in C. How would we like to integrate non-shell integration tests? One thought would be to build them from testing/Dockerfile, so that we have a reproducible build without demanding that the user install a bunch of arbitrary tools just to build kerla. The downside to that plan is that then verifying that the integration test actually passes on Linux means
docker run
ing instead of just invoking the binary, and that docker container won't have all the tools you're used to (gdb, eu-readelf, etc.).Thoughts?