mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
bootstrap.conf: drop gnulib tests from libvirt
We are in process of removing gnulib and adopting meson as our build system. In order to help with the transition let's drop gnulib tests. This will also help with the fact that before we will be able to drop gnulib completely we will store output of bootstrap in git. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
aaf885e552
commit
71d3098e59
2
.gitignore
vendored
2
.gitignore
vendored
@ -27,12 +27,10 @@ Makefile.in
|
|||||||
|
|
||||||
# gnulib related ignores
|
# gnulib related ignores
|
||||||
!/gnulib/lib/Makefile.am
|
!/gnulib/lib/Makefile.am
|
||||||
!/gnulib/tests/Makefile.am
|
|
||||||
*.rej
|
*.rej
|
||||||
*~
|
*~
|
||||||
/gnulib/lib/*
|
/gnulib/lib/*
|
||||||
/gnulib/m4/*
|
/gnulib/m4/*
|
||||||
/gnulib/tests/*
|
|
||||||
|
|
||||||
# git related ignores
|
# git related ignores
|
||||||
*.orig
|
*.orig
|
||||||
|
@ -23,7 +23,7 @@ GENHTML = genhtml
|
|||||||
# so force it explicitly
|
# so force it explicitly
|
||||||
DISTCHECK_CONFIGURE_FLAGS = --enable-werror
|
DISTCHECK_CONFIGURE_FLAGS = --enable-werror
|
||||||
|
|
||||||
SUBDIRS = . gnulib/lib include/libvirt src tools docs gnulib/tests \
|
SUBDIRS = . gnulib/lib include/libvirt src tools docs \
|
||||||
tests po examples
|
tests po examples
|
||||||
|
|
||||||
XZ_OPT ?= -v -T0
|
XZ_OPT ?= -v -T0
|
||||||
|
@ -93,13 +93,10 @@ fi
|
|||||||
gnulib_name=libgnu
|
gnulib_name=libgnu
|
||||||
m4_base=m4
|
m4_base=m4
|
||||||
source_base=gnulib/lib
|
source_base=gnulib/lib
|
||||||
tests_base=gnulib/tests
|
|
||||||
gnulib_tool_option_extras="\
|
gnulib_tool_option_extras="\
|
||||||
--lgpl=2\
|
--lgpl=2\
|
||||||
--with-tests\
|
|
||||||
--makefile-name=gnulib.mk\
|
--makefile-name=gnulib.mk\
|
||||||
--avoid=pt_chown\
|
--avoid=pt_chown\
|
||||||
--avoid=lock-tests\
|
|
||||||
"
|
"
|
||||||
local_gl_dir=gnulib/local
|
local_gl_dir=gnulib/local
|
||||||
|
|
||||||
@ -134,16 +131,6 @@ gnulib_extra_files="
|
|||||||
doc/INSTALL
|
doc/INSTALL
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
||||||
bootstrap_post_import_hook()
|
|
||||||
{
|
|
||||||
# Change paths in gnulib/tests/gnulib.mk from "../../.." to "../..",
|
|
||||||
# and make tests conditional by changing "TESTS" to "GNULIB_TESTS".
|
|
||||||
m=gnulib/tests/gnulib.mk
|
|
||||||
sed 's,\.\./\.\./\.\.,../..,g; s/^TESTS /GNULIB_TESTS /' $m > $m-t
|
|
||||||
mv -f $m-t $m
|
|
||||||
}
|
|
||||||
|
|
||||||
bootstrap_epilogue()
|
bootstrap_epilogue()
|
||||||
{
|
{
|
||||||
echo "$0: done. Now you can run 'mkdir build && cd build && ../configure'."
|
echo "$0: done. Now you can run 'mkdir build && cd build && ../configure'."
|
||||||
|
@ -925,7 +925,6 @@ AC_CONFIG_FILES([run],
|
|||||||
AC_CONFIG_FILES([\
|
AC_CONFIG_FILES([\
|
||||||
Makefile src/Makefile include/libvirt/Makefile docs/Makefile \
|
Makefile src/Makefile include/libvirt/Makefile docs/Makefile \
|
||||||
gnulib/lib/Makefile \
|
gnulib/lib/Makefile \
|
||||||
gnulib/tests/Makefile \
|
|
||||||
.color_coded \
|
.color_coded \
|
||||||
.ycm_extra_conf.py \
|
.ycm_extra_conf.py \
|
||||||
libvirt.pc \
|
libvirt.pc \
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
## Makefile for gnulib/lib
|
|
||||||
|
|
||||||
## Copyright (C) 2011, 2013 Red Hat, Inc.
|
|
||||||
##
|
|
||||||
## This library is free software; you can redistribute it and/or
|
|
||||||
## modify it under the terms of the GNU Lesser General Public
|
|
||||||
## License as published by the Free Software Foundation; either
|
|
||||||
## version 2.1 of the License, or (at your option) any later version.
|
|
||||||
##
|
|
||||||
## This library is distributed in the hope that it will be useful,
|
|
||||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
## Lesser General Public License for more details.
|
|
||||||
##
|
|
||||||
## You should have received a copy of the GNU Lesser General Public
|
|
||||||
## License along with this library. If not, see
|
|
||||||
## <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
include gnulib.mk
|
|
||||||
|
|
||||||
GNULIB_TESTS0 =
|
|
||||||
GNULIB_TESTS1 = $(GNULIB_TESTS)
|
|
||||||
if WITH_EXPENSIVE_TESTS
|
|
||||||
## Automake requires that at least one conditional call out all tests to
|
|
||||||
## be run, for those tests to be shipped in the tarball
|
|
||||||
TESTS = $(GNULIB_TESTS)
|
|
||||||
endif WITH_EXPENSIVE_TESTS
|
|
||||||
## However, we want to change the set of tests based on the make environment,
|
|
||||||
## where the default was set at configure time. Use GNU make constructs to
|
|
||||||
## hide our actions from Automake, so we don't get it too confused.
|
|
||||||
VIR_TEST_EXPENSIVE ?= $(VIR_TEST_EXPENSIVE_DEFAULT)
|
|
||||||
$(eval TESTS=$(GNULIB_TESTS$(VIR_TEST_EXPENSIVE)))
|
|
Loading…
Reference in New Issue
Block a user