FairMQ/test/runner.cxx.in
2022-01-25 11:55:38 +01:00

32 lines
1020 B
C++

/********************************************************************************
* Copyright (C) 2017 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
* copied verbatim in the file "LICENSE" *
********************************************************************************/
#include <runner.h>
#include <TestEnvironment.h>
#include <gtest/gtest.h>
#include <string>
namespace fair::mq::test
{
using namespace std;
string runTestDevice = "@RUN_TEST_DEVICE@";
} // namespace fair::mq::test
int main(int argc, char** argv)
{
::testing::InitGoogleTest(&argc, argv);
::testing::FLAGS_gtest_death_test_style = "threadsafe";
setenv("FAIRMQ_PATH", FAIRMQ_TEST_ENVIRONMENT, 0);
return RUN_ALL_TESTS();
}