----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/47374/#review137162 -----------------------------------------------------------
src/Makefile.am (lines 1950 - 1951) <https://reviews.apache.org/r/47374/#comment202317> I don't think we should be embedding absolute paths to source/build directories in a library that we are planning to install on the system. What is the rationale behind it? src/Makefile.am (lines 1954 - 1955) <https://reviews.apache.org/r/47374/#comment202318> ditto. src/Makefile.am (lines 1971 - 1980) <https://reviews.apache.org/r/47374/#comment202315> At some point we should create a few common `_CPPFLAGS`, `_LDFLAGS` and `_DEPENDENCIES` variables instead of repeating it for every library/binary. src/Makefile.am (lines 1982 - 1985) <https://reviews.apache.org/r/47374/#comment202316> Why this split? - Kapil Arya On June 10, 2016, 8:03 p.m., Joseph Wu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/47374/ > ----------------------------------------------------------- > > (Updated June 10, 2016, 8:03 p.m.) > > > Review request for mesos, Adam B, Artem Harutyunyan, Jie Yu, Kapil Arya, Jan > Schlicht, and Till Toenshoff. > > > Repository: mesos > > > Description > ------- > > This gives external projects easier access to the test helpers used in > mesos tests. > > For example, a module writer may want to write a test like > `src/tests/oversubscription_tests.cpp`. To build and link against > this library, the module writer would mimic the build flags for tests: > ``` > # Main test file is taken directly from Mesos. > my_module_tests_SOURCES = \ > $(MESOS)/src/tests/main.cpp > > my_module_tests_CPPFLAGS = \ > -I$(GMOCK)/include \ > -I$(GTEST)/include \ > -I$(MESOS)/include/mesos \ > -I$(ZOOKEEPER)/include \ > -I$(ZOOKEEPER)/generated \ > $(AM_CPPFLAGS) > > my_module_tests_LDADD = \ > $(MESOS)/3rdparty/.libs/libgmock.la \ > $(MESOS)/src/.libs/libmesos.la \ > $(MESOS)/src/.libs/libmesos_tests.la > ``` > > > Diffs > ----- > > src/Makefile.am ce5245883f3d2661812272702c0d2060513b6d88 > > Diff: https://reviews.apache.org/r/47374/diff/ > > > Testing > ------- > > make check on OSX, CentOS 7, Ubuntu 14 > > > Thanks, > > Joseph Wu > >
