1
0
forked from pool/libabigail
libabigail/no-tests.diff

46 lines
1.7 KiB
Diff

build: trim calls into test/
The tests need quite some time to run (they are also really really
large) they should be a separate package in openSUSE.
The main package remains small and has no test/ directory, so patch
the build files not to try to recurse into there.
diff -Nur libabigail-1.8.1/configure.ac new/configure.ac
--- libabigail-1.8.1/configure.ac 2021-01-27 12:49:43.000000000 +0100
+++ new/configure.ac 2021-05-03 14:13:27.623343957 +0200
@@ -915,25 +915,9 @@
doc/manuals/Makefile
src/Makefile
tools/Makefile
- tests/Makefile
- tests/data/Makefile
bash-completion/Makefile])
dnl Some test scripts are generated by autofoo.
-AC_CONFIG_FILES([tests/runtestcanonicalizetypes.sh],
- [chmod +x tests/runtestcanonicalizetypes.sh])
- AC_CONFIG_FILES([tests/runtestslowselfcompare.sh],
- [chmod +x tests/runtestslowselfcompare.sh])
-AC_CONFIG_FILES([tests/mockfedabipkgdiff],
- [chmod +x tests/mockfedabipkgdiff])
-AC_CONFIG_FILES([tests/runtestfedabipkgdiff.py],
- [chmod +x tests/runtestfedabipkgdiff.py])
-AC_CONFIG_FILES([tests/runtestfedabipkgdiffpy3.sh],
- [chmod +x tests/runtestfedabipkgdiffpy3.sh])
-AC_CONFIG_FILES([tests/runtestdefaultsupprs.py],
- [chmod +x tests/runtestdefaultsupprs.py])
-AC_CONFIG_FILES([tests/runtestdefaultsupprspy3.sh],
- [chmod +x tests/runtestdefaultsupprspy3.sh])
AC_OUTPUT
diff -Nur libabigail-1.8.1/Makefile.am new/Makefile.am
--- libabigail-1.8.1/Makefile.am 2021-01-27 12:49:43.000000000 +0100
+++ new/Makefile.am 2021-05-03 14:17:28.249089264 +0200
@@ -1,4 +1,4 @@
-SUBDIRS = include src tools tests doc bash-completion
+SUBDIRS = include src tools doc bash-completion
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
headers = config.h