summaryrefslogtreecommitdiffstats
path: root/.github/workflows/unit_tests.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-08 18:51:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-08 18:51:17 +0000
commitf8bdff40eb3060586a7a385e7879f519b9af7d51 (patch)
tree0581c838f37fefddfd6d880aea14159dd9479e93 /.github/workflows/unit_tests.sh
parentReleasing progress-linux version 252.22-1~deb12u1progress7u1. (diff)
downloadsystemd-f8bdff40eb3060586a7a385e7879f519b9af7d51.tar.xz
systemd-f8bdff40eb3060586a7a385e7879f519b9af7d51.zip
Merging upstream version 252.23.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/unit_tests.sh')
-rwxr-xr-x.github/workflows/unit_tests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/unit_tests.sh b/.github/workflows/unit_tests.sh
index 9a9fbb3..779600e 100755
--- a/.github/workflows/unit_tests.sh
+++ b/.github/workflows/unit_tests.sh
@@ -76,7 +76,8 @@ for phase in "${PHASES[@]}"; do
MESON_ARGS+=(--fatal-meson-warnings)
run_meson -Dnobody-group=nogroup --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true "${MESON_ARGS[@]}" build
ninja -C build -v
- meson test -C build --print-errorlogs
+ # Ensure setting a timezone (like the reproducible build tests do) does not break time/date unit tests
+ TZ=GMT+12 meson test -C build --print-errorlogs
;;
RUN_ASAN_UBSAN|RUN_GCC_ASAN_UBSAN|RUN_CLANG_ASAN_UBSAN|RUN_CLANG_ASAN_UBSAN_NO_DEPS)
MESON_ARGS=(--optimization=1)