From 9c2f2cdb0874e31bdcc5b2d4d3a68fd42ed434cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Wed, 29 Apr 1998 15:20:48 -0700
Subject: [PATCH] makes it possible to have custom module_testsuite generation

Rev: src/modules/dynamic_module_makefile.in:1.35
Rev: src/modules/static_module_makefile.in:1.28
---
 src/modules/dynamic_module_makefile.in | 6 +++---
 src/modules/static_module_makefile.in  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/modules/dynamic_module_makefile.in b/src/modules/dynamic_module_makefile.in
index bbc15a528b..56146e5b23 100644
--- a/src/modules/dynamic_module_makefile.in
+++ b/src/modules/dynamic_module_makefile.in
@@ -1,5 +1,5 @@
 #
-# $Id: dynamic_module_makefile.in,v 1.34 1998/04/29 20:52:22 mirar Exp $
+# $Id: dynamic_module_makefile.in,v 1.35 1998/04/29 22:20:48 hubbe Exp $
 #
 
 
@@ -52,8 +52,8 @@ depend:
 	for a in '' $(MODULE_SUBDIRS) ; do if test ! -z "$$a"; then echo making depend in $$a ; ( cd $$a ; $(MAKE) $(MAKE_FLAGS) depend ) ; else :; fi ; done
 
 #verify / debug
-module_testsuite: $(SRCDIR)/testsuite.in
-	if test -f $(SRCDIR)/module_testsuite.in; then cp $(SRCDIR)/module_testsuite.in module_testsuite; else $(TMP_BINDIR)/mktestsuite $(SRCDIR)/testsuite.in >module_testsuite -DSRCDIR=$(SRCDIR); fi
+module_testsuite: $(SRCDIR)/testsuite.in $(REAL_TESTSUITE)
+	if test "x$(REAL_TESTSUITE)" != x ; then cp $(SRCDIR)/$(REAL_TESTSUITE module_testsuite; else $(TMP_BINDIR)/mktestsuite $(SRCDIR)/testsuite.in >module_testsuite -DSRCDIR=$(SRCDIR); fi
 
 extra_tests: $(MODULE_TESTS)
 
diff --git a/src/modules/static_module_makefile.in b/src/modules/static_module_makefile.in
index 63a00fed05..78dd1671f4 100644
--- a/src/modules/static_module_makefile.in
+++ b/src/modules/static_module_makefile.in
@@ -1,5 +1,5 @@
 #
-# $Id: static_module_makefile.in,v 1.27 1998/04/16 01:12:53 hubbe Exp $
+# $Id: static_module_makefile.in,v 1.28 1998/04/29 22:20:48 hubbe Exp $
 #
 
 
@@ -60,8 +60,8 @@ depend:
 	for a in '' $(MODULE_SUBDIRS) ; do if test ! -z "$$a"; then echo making depend in $$a ; ( cd $$a ; $(MAKE) $(MAKE_FLAGS) depend ) ; else :; fi ; done
 
 #verify / debug
-module_testsuite: $(SRCDIR)/testsuite.in
-	$(TMP_BINDIR)/mktestsuite $(SRCDIR)/testsuite.in >module_testsuite -DSRCDIR=$(SRCDIR) 
+module_testsuite: $(SRCDIR)/testsuite.in $(REAL_TESTSUITE)
+	if test "x$(REAL_TESTSUITE)" != x ; then cp $(SRCDIR)/$(REAL_TESTSUITE module_testsuite; else $(TMP_BINDIR)/mktestsuite $(SRCDIR)/testsuite.in >module_testsuite -DSRCDIR=$(SRCDIR); fi
 
 extra_tests: $(MODULE_TESTS)
 
-- 
GitLab