diff --git a/CMakeLists.txt b/CMakeLists.txt index 7eb39deb..7e6f0353 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,8 @@ set(VERSION_DATE "2018-08-04") set(PACKAGE_STRING "${PROJECT_NAME} ${VZLOGGER_RPM_VERSION}") set(VERSION "${VZLOGGER_RPM_VERSION}") set(CMAKE_VERBOSE_MAKEFILE 1) +# Needed for TEST(mock_MeterOMS, first_packets) +set(ENV{TZ} "Europe/Berlin") # debug build, on by default ADD_DEFINITIONS(-g3) diff --git a/debian/rules b/debian/rules index fe181a67..11114bd7 100755 --- a/debian/rules +++ b/debian/rules @@ -16,8 +16,6 @@ include /usr/share/dpkg/pkg-info.mk # Debian flags invented usage of LTO, which in combination with google test on # Ubuntu 22.04.4 causes the errors supressed below export CXXFLAGS += -Wno-lto-type-mismatch -Wno-odr -# Needed for TEST(mock_MeterOMS, first_packets) -export TZ="Europe/Berlin" VERSION1=$(shell echo ${DEB_VERSION_UPSTREAM} | cut -f1 -d.) VERSION2=$(shell echo ${DEB_VERSION_UPSTREAM} | cut -f2 -d.)