summaryrefslogtreecommitdiff
path: root/src/buildstream/testing/_sourcetests
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-09-02 09:47:05 +0200
committerJürg Billeter <j@bitron.ch>2019-09-03 11:46:29 +0200
commit3221f3511cbfe6a748b542627801acf8d0fcb379 (patch)
treeb472768f0bc8fa9a678ea77c1f74dfe3ff3960ea /src/buildstream/testing/_sourcetests
parentb4823df1c25ad5afd8449594b3b15b5676d6b9a6 (diff)
downloadbuildstream-3221f3511cbfe6a748b542627801acf8d0fcb379.tar.gz
tests: Catch tests that don't shut down background threadsjuerg/fork
Diffstat (limited to 'src/buildstream/testing/_sourcetests')
-rw-r--r--src/buildstream/testing/_sourcetests/conftest.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/buildstream/testing/_sourcetests/conftest.py b/src/buildstream/testing/_sourcetests/conftest.py
new file mode 100644
index 000000000..f16c1e9ad
--- /dev/null
+++ b/src/buildstream/testing/_sourcetests/conftest.py
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2019 Bloomberg Finance LP
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library. If not, see <http://www.gnu.org/licenses/>.
+
+from .._fixtures import thread_check # pylint: disable=unused-import