changeset 473:5914e27dc717

[PATCH] Get run-tests working on 64-bit machines. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] Get run-tests working on 64-bit machines. From: Bryan O'Sullivan <bos@serpentine.com> manifest hash: 3704997be1744478414cddcd79c7bea5ccd6a1b1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCvfdvywK+sNU5EO8RAm5iAJ9mWxI4o2j7IM7Mko7IjfKfNtWJqwCcDekn 6GDlcDo/Q3nv8ybFzykwQjY= =tS2i -----END PGP SIGNATURE-----
author mpm@selenic.com
date Sat, 25 Jun 2005 16:31:43 -0800
parents aa3d592df9b9
children b2ae8283d1a6 ab53998b9dcd
files tests/run-tests
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests	Sat Jun 25 16:18:40 2005 -0800
+++ b/tests/run-tests	Sat Jun 25 16:31:43 2005 -0800
@@ -6,9 +6,15 @@
 failed=0
 H=$PWD
 
+if [ -d /usr/lib64 ]; then
+    lib=lib64
+else
+    lib=lib
+fi
+
 TESTPATH=$PWD/install/bin
 export PATH=$TESTPATH:$PATH
-export PYTHONPATH=$PWD/install/lib/python
+export PYTHONPATH=$PWD/install/$lib/python
 
 rm -rf install
 cd ..