This is the mail archive of the gdb-patches@sources.redhat.com 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]

[RFA/testsuite] Stop sharing .c file between 2 testcases


I just read in one thread that we don't want to share .c files between
testcases. This reminded me of a testcase I recently added which did
use the .c file from another testcase... This patch should fix it.

2004-10-29  Joel Brobecker  <brobecker@gnat.com>

        * gdb.threads/bp_in_thread.c: New file, copied from
        pthread_cond_wait.c.
        * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
        file, rather than using the .c file of another testcase.

Tested on x86-linux. Ok to apply?

-- 
Joel

Attachment: diff
Description: Text document

Attachment: bp_in_thread.c
Description: Text document


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