From 50446aefa6f3b7a92e5e059617f7450be023d893 Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Mon, 23 Mar 2020 15:53:42 +0300 Subject: [PATCH] [SYCL] Handle SYCL_DEVICE_ALLOWLIST in lit.cfg.py Signed-off-by: Alexey Sachkov --- sycl/test/lit.cfg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sycl/test/lit.cfg.py b/sycl/test/lit.cfg.py index 24072d99cd2bf..ca2947308e75b 100644 --- a/sycl/test/lit.cfg.py +++ b/sycl/test/lit.cfg.py @@ -67,8 +67,8 @@ if 'OCL_ICD_FILENAMES' in os.environ: config.environment['OCL_ICD_FILENAMES'] = os.environ['OCL_ICD_FILENAMES'] -if 'SYCL_DEVICE_WHITE_LIST' in os.environ: - config.environment['SYCL_DEVICE_WHITE_LIST'] = os.environ['SYCL_DEVICE_WHITE_LIST'] +if 'SYCL_DEVICE_ALLOWLIST' in os.environ: + config.environment['SYCL_DEVICE_ALLOWLIST'] = os.environ['SYCL_DEVICE_ALLOWLIST'] config.substitutions.append( ('%sycl_libs_dir', config.sycl_libs_dir ) ) config.substitutions.append( ('%sycl_include', config.sycl_include ) )