[PATCH] Get run-tests working on 64-bit machines.
authormpm@selenic.com
Sat, 25 Jun 2005 16:31:43 -0800
changeset 473 5914e27dc717
parent 472 aa3d592df9b9
child 474 b2ae8283d1a6
child 475 ab53998b9dcd
[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-----
tests/run-tests
--- 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 ..