Package: fastml / 3.1-3

change_to_tests_dir_only_if_existing.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Andreas Tille <tille@debian.org>
Last-Update: Thu, 19 Nov 2015 14:47:11 +0100
Description: Avoid that tests fail simply because of a missing test directory

--- a/programs/Makefile.generic
+++ b/programs/Makefile.generic
@@ -69,7 +69,7 @@ LDFLAGSDEBUG +=  -DDOUBLEREP
 endif
 
 test: all tests
-	+cd tests && make -k 
+	+if [ -d tests ] ; then cd tests && make -k ; fi
 
 debug:  $(DEBUGLIB) $(DEBUGEXEC)