Kaydet (Commit) 3ee97489 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) David Tardon

allow separate setting of parallelism for subseq. tests

Change-Id: I5a5444e8ee95b0fd95a97c31c94ab0f9c3935abb
üst 85e40d78
......@@ -271,7 +271,7 @@ $(1).clean:
cd $(1) && $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) clean gb_PARTIALBUILD=T
$(1).subsequentcheck:
cd $(1) && $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) subsequentcheck gb_PARTIALBUILD=T
cd $(1) && $(GNUMAKE) -j $(CHECK_PARALLELISM) $(GMAKE_OPTIONS) subsequentcheck gb_PARTIALBUILD=T
$(1).deliver:
@true
......
......@@ -46,6 +46,7 @@ export CC=@CC@
export CC_FOR_BUILD=@CC_FOR_BUILD@
export CDR_CFLAGS=@CDR_CFLAGS@
export CDR_LIBS=@CDR_LIBS@
export CHECK_PARALLELISM=@CHECK_PARALLELISM@
export CLASSPATH=@CLASSPATH@
export CL_X64=@CL_X64@
export CLUCENE_CFLAGS=@CLUCENE_CFLAGS@
......
......@@ -2068,6 +2068,12 @@ AC_ARG_WITH(max-jobs,
Defaults to 1, unless you configure --enable-icecream - then to 10.]),
,)
AC_ARG_WITH(check-jobs,
AS_HELP_STRING([--with-check-jobs],
[Maximum number of jobs that will be issued at the same time during 'make subsequenttest'.
Default value is the same as 'max-jobs'. Useful because the subsequent tests are very lighweight.]),
,)
dnl ===================================================================
dnl MacOSX build and runtime environment options
dnl ===================================================================
......@@ -12165,6 +12171,17 @@ AC_MSG_RESULT([per module:$GMAKE_MODULE_PARALLELISM, for tail_build:$GMAKE_PARAL
AC_SUBST(GMAKE_PARALLELISM)
AC_SUBST(GMAKE_MODULE_PARALLELISM)
dnl ===================================================================
dnl Number of parallel jobs to be executed during subsequenttest
dnl ===================================================================
AC_MSG_CHECKING([for maximum no. of jobs during subsequenttest])
CHECK_PARALLELISM=$GMAKE_PARALLELISM
if test "$with_check_jobs" != ""; then
CHECK_PARALLELISM="$with_check_jobs"
fi
AC_MSG_RESULT([$CHECK_PARALLELISM])
AC_SUBST(CHECK_PARALLELISM)
dnl ===================================================================
dnl Setting up the environment.
dnl ===================================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment