This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Use do_self_tests in selftest.exp
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 19 Jul 2016 10:43:21 +0100
- Subject: Re: [PATCH] Use do_self_tests in selftest.exp
- Authentication-results: sourceware.org; auth=none
- References: <1468500262-8044-1-git-send-email-yao.qi@linaro.org>
On Thu, Jul 14, 2016 at 1:44 PM, Yao Qi <qiyaoltc@gmail.com> wrote:
> This patch uses do_self_tests to simplify selftest.exp. It doesn't
> change the tests except the order,
>
> -PASS: gdb.gdb/selftest.exp: Disassemble main
> PASS: gdb.gdb/selftest.exp: breakpoint in captured_main
> +PASS: gdb.gdb/selftest.exp: run until breakpoint at captured_main
> +PASS: gdb.gdb/selftest.exp: Disassemble main
> PASS: gdb.gdb/selftest.exp: set interrupt character in test_with_self
> PASS: gdb.gdb/selftest.exp: set listsize to 1
> -PASS: gdb.gdb/selftest.exp: run until breakpoint at captured_main
>
> gdb/testsuite:
>
> 2016-07-14 Yao Qi <yao.qi@linaro.org>
>
> * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
> (test_with_self): Remove some code. Remove argument executable.
> (top-level): Use do_self_tests.
I pushed it in.
--
Yao (齐尧)