[svk-commit] r3059 - trunk/pkg

nobody at bestpractical.com nobody at bestpractical.com
Mon Aug 4 23:29:27 EDT 2008


Author: clkao
Date: Mon Aug  4 23:29:26 2008
New Revision: 3059

Modified:
   trunk/pkg/maketest

Log:
make dist test work on macosx.


Modified: trunk/pkg/maketest
==============================================================================
--- trunk/pkg/maketest	(original)
+++ trunk/pkg/maketest	Mon Aug  4 23:29:26 2008
@@ -6,5 +6,13 @@
 
 BASE=`echo $BASE | sed s/maketest$//`;
 PROVE=`which prove`
-cd /tmp
-LD_LIBRARY_PATH=${BASE} perl -I${BASE}perl "$PROVE" -r ${BASE}t
+
+# canonicalize the cwd for test
+TMP=`readlink /tmp`
+if [ "x${BASE}" = x ]; then
+	TMP=tmp
+fi
+
+cd /${TMP}
+echo /${TMP}
+DYLD_LIBRARY_PATH=${BASE} LD_LIBRARY_PATH=${BASE} perl -I${BASE}perl "$PROVE" -r ${BASE}t


More information about the svk-commit mailing list