aboutsummaryrefslogtreecommitdiff
path: root/lib/atf
diff options
context:
space:
mode:
authorJulio Merino <jmmv@FreeBSD.org>2014-01-10 23:41:01 +0000
committerJulio Merino <jmmv@FreeBSD.org>2014-01-10 23:41:01 +0000
commitb17b15d8ea55f8cb4c5a3bdfae755c545d10aea2 (patch)
tree053446401422ce3978c4348969f0db285c9abc62 /lib/atf
parent762c167edefe606d9e9fcf2b3455a54ceb0a32f2 (diff)
downloadsrc-b17b15d8ea55f8cb4c5a3bdfae755c545d10aea2.tar.gz
src-b17b15d8ea55f8cb4c5a3bdfae755c545d10aea2.zip
Fix path to the process_helpers for the libatf-c++ tests.
Because we respect the FreeBSD src tree layout under /usr/tests, and because the layout of the tests in the atf distfile does not match the former, the tests for atf-c++ were not able to find the process_helper binary. Fix this by explicitly hardcoding the right path in the FreeBSD test suite. Obtained from: atf (git 1f0e878f7f127741a3762883ef24aef317e239d5) MFC after: 1 week
Notes
Notes: svn path=/head/; revision=260526
Diffstat (limited to 'lib/atf')
-rw-r--r--lib/atf/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/atf/Makefile.inc b/lib/atf/Makefile.inc
index 15e7517f0bc5..40da94673e12 100644
--- a/lib/atf/Makefile.inc
+++ b/lib/atf/Makefile.inc
@@ -38,6 +38,7 @@ CFLAGS+= -DATF_BUILD_CPPFLAGS='"${_CPPFLAGS}"'
CFLAGS+= -DATF_BUILD_CXX='"${CXX}"'
CFLAGS+= -DATF_BUILD_CXXFLAGS='"${_CXXFLAGS}"'
CFLAGS+= -DATF_CONFDIR='"${CONFDIR}/atf"'
+CFLAGS+= -DATF_C_TESTS_BASE='"${TESTSBASE}/lib/atf/libatf-c"'
CFLAGS+= -DATF_INCLUDEDIR='"${INCLUDEDIR}"'
CFLAGS+= -DATF_LIBDIR='"${LIBDIR}"'
CFLAGS+= -DATF_LIBEXECDIR='"${LIBEXECDIR}"'