From f3d0bae8f13c8dc311addc45b58a10c87181bc35 Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Keck <Jean-Baptiste.Keck@imag.fr>
Date: Sun, 9 Dec 2018 21:32:44 +0100
Subject: [PATCH] testenv

---
 hysop/testsenv.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hysop/testsenv.py b/hysop/testsenv.py
index 0a735bd28..9ae984c0f 100644
--- a/hysop/testsenv.py
+++ b/hysop/testsenv.py
@@ -75,7 +75,7 @@ if __HAS_OPENCL_BACKEND__:
         If __ENABLE_LONG_TESTS__ is False, just yield the default OpenCl
         environment.
         """
-        all_platforms = first_not_None(all_platforms, __ENABLE_LONG_TESTS__)
+        all_platforms = first_not_None(all_platforms, __TEST_ALL_OPENCL_PLATFORMS__)
         if isinstance(device_type, str):
             if (device_type=='cpu'):
                 device_type = cl.device_type.CPU
-- 
GitLab