[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Correct installation test for 64bit platforms
commit 2b44a15dd45ddec2085dfb2769604ef3f42049dd
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Fri Apr 24 08:17:01 2015 -0700
Correct installation test for 64bit platforms
On 64bit platforms the 'lib' directory is called 'lib64' instead...
/tmp/stem_test/lib64/python3.3/site-packages/stem-1.3.0_dev-py3.3.egg-info
Caught by toralf.
---
test/integ/installation.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/integ/installation.py b/test/integ/installation.py
index f0ce9ed..3dfbd27 100644
--- a/test/integ/installation.py
+++ b/test/integ/installation.py
@@ -22,7 +22,7 @@ class TestInstallation(unittest.TestCase):
try:
os.chdir(base_directory)
stem.util.system.call('python setup.py install --prefix /tmp/stem_test')
- site_packages_paths = glob.glob('/tmp/stem_test/lib/*/site-packages')
+ site_packages_paths = glob.glob('/tmp/stem_test/lib*/*/site-packages')
if len(site_packages_paths) != 1:
self.fail('We should only have a single site-packages directory, but instead had: %s' % site_packages_paths)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits