From a01094f213864c7fc03925fd97552aa32405197f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 20 Oct 2019 13:15:04 +0100 Subject: [PATCH] mtest: Provide a makefile to run the tests Signed-off-by: Ian Jackson --- configure | 3 ++- configure.in | 2 +- mtest/Makefile.in | 14 ++++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 mtest/Makefile.in diff --git a/configure b/configure index e600caa..0d4aeab 100755 --- a/configure +++ b/configure @@ -4735,7 +4735,7 @@ else $as_echo "$as_me: WARNING: Disabling IPv6 support" >&2;} fi -ac_config_files="$ac_config_files Makefile common.make test-common.make test-example/Makefile stest/Makefile" +ac_config_files="$ac_config_files Makefile common.make test-common.make test-example/Makefile stest/Makefile mtest/Makefile" ac_config_commands="$ac_config_commands default" @@ -5440,6 +5440,7 @@ do "test-common.make") CONFIG_FILES="$CONFIG_FILES test-common.make" ;; "test-example/Makefile") CONFIG_FILES="$CONFIG_FILES test-example/Makefile" ;; "stest/Makefile") CONFIG_FILES="$CONFIG_FILES stest/Makefile" ;; + "mtest/Makefile") CONFIG_FILES="$CONFIG_FILES mtest/Makefile" ;; "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; diff --git a/configure.in b/configure.in index 40f2d70..da8b1d7 100644 --- a/configure.in +++ b/configure.in @@ -97,7 +97,7 @@ else fi AC_OUTPUT(Makefile common.make test-common.make - test-example/Makefile stest/Makefile, + test-example/Makefile stest/Makefile mtest/Makefile, echo timestamp >config.stamp) AH_TOP([ diff --git a/mtest/Makefile.in b/mtest/Makefile.in new file mode 100644 index 0000000..922e99b --- /dev/null +++ b/mtest/Makefile.in @@ -0,0 +1,14 @@ + +VPATH:=@srcdir@ +srcdir:=@srcdir@ +topdir:=@top_srcdir@ + +DEPS += $(topdir)/make-secnet-sites +DEPS += $(topdir)/ipaddrset.py +DEPS += $(srcdir)/common.tcl + +TESTDIR=mtest + +include ../test-common.make + +check: check-real -- 2.30.2