[PATCH] testsuite: Disable colorization for ubsan test

Kito Cheng kito.cheng@gmail.com
Tue Jun 2 02:26:03 GMT 2020


Committed, thanks :)

On Mon, Jun 1, 2020 at 4:10 PM Jakub Jelinek via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> On Mon, Jun 01, 2020 at 03:43:00PM +0800, Kito Cheng wrote:
> > ping
> >
> >
> > On Wed, May 20, 2020 at 3:01 PM Kito Cheng <kito.cheng@sifive.com> wrote:
> > >
> > >  - Run gcc testsuite with qemu will print out ascii color code for
> > >    ubsan related testcase, however several testcase didn't consider
> > >    that, so disable colorization prevent such problem and simplify the
> > >    process when adding testcase in future.
> > >
> > >  - Verified on native X86 and RISC-V qemu full system mode and user mode.
> > >
> > > ChangeLog:
> > >
> > > gcc/testsuite/
> > >
> > > Kito Cheng  <kito.cheng@sifive.com>
> > >
> > >         * ubsan-dg.exp (orig_ubsan_options_saved): New
> > >         (orig_ubsan_options): Ditto.
> > >         (ubsan_init): Store UBSAN_OPTIONS and set UBSAN_OPTIONS.
> > >         (ubsan_finish): Restore UBSAN_OPTIONS.
>
> Ok, thanks.
>
>         Jakub
>


More information about the Gcc-patches mailing list