This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] info-macros.exp: Pass "debug" to prepare_for_testing
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 18 May 2012 05:38:18 -0700
- Subject: Re: [commit] info-macros.exp: Pass "debug" to prepare_for_testing
- References: <20120518000857.3E4342461B2@ruffy.mtv.corp.google.com>
> This test was failing under Fission when run with the full testsuite and
> passing when run by itself.
> I test Fission with a board file which sets debug_flags,
> but debug_flags doesn't get used unless "debug" is passed as a build option.
> So when run by itself "options" was "" and thus the Fission compilation
> flags weren't getting picked up, but I guess when run with the full testsuite
> this test was picking up a value of options that contained "debug".
Perhaps we could start resetting all the global variables that
we know of before starting each testcase. That would help prevent
one testcase influencing the next... It should be relatively easy
to do, I think, we just need the list of globals.
--
Joel