From e8bca5052a704620e8f6283210d33f96a99f2299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 24 May 2019 09:18:34 +0200 Subject: [PATCH] ci: Make MALLOC_PERTURB_ less random The point is to not initialize to some non-zero value to find places incorrectly relying on blocks being zero initialized. Thus, there is no reason to have a different random number each time, and by having it the same, we have slightly more reproducable triggers, would we ever trigger anything due to this. https://gitlab.gnome.org/GNOME/mutter/merge_requests/591 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20387db41..6cb0b9b48 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,12 +37,12 @@ test-mutter: GSETTINGS_SCHEMA_DIR: "$CI_PROJECT_DIR/build/data" MALLOC_CHECK_: "3" NO_AT_BRIDGE: "1" + MALLOC_PERTURB_: "123" script: - dconf update - mkdir -m 700 $XDG_RUNTIME_DIR - glib-compile-schemas $GSETTINGS_SCHEMA_DIR - > - env MALLOC_PERTURB_="$((RANDOM % 256 + 1))" dbus-run-session -- xvfb-run -s '+iglx -noreset' meson test -C build --no-rebuild -t 10 --verbose --no-stdsplit --wrap catchsegv only: