From 8459a216a5dacd92d55dc016f1ee745171cef0a9 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Fri, 27 Dec 2019 20:26:34 -0500 Subject: [PATCH] Update testing instructions in INSTALL.md Fixes #3897 --- INSTALL.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index e82fb53b..e11344ee 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -150,9 +150,15 @@ You can create a package to redistribute KeePassXC (zip, deb, rpm, dmg, etc..). Testing ======= -You can perform test on the executable +You can perform tests on the built executables with: ``` -make test +make test ARGS+="--output-on-failure" +``` + +If you are not currently running on an X Server or Wayland, run the tests as follows: +``` +make test ARGS+="-E test\(cli\|gui\) --output-on-failure" +xvfb-run -e errors -a --server-args="-screen 0 1024x768x24" make test ARGS+="-R test\(cli\|gui\) --output-on-failure" ``` Common parameters: