diff mbox series

[2/5] toolchain: gdb: Disable tests

Message ID 20201028231825.6597-2-hauke@hauke-m.de
State Accepted
Delegated to: Hauke Mehrtens
Headers show
Series [1/5] toolchain: gdb: Update to version 10.1 | expand

Commit Message

Hauke Mehrtens Oct. 28, 2020, 11:18 p.m. UTC
Instead of patching the tests out, just remove them with a configure
option.
No files were generates in the testsuite and unit-test directories.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 toolchain/gdb/Makefile                       |  2 ++
 toolchain/gdb/patches/110-no_testsuite.patch | 21 --------------------
 2 files changed, 2 insertions(+), 21 deletions(-)
 delete mode 100644 toolchain/gdb/patches/110-no_testsuite.patch
diff mbox series

Patch

diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index 0b4af1164b61..3bcc9d123841 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -36,6 +36,8 @@  HOST_CONFIGURE_ARGS = \
 	--enable-threads \
 	--with-expat \
 	--without-python \
+	--disable-unit-tests \
+	--disable-ubsan \
 	--disable-binutils \
 	--disable-ld \
 	--disable-gas \
diff --git a/toolchain/gdb/patches/110-no_testsuite.patch b/toolchain/gdb/patches/110-no_testsuite.patch
deleted file mode 100644
index 90a2574cafb7..000000000000
--- a/toolchain/gdb/patches/110-no_testsuite.patch
+++ /dev/null
@@ -1,21 +0,0 @@ 
---- a/gdb/configure
-+++ b/gdb/configure
-@@ -952,8 +952,7 @@ DEBUGINFOD_LIBS
- YACC
- YFLAGS
- XMKMF'
--ac_subdirs_all='testsuite
--gdbtk'
-+ac_subdirs_all='gdbtk'
- 
- # Initialize some variables set by options.
- ac_init_help=
-@@ -6668,7 +6667,7 @@ $as_echo "$with_auto_load_safe_path" >&6
- 
- 
- 
--subdirs="$subdirs testsuite"
-+subdirs="$subdirs"
- 
- 
- # Check whether to support alternative target configurations