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]

[commit] testsuite: py-prompt.exp: Add test kill


Hi,

it hangs only for 2 minutes but it does not have to.

 7064 /var/lib/mock/fedora-rawhide-x86_64/root/dev/pts/15 SN+   0:00 /unsafe/home/jkratoch/hammock/20130210Build-gdbcvs-nomcheck-rawhide/fedora-rawhide-x86_64/build/src/gdb/testsuite.unix.-m64/gdb.python/py-prompt 
10084 /var/lib/mock/fedora-rawhide-i386/root/dev/pts/1 SN+   0:00 /unsafe/home/jkratoch/hammock/20130210Build-gdbcvs-nomcheck-rawhide/fedora-rawhide-i386/build/src/gdb/testsuite.unix.-m32/gdb.python/py-prompt

Checked in.


Jan


http://sourceware.org/ml/gdb-cvs/2013-02/msg00068.html

--- src/gdb/testsuite/ChangeLog	2013/02/06 14:45:19	1.3551
+++ src/gdb/testsuite/ChangeLog	2013/02/10 08:05:15	1.3552
@@ -1,3 +1,7 @@
+2013-02-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
+
 2013-02-06  Yao Qi  <yao@codesourcery.com>
 
 	* gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
--- src/gdb/testsuite/gdb.python/py-prompt.exp	2013/01/01 06:41:26	1.7
+++ src/gdb/testsuite/gdb.python/py-prompt.exp	2013/02/10 08:05:15	1.8
@@ -125,4 +125,5 @@
 gdb_exit
 
 set GDBFLAGS $saved_gdbflags
+exec kill -9 ${testpid}
 return 0


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