pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: adam
Date: Thu Oct 19 06:51:11 UTC 2017
Modified Files:
pkgsrc/devel: Makefile
Log Message:
This is a plugin which will terminate tests after a certain timeout. When doing
so it will show a stack dump of all threads running at the time. This is useful
when running tests under a continuous integration server or simply if you don't
know why the test suite hangs.
Note that while by default on POSIX systems py.test will continue to execute
the tests after a test has timed, out this is not always possible. Often the
only sure way to interrupt a hanging test is by terminating the entire process.
As this is a hard termination (os._exit()) it will result in no teardown, JUnit
XML output etc. But the plugin will ensure you will have the debugging output
on stderr nevertheless, which is the most important part at this stage.
To generate a diff of this commit:
cvs rdiff -u -r1.2555 -r1.2556 pkgsrc/devel/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.2555 pkgsrc/devel/Makefile:1.2556
--- pkgsrc/devel/Makefile:1.2555 Tue Oct 17 18:44:14 2017
+++ pkgsrc/devel/Makefile Thu Oct 19 06:51:11 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2555 2017/10/17 18:44:14 adam Exp $
+# $NetBSD: Makefile,v 1.2556 2017/10/19 06:51:11 adam Exp $
#
COMMENT= Development utilities
@@ -2122,6 +2122,7 @@ SUBDIR+= py-test-isort
SUBDIR+= py-test-localserver
SUBDIR+= py-test-mock
SUBDIR+= py-test-runner
+SUBDIR+= py-test-timeout
SUBDIR+= py-test-utils
SUBDIR+= py-test-xdist
SUBDIR+= py-testpath
Home |
Main Index |
Thread Index |
Old Index