From 9a8e5b57336134d1af11ed19403b18bd37ae7fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 8 Nov 2016 17:32:03 +0200 Subject: Skip SNI tests on OTP<18 in CI --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2ca9290..17b9a23 100644 --- a/Makefile +++ b/Makefile @@ -8,12 +8,19 @@ COMPILE_FIRST = ranch_transport CT_OPTS += -pa test -ct_hooks ranch_ct_hook [] PLT_APPS = crypto public_key ssl -CI_OTP ?= \ +CI_OTP_NO_SNI = \ OTP_R16B OTP_R16B01 OTP_R16B02 OTP_R16B03-1 \ - OTP-17.1.2 OTP-17.2.2 OTP-17.3.4 OTP-17.4.1 OTP-17.5.6.6 \ + OTP-17.1.2 OTP-17.2.2 OTP-17.3.4 OTP-17.4.1 OTP-17.5.6.6 +CI_OTP ?= $(CI_OTP_NO_SNI) \ OTP-18.0.3 OTP-18.1.5 OTP-18.2.4.1 OTP-18.3.4.4 \ OTP-19.0.7 OTP-19.1.5 +ifdef CI_OTP_RELEASE +ifneq ($(filter $(CI_OTP_RELEASE),$(CI_OTP_NO_SNI)),) +TEST_ERLC_OPTS += -DTEST_NO_SNI=1 +endif +endif + # Dependencies. TEST_DEPS = ct_helper -- cgit v1.2.3