diff options
Diffstat (limited to 'gdb/testsuite/gdb.threads/schedlock.exp')
-rw-r--r-- | gdb/testsuite/gdb.threads/schedlock.exp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.threads/schedlock.exp b/gdb/testsuite/gdb.threads/schedlock.exp index 522559c1b29..2d0552afcb5 100644 --- a/gdb/testsuite/gdb.threads/schedlock.exp +++ b/gdb/testsuite/gdb.threads/schedlock.exp @@ -20,14 +20,12 @@ # This test covers the various forms of "set scheduler-locking". -set testfile "schedlock" -set srcfile ${testfile}.c -set binfile ${objdir}/${subdir}/${testfile} +standard_testfile # The number of threads, including the main thread. set NUM 2 -if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug "incdir=${objdir}"]] != "" } { +if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable debug] != "" } { return -1 } |