apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r584233 - /apr/apr/branches/1.2.x/test/testutil.h
Date Fri, 12 Oct 2007 19:00:57 GMT
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



Mime
View raw message