toolchain: gdb: Disable tests
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 24 Oct 2020 21:35:13 +0000 (23:35 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Nov 2020 19:54:37 +0000 (20:54 +0100)
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
toolchain/gdb/patches/110-no_testsuite.patch [deleted file]

index 0b4af1164b614cb7ce2f0013fbbcd1eb8c2e84a6..3bcc9d123841ce4cf7d92330bef37f6470ecb3e1 100644 (file)
@@ -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 (file)
index 90a2574..0000000
+++ /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