tests/inst: Make nondestructive tests runnable as unit tests
authorColin Walters <walters@verbum.org>
Thu, 15 Apr 2021 14:43:33 +0000 (10:43 -0400)
committerColin Walters <walters@verbum.org>
Thu, 15 Apr 2021 16:33:34 +0000 (12:33 -0400)
commit7310203ce93c21502295c47cd116ab28a881223b
treeb30295d554b59a4c7b0b8d12b2e74e7bd20f88fc
parent46a0911c6d3999e36a10861c94f0c48c033a46f2
tests/inst: Make nondestructive tests runnable as unit tests

Ideally in the future we change more of our unit tests to
support running installed; we've tried this in the past with
https://wiki.gnome.org/Initiatives/GnomeGoals/InstalledTests

I'd like to pick that back up again.  This takes a step
towards that by having our Rust tests.

To make this even easier, add a `tests/run-installed`
which runs the installed tests (uninstalled, confusingly
but conveniently for now).
Makefile-tests.am
tests/inst/src/sysroot.rs
tests/run-installed [new file with mode: 0755]