-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26855/
-----------------------------------------------------------

(Updated Oct. 17, 2014, 2:11 a.m.)


Review request for mesos, Niklas Nielsen and Till Toenshoff.


Changes
-------

Use LD_LIBRARY_PATH for Linux and DYLD_LIBRARY_PATH for OS X.


Repository: mesos-git


Description
-------

During the one-time setup of the test cases, we do the following:
1. set LD_LIBRARY_PATH to also point to the src/.libs directory.
   The original LD_LIBRARY_PATH is restored at the end of all tests.
2. dlopen() examplemodule library and retrieve the pointer to 
   ModuleBase for the test module.  This pointer is later used to
   reset the Mesos and module API versions during per-test teardown.

During the tear-down after each test, we unload the module to allow
later loads to succeed.


Diffs (updated)
-----

  src/Makefile.am c44a9ad47d6e1262949b9049f4ae25b049440d99 
  src/examples/example_module_impl.cpp 27c05201a53de3efb00846e694db41cfe9250e61 
  src/tests/module_tests.hpp PRE-CREATION 
  src/tests/module_tests.cpp 54e1e8d26719069d01bfabd918f7c37ddbf3c7c4 

Diff: https://reviews.apache.org/r/26855/diff/


Testing
-------

make check with and without shuffle with repeated iterations.


Thanks,

Kapil Arya

Reply via email to