toolchain: gdb: Disable tests

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>
This commit is contained in:
Hauke Mehrtens 2020-10-24 23:35:13 +02:00
parent 35ac91f19d
commit 24b51a9173
2 changed files with 2 additions and 21 deletions

View File

@ -36,6 +36,8 @@ HOST_CONFIGURE_ARGS = \
--enable-threads \ --enable-threads \
--with-expat \ --with-expat \
--without-python \ --without-python \
--disable-unit-tests \
--disable-ubsan \
--disable-binutils \ --disable-binutils \
--disable-ld \ --disable-ld \
--disable-gas \ --disable-gas \

View File

@ -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