# HG changeset patch # User mpm@selenic.com # Date 2005-06-26 00:31:43 # Node ID 5914e27dc717232d00585518484438a9be815d6f # Parent aa3d592df9b9d1fb710345f1aa7888bfe56efed4 [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 manifest hash: 3704997be1744478414cddcd79c7bea5ccd6a1b1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCvfdvywK+sNU5EO8RAm5iAJ9mWxI4o2j7IM7Mko7IjfKfNtWJqwCcDekn 6GDlcDo/Q3nv8ybFzykwQjY= =tS2i -----END PGP SIGNATURE----- diff --git a/tests/run-tests b/tests/run-tests --- a/tests/run-tests +++ b/tests/run-tests @@ -6,9 +6,15 @@ tests=0 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 ..