chiark / gitweb /
mtest: Provide a makefile to run the tests
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 20 Oct 2019 12:15:04 +0000 (13:15 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 24 Oct 2019 18:16:15 +0000 (19:16 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
configure
configure.in
mtest/Makefile.in [new file with mode: 0644]

index e600caa57f03abfaba22386c630fb6cace1bd4dc..0d4aeabefcd0c36a6fc787f7510cd349195e3ed9 100755 (executable)
--- 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;;
index 40f2d705d79136082b44c6aa4c248ed6db531c4d..da8b1d72fa9950c21e89429ca5922051eb17d6c2 100644 (file)
@@ -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 (file)
index 0000000..922e99b
--- /dev/null
@@ -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