This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use standard_testfile in i386-bp_permanent.exp


On 11/29/2014 01:48 PM, Yao Qi wrote:
> This patch is to use standard_testfile in i386-bp_permanent.exp to replace
> existing setting to testfile, srcfile and binfile.  So it fixes a problem
> in i386-bp_permanent.exp in parallel testing.
> 
> $ make -j3 check TESTS='gdb.guile/scm-section-script.exp gdb.arch/i386-bp_permanent.exp'
> ....
> gdb compile failed, /usr/bin/ld: cannot open output file x86/gdb/testsuite/gdb.arch/i386-bp_permanent: No such file or directory
> collect2: error: ld returned 1 exit status
> 
> gdb/testsuite:
> 
> 2014-11-29  Yao Qi  <yao@codesourcery.com>
> 
> 	* gdb.arch/i386-bp_permanent.exp: Use standard_testfile.

Looks obviously correct to me.

Thanks Yao.

> -set testfile "i386-bp_permanent"
> -set srcfile i386-bp_permanent.c
> -set binfile ${objdir}/${subdir}/${testfile}
> +standard_testfile .c

(I think ".c" shouldn't be necessary.)


Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]