From e9ad7c411417de20b6c187bc3b2f565041ace348 Mon Sep 17 00:00:00 2001
From: Allan Blanchard <allan.blanchard@cea.fr>
Date: Mon, 25 Jul 2022 11:20:21 +0200
Subject: [PATCH] [tests] disabled some tests when no Python 3.7+

---
 tests/compliance/test_config | 1 +
 tests/fc_script/test_config  | 1 +
 tests/jcdb/test_config       | 1 +
 3 files changed, 3 insertions(+)

diff --git a/tests/compliance/test_config b/tests/compliance/test_config
index 2454128362a..7b1cc18c311 100644
--- a/tests/compliance/test_config
+++ b/tests/compliance/test_config
@@ -1 +1,2 @@
 PLUGIN:
+ENABLED_IF: %{read:../../../python-3.7-available}
diff --git a/tests/fc_script/test_config b/tests/fc_script/test_config
index ff1c5e31628..11c2e8173b5 100644
--- a/tests/fc_script/test_config
+++ b/tests/fc_script/test_config
@@ -3,4 +3,5 @@ COMMENT: Explicits the dependencies of {bin:frama-c-script} execution:
  PLUGIN: variadic,instantiate
 COMMENT: The library frama-c.analysis_scripts is part of the package frama-c
 COMMENT: and this dependency is implicit as the one to the needed python files.
+ENABLED_IF: %{read:../../../python-3.7-available}
 */
diff --git a/tests/jcdb/test_config b/tests/jcdb/test_config
index 2454128362a..7b1cc18c311 100644
--- a/tests/jcdb/test_config
+++ b/tests/jcdb/test_config
@@ -1 +1,2 @@
 PLUGIN:
+ENABLED_IF: %{read:../../../python-3.7-available}
-- 
GitLab