From db2900578f718bbcdee914a464188eb46a333da9 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sat, 11 May 2019 17:00:21 +0200 Subject: [PATCH] Clean up detection of CI environment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit “RUN_FROM_BUILD_FARM” was set by the old Samba build farm, so switch to checking “TRAVIS” instead. Also, keep running in dev mode in Travis. --- configure.ac | 2 +- unittest/main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 903091aef..45c47991e 100644 --- a/configure.ac +++ b/configure.ac @@ -208,7 +208,7 @@ fi mkdir -p .deps src unittest dnl Enable developer mode if dev.mk.in exists. -if test ! -f $srcdir/dev_mode_disabled && test "$RUN_FROM_BUILD_FARM" != yes; then +if test ! -f $srcdir/dev_mode_disabled; then AC_MSG_NOTICE(developer mode enabled) AC_CONFIG_FILES([dev.mk]) include_dev_mk='include dev.mk' diff --git a/unittest/main.c b/unittest/main.c index e3299b00e..6a7b9800a 100644 --- a/unittest/main.c +++ b/unittest/main.c @@ -1,4 +1,4 @@ -// Copyright (C) 2010-2018 Joel Rosdahl +// Copyright (C) 2010-2019 Joel Rosdahl // // This program is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by the Free @@ -74,7 +74,7 @@ main(int argc, char **argv) } } - if (getenv("RUN_FROM_BUILD_FARM")) { + if (getenv("TRAVIS")) { verbose = 1; } -- 2.47.2