diff options
author | Colin Walters <walters@verbum.org> | 2021-04-15 10:43:33 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2021-04-15 12:33:34 -0400 |
commit | 7310203ce93c21502295c47cd116ab28a881223b (patch) | |
tree | b30295d554b59a4c7b0b8d12b2e74e7bd20f88fc /Makefile-tests.am | |
parent | 46a0911c6d3999e36a10861c94f0c48c033a46f2 (diff) | |
download | ostree-7310203ce93c21502295c47cd116ab28a881223b.tar.gz |
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).
Diffstat (limited to 'Makefile-tests.am')
-rw-r--r-- | Makefile-tests.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile-tests.am b/Makefile-tests.am index 23dba331..c99a7ede 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -431,8 +431,11 @@ if ENABLE_INSTALLED_TESTS_EXCLUSIVE dist_installed_test_scripts = $(_installed_or_uninstalled_test_scripts) installed_test_programs = $(_installed_or_uninstalled_test_programs) check-local: + echo "NOTE: Run the Rust installed tests (uninstalled) with ./tests/run-installed" echo "NOTE: Exclusive installed tests are enabled; to run them, make install, then: gnome-desktop-testing-runner -p 0 libostree/" else +check-local: + echo "NOTE: Run the Rust installed tests (uninstalled) with ./tests/run-installed" dist_test_scripts += $(_installed_or_uninstalled_test_scripts) test_programs += $(_installed_or_uninstalled_test_programs) endif |