SuzanneSoy / os-test-framework

Test framework to run an OS in multiple emulators, as a guest graphical / text shell on linux, and so on.
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Reproducible test environments (using guix) #44

Open SuzanneSoy opened 6 years ago

SuzanneSoy commented 5 years ago

Guix has licensing issues (the Guix library of functions which are used by recipes is under the GPL, and recipes must therefore be under the GPL too).

Maybe we can use the NIX package manager instead (it uses a MIT license I think).

Using http://proot-me.github.io we can install packages via NIX in a subdirectory without needing root access.

Using env -i we can discard the user's environment variables.

Using QEMU (without -kvm if kvm is not available or fails), we can isolate the build and tests from the user's kernel if needed, or run the build and tests on another OS e.g. WIndows or MacOS or BSD, even if it runs more slowly.