From f1a744e780981fd3127cb62eef99f90adb4823a6 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 22 Apr 2004 04:51:43 +0000 Subject: 2004-04-22 Ralf Corsepius 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). --- testsuites/mptests/ChangeLog | 7 +++++++ testsuites/mptests/configure.ac | 4 ++++ testsuites/mptests/mp14/node1/Makefile.am | 1 + testsuites/mptests/mp14/node2/Makefile.am | 1 + 4 files changed, 13 insertions(+) (limited to 'testsuites') 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 + + 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 * mp01/system.h: Include instead of . 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 -- cgit v1.2.3