provide FAIRMQ_PATH to test suites

This commit is contained in:
Alexey Rybalchenko
2018-05-14 18:01:08 +02:00
parent 6188e69c49
commit 28a4a8d192
9 changed files with 46 additions and 0 deletions

View File

@@ -6,11 +6,15 @@
* copied verbatim in the file "LICENSE" *
********************************************************************************/
#include <TestEnvironment.h>
#include <gtest/gtest.h>
#include <stdlib.h>
auto main(int argc, char** argv) -> int
{
::testing::InitGoogleTest(&argc, argv);
::testing::FLAGS_gtest_death_test_style = "threadsafe";
setenv("FAIRMQ_PATH", FAIRMQ_TEST_ENVIRONMENT, 0);
return RUN_ALL_TESTS();
}