aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJacob Torrey <discipleofranok@gmail.com>2016-08-22 17:43:43 -0600
committerJacob Torrey <torreyj@ainfosec.com>2016-08-26 14:03:27 -0600
commit256dec06016650128ca3d59d541a1a335b948331 (patch)
treed686898be6679f2b8007dbabd5f19c008e86e3bc /Makefile
parentEnsure tests are built prior to testing (diff)
downloadmonero-256dec06016650128ca3d59d541a1a335b948331.tar.xz
Streamline test building target
Signed-off-by: Jacob Torrey <discipleofranok@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 69d1127de..cade2b8aa 100644
--- a/Makefile
+++ b/Makefile
@@ -35,9 +35,9 @@ cmake-debug:
debug: cmake-debug
cd build/debug && $(MAKE)
-debug-test: debug
+debug-test:
mkdir -p build/debug
- cd build/debug && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE) test
+ cd build/debug && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE) && $(MAKE) test
debug-all:
mkdir -p build/debug