From 78f5db4bce9c6d2a7b883abee52d4a3f71b5bf01 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Tue, 16 Nov 2021 13:56:52 +0100 Subject: [PATCH] Add testing instructions to README --- README.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.txt b/README.txt index 2386142..7315029 100644 --- a/README.txt +++ b/README.txt @@ -14,10 +14,14 @@ For more information, take a look at the doc/ directory. To build ovni you would need a C compiler, MPI and cmake version 3.10 or newer. To compile in build/ and install into $prefix use: - % cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix -S . -B build + % cmake -DCMAKE_INSTALL_PREFIX=$prefix -S . -B build % cd build % make % make install +To run the tests you can run (from the build directory): + + % make test + See cmake(1) and cmake-env-variables(7) to see more information about the variables affecting the generation and build process.