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: [rfa] Skip thread test flag in testsuite/gdb.threads/*.exp


On Thu, Sep 13, 2007 at 07:39:11AM +0200, Markus Deuling wrote:
> With this flag you can easily switch of thread tests for your target board. The 
> advantage of this solution is a much cleaner log file. I see a lot of annoying 
> compiler errors in gdb.log all the time
> I run the testsuite on SPU.

Why not suppress the errors then?  I don't think this is needed, but I
don't object if someone else wants to approve it.

> 	* testsuite/gdb.threads/bp_in_thread.exp: Skip test if
> 	skip_thread_tests is set for target board.
> 	Likewise for gcore-thread.exp, killed.exp, linux-dp.exp,
> 	manythreads.exp, print-threads.exp, pthread_cond_wait.exp, pthreads.exp,
> 	schedlock.exp, sigthread.exp, step2.exp, step.exp, switch-threads.exp,
> 	threadapply.exp, thread_check.exp, thread-specific.exp, tls.exp,
> 	tls-nodebug.exp, tls-shared.exp, watchthreads.exp, staticthreads.exp.

No "testsuite/" in the path, since this goes in testsuite/ChangeLog.
Files should be listed after a *, not later like this.  For instance:

      * gdb.threads/bp_in_thread.exp, gdb.threads/gcore-thread.exp,
      gdb.threads/killed.exp: Skip test if gdb,skip_thread_tests is
      set for target board.

-- 
Daniel Jacobowitz
CodeSourcery


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