provide FAIRMQ_PATH to test suites

This commit is contained in:
Alexey Rybalchenko
2018-05-14 18:01:08 +02:00
committed by Mohammad Al-Turany
parent e295978b3e
commit 2a6e4de72c
9 changed files with 46 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
********************************************************************************/
#include "runner.h"
#include <TestEnvironment.h>
#include <gtest/gtest.h>
@@ -33,5 +34,6 @@ 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();
}