summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuites/mptests/ChangeLog7
-rw-r--r--testsuites/mptests/configure.ac4
-rw-r--r--testsuites/mptests/mp14/node1/Makefile.am1
-rw-r--r--testsuites/mptests/mp14/node2/Makefile.am1
4 files changed, 13 insertions, 0 deletions
diff --git a/testsuites/mptests/ChangeLog b/testsuites/mptests/ChangeLog
index 44a697110e..780ad996c7 100644
--- a/testsuites/mptests/ChangeLog
+++ b/testsuites/mptests/ChangeLog
@@ -1,3 +1,10 @@
+2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>
+
+ PR 613/bsps
+ * configure.ac: Add AC_ARG_VAR([MAX_LONG_TEST_DURATION],...).
+ * mp14/node1/Makefile.am, mp14/node2/Makefile.am: Add AM_CPPFLAGS +=
+ -DMAX_LONG_TEST_DURATION=$(MAX_LONG_TEST_DURATION).
+
2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
* mp01/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
diff --git a/testsuites/mptests/configure.ac b/testsuites/mptests/configure.ac
index 49d7a4c64d..3c5fdf03cb 100644
--- a/testsuites/mptests/configure.ac
+++ b/testsuites/mptests/configure.ac
@@ -30,6 +30,10 @@ AC_SUBST(BARE_CPU_MODEL)
AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
+MAX_LONG_TEST_DURATION=${MAX_LONG_TEST_DURATION-100}
+AC_ARG_VAR([MAX_LONG_TEST_DURATION],
+[The longest length of time a "long running" test should run])
+
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile
mp01/Makefile
diff --git a/testsuites/mptests/mp14/node1/Makefile.am b/testsuites/mptests/mp14/node1/Makefile.am
index f0675f26c5..ed69abf219 100644
--- a/testsuites/mptests/mp14/node1/Makefile.am
+++ b/testsuites/mptests/mp14/node1/Makefile.am
@@ -31,6 +31,7 @@ include $(top_srcdir)/../automake/leaf.am
include $(top_srcdir)/mptests.am
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
+AM_CPPFLAGS += -DMAX_LONG_TEST_DURATION=$(MAX_LONG_TEST_DURATION)
if HAS_MP
diff --git a/testsuites/mptests/mp14/node2/Makefile.am b/testsuites/mptests/mp14/node2/Makefile.am
index 1b973ab75c..ad9a7eb82f 100644
--- a/testsuites/mptests/mp14/node2/Makefile.am
+++ b/testsuites/mptests/mp14/node2/Makefile.am
@@ -31,6 +31,7 @@ include $(top_srcdir)/../automake/leaf.am
include $(top_srcdir)/mptests.am
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
+AM_CPPFLAGS += -DMAX_LONG_TEST_DURATION=$(MAX_LONG_TEST_DURATION)
if HAS_MP