From 1665ced8b48062d78d0035987bf33d6d28ed5c66 Mon Sep 17 00:00:00 2001 From: Jose Date: Fri, 10 Jun 2016 21:19:28 +0200 Subject: IceSSL/configuration test fixes for Debian kFreeBSD --- scripts/TestUtil.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'scripts/TestUtil.py') diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py index a838398f1b3..5a151a9525e 100755 --- a/scripts/TestUtil.py +++ b/scripts/TestUtil.py @@ -127,11 +127,17 @@ def isYocto(): return isLinux() and linuxDistribution and linuxDistribution == "Yocto" def isDebian(): - return isLinux() and linuxDistribution and linuxDistribution == "Debian" + return (isLinux() and linuxDistribution and linuxDistribution == "Debian") or isDebianFreeBSD() def isSles(): return isLinux() and linuxDistribution and linuxDistribution == "SUSE LINUX" +def iceUseOpenSSL(): + return any(sys.platform.startswith(p) for p in ["linux", "freebsd", "gnukfreebsd"]) + +def isDebianFreeBSD(): + return sys.platform.startswith("gnukfreebsd") + def getCppCompiler(): compiler = "" if os.environ.get("CPP_COMPILER", "") != "": -- cgit v1.2.3