From 381985e781611b1a286d556d6bb8db371bf5068f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ladislav=20Slez=C3=A1k?= Date: Fri, 4 Dec 2015 10:49:20 +0100 Subject: [PATCH] added a testsuite section --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 94b5e3c6..bb60b223 100644 --- a/README.md +++ b/README.md @@ -55,11 +55,23 @@ sudo killall snapperd (sudo) snapper ... ``` +### Running Tests + +Snapper includes some internal unit tests to avoid some bugs and regressions. +The tests are located in the `testsuite` subdirectory and you can start them +using the `make check` command. + +There are also some additional tests in the `testsuite-real` subdirectory, +but be careful. *These tests really execute snapper commands and they can +destroy your data! Run these tests only in a testing environment!* + ### Releasing - Before releasing the Snapper package ensure that the changes made to the package are mentioned in the `package/snapper.changes` file. +- Make sure the units tests still passes ([see above](running-tests)). + - When the version is increased then the Git repo has to be tagged, use the `vX.Y.Z` format for the tag. Also the [filesystems:snapper](https://build.opensuse.org/project/show/filesystems:snapper) -- 2.47.3