You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/10/12 21:00:57 UTC
svn commit: r584233 - /apr/apr/branches/1.2.x/test/testutil.h
Author: wrowe
Date: Fri Oct 12 11:59:54 2007
New Revision: 584233
URL: http://svn.apache.org/viewvc?rev=584233&view=rev
Log:
In preparation to be able to test multiple, parallel
flavors of the apr build, we'll need to designate the
path of the apr-invoked binaires. Macroize this.
Backports: 582543
Also remove XXX/it's too late to make such a change
on a branch, it can only happen to trunk.
Modified:
apr/apr/branches/1.2.x/test/testutil.h
Modified: apr/apr/branches/1.2.x/test/testutil.h
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/test/testutil.h?rev=584233&r1=584232&r2=584233&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/test/testutil.h (original)
+++ apr/apr/branches/1.2.x/test/testutil.h Fri Oct 12 11:59:54 2007
@@ -15,12 +15,22 @@
*/
#include "apr_pools.h"
+#include "apr_general.h"
#include "abts.h"
#ifndef APR_TEST_UTIL
#define APR_TEST_UTIL
-/* XXX FIXME */
+#ifdef WIN32
+#ifdef BINPATH
+#define TESTBINPATH APR_STRINGIFY(BINPATH) "/"
+#else
+#define TESTBINPATH ""
+#endif
+#else
+#define TESTBINPATH "./"
+#endif
+
#ifdef WIN32
#define EXTENSION ".exe"
#elif NETWARE