projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc9953
)
tests: Honor GBP_TESTS_NOCLEAN in rpm tests too
author
Guido Günther
<agx@sigxcpu.org>
Wed, 27 Jan 2021 09:24:59 +0000
(10:24 +0100)
committer
Guido Günther
<agx@sigxcpu.org>
Sun, 31 Jan 2021 12:05:18 +0000
(13:05 +0100)
tests/20_test_rpm.py
patch
|
blob
|
history
diff --git
a/tests/20_test_rpm.py
b/tests/20_test_rpm.py
index c261c4523ab8be92a975ec938fd2b28a91ccf1fa..fb00f500e969d13efc12ba2061a69169dba0fa58 100644
(file)
--- a/
tests/20_test_rpm.py
+++ b/
tests/20_test_rpm.py
@@
-56,7
+56,8
@@
class RpmTestBase(object):
def teardown(self):
"""Test case teardown"""
- shutil.rmtree(self.tmpdir)
+ if not os.getenv("GBP_TESTS_NOCLEAN"):
+ shutil.rmtree(self.tmpdir)
class TestSrcRpmFile(RpmTestBase):