From ffd083a119e2a6524488c5eeca77fe42abbacf71 Mon Sep 17 00:00:00 2001
From: Maximilien Siavelis <maximilien.siavelis@simulease.com>
Date: 周日, 14 1月 2018 07:05:44 +0800
Subject: [PATCH] relative path for tests

---
 README.md |   31 ++++++++++++++++++++++++++-----
 1 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index 1993a96..295c125 100644
--- a/README.md
+++ b/README.md
@@ -36,24 +36,45 @@
 How to build
 ============
 
+```
 git clone https://github.com/open-license-manager/open-license-manager.git
 cd open-license-manager/
 mkdir build
 cd build
- 
-# on Linux :
+```
 
+## on Linux :
+
+```
 cmake .. -DCMAKE_INSTALL_PREFIX=../install
 make
 make install
+```
 
-# on Windows with MSVC 2010
+## on Windows (with MSVC 2010)
 
+```
 cmake .. -G "Visual Studio 10 2010 Win64" -DCMAKE_INSTALL_PREFIX=../install
-cmake --build . --target install
+cmake --build . --target install --config Release
+```
 
-# cross compile with MINGW on Linux
+## cross compile with MINGW on Linux
 
+```
 x86_64-w64-mingw32.static-cmake .. -DCMAKE_INSTALL_PREFIX=../install
 make
 make install
+```
+
+How to test
+===========
+
+## on Linux :
+```
+make test
+```
+
+## on Windows :
+```
+ctest -C Release
+```

--
Gitblit v1.9.1