diff options
author | jmmv <jmmv@FreeBSD.org> | 2014-01-10 23:41:01 +0000 |
---|---|---|
committer | jmmv <jmmv@FreeBSD.org> | 2014-01-10 23:41:01 +0000 |
commit | a243e8b5026111351c044402454aa4be2e77e6d1 (patch) | |
tree | 053446401422ce3978c4348969f0db285c9abc62 /lib | |
parent | e2cefed6a55741b47c724c2b99d20713c700a6a8 (diff) | |
download | FreeBSD-src-a243e8b5026111351c044402454aa4be2e77e6d1.zip FreeBSD-src-a243e8b5026111351c044402454aa4be2e77e6d1.tar.gz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/atf/Makefile.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/atf/Makefile.inc b/lib/atf/Makefile.inc index 15e7517..40da946 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}"' |