[tor-commits] [stem/master] Integ tests resulted in a unnecessary build directory

atagar at torproject.org atagar at torproject.org
Wed May 20 15:55:20 UTC 2015


commit bc3f38e6d6bb98aca37f1d1c3237b635c520aedb
Author: Damian Johnson <atagar at torproject.org>
Date:   Wed May 20 08:55:51 2015 -0700

    Integ tests resulted in a unnecessary build directory
    
    Our setup.py test made a build directory while making an installation to test.
    Cleaning this up as part of the test.
---
 test/integ/installation.py |    1 +
 1 file changed, 1 insertion(+)

diff --git a/test/integ/installation.py b/test/integ/installation.py
index c500612..1e17568 100644
--- a/test/integ/installation.py
+++ b/test/integ/installation.py
@@ -22,6 +22,7 @@ class TestInstallation(unittest.TestCase):
     try:
       os.chdir(base_directory)
       stem.util.system.call('python setup.py install --prefix /tmp/stem_test')
+      stem.util.system.call('python setup.py clean --all')  # tidy up the build directory
       site_packages_paths = glob.glob('/tmp/stem_test/lib*/*/site-packages')
 
       if len(site_packages_paths) != 1:



More information about the tor-commits mailing list