mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-09-05 19:36:55 +02:00
12 lines
293 B
C++
12 lines
293 B
C++
#include <gtest/gtest.h>
|
|
|
|
#include "kernel/yosys.h"
|
|
|
|
namespace {
|
|
struct YosysSetupEnvironment : ::testing::Environment {
|
|
void SetUp() override { Yosys::yosys_setup(); }
|
|
};
|
|
const ::testing::Environment *yosys_setup_env =
|
|
::testing::AddGlobalTestEnvironment(new YosysSetupEnvironment);
|
|
}
|