[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit bc3f38e6d6bb98aca37f1d1c3237b635c520aedb
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
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:

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits