From afca9a9b4516aa79882c9990a538a9327b602f37 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Wed, 26 Jul 2023 21:40:01 +0200 Subject: [PATCH] [gdb/testsuite] Fix gdb.python/py-thread-exited.exp Two fixes in gdb.python/py-thread-exited.exp: - fix the copyright notice validity range (PR testsuite/30687): 2022-202 -> 2022-2023, and - add missing "require allow_python_tests". Tested on x86_64-linux. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30687 --- gdb/testsuite/gdb.python/py-thread-exited.exp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.python/py-thread-exited.exp b/gdb/testsuite/gdb.python/py-thread-exited.exp index a21368bfb44..957585958a2 100644 --- a/gdb/testsuite/gdb.python/py-thread-exited.exp +++ b/gdb/testsuite/gdb.python/py-thread-exited.exp @@ -1,4 +1,4 @@ -# Copyright (C) 2022-202 Free Software Foundation, Inc. +# Copyright (C) 2022-2023 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -13,6 +13,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +require allow_python_tests + load_lib gdb-python.exp standard_testfile -- 2.30.2