2006-08-17 Roland Levillain <roland(a)lrde.epita.fr>
Use DISTCHECK_CONFIGURE_FLAGS where needed.
* buildfarm_worker/build_test.fns (action_distcheck): Set the
environment variable DISTCHECK_CONFIGURE_FLAGS from
$distcheck_config.
(action_system): Adjust.
* buildfarm_worker/package.fns (conf_tc-maintainer)
(conf_tc, conf_vaucanson, conf_vaucanson-gcc4_0): Set
$distcheck_config from $self_config.
Index: buildfarm_worker/package.fns
===================================================================
--- buildfarm_worker/package.fns (revision 295)
+++ buildfarm_worker/package.fns (revision 296)
@@ -124,20 +124,24 @@
deps="monoburg bison"
prg_version="bison --version:swig -version:python -V:tc --version"
self_config="--enable-shared"
+ distcheck_config="$self_config"
}
conf_tc() {
deps="monoburg bison"
prg_version="bison --version:swig -version:python -V:tc --version"
self_config="--enable-shared"
+ distcheck_config="$self_config"
}
# vaucanson
conf_vaucanson() {
self_config="--enable-vaucanswig"
+ distcheck_config="$self_config"
}
conf_vaucanson-gcc4_0() {
self_config="--enable-vaucanswig"
+ distcheck_config="$self_config"
}
Index: buildfarm_worker/build_test.fns
===================================================================
--- buildfarm_worker/build_test.fns (revision 295)
+++ buildfarm_worker/build_test.fns (revision 296)
@@ -256,7 +256,7 @@
echo "CC: $CCACHE $CC"
echo "CXX: $CCACHE $CXX"
echo "CONFIGURE OPTIONS: $config_and_prefix"
- echo "DISTCHECK_CONFIGURE_FLAGS: $DISTCHECK_CONFIGURE_FLAGS"
+ echo "DISTCHECK_CONFIGURE_FLAGS: $distcheck_config"
echo
. $bf_root/system.fns
echo
@@ -389,7 +389,10 @@
#############################
# attempt some basic tests of functionality
action_distcheck() {
+ [ "x$distcheck_config" = x ] && \
+ export DISTCHECK_CONFIGURE_FLAGS="$distcheck_config"
do_make distcheck
+ unset DISTCHECK_CONFIGURE_FLAGS
return $?
}
Show replies by date