From 190cb4fed7d91de7cc1b787a0131b855768e5c91 Mon Sep 17 00:00:00 2001
From: Patrick Baudin <patrick.baudin@cea.fr>
Date: Wed, 6 Oct 2021 15:44:10 +0200
Subject: [PATCH] [Tests] testing tests/compliance suite

---
 tests/compliance/check-json.i | 9 +++++----
 tests/ptests_config           | 3 +--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/compliance/check-json.i b/tests/compliance/check-json.i
index a1d2ca26a68..e6ae724ab7b 100644
--- a/tests/compliance/check-json.i
+++ b/tests/compliance/check-json.i
@@ -1,7 +1,8 @@
 /*run.config
+MACRO: SHARE @FRAMAC_SHARE@/compliance
  NOFRAMAC:
-  EXECNOW: LOG json_@PTEST_NAME@_1.txt python3 -m json.tool < share/compliance/c11_functions.json | head -n 2 > json_@PTEST_NAME@_1.txt 2> @DEV_NULL@
-  EXECNOW: LOG json_@PTEST_NAME@_2.txt python3 -m json.tool < share/compliance/glibc_functions.json | head -n 2 > json_@PTEST_NAME@_2.txt 2> @DEV_NULL@
-  EXECNOW: LOG json_@PTEST_NAME@_3.txt python3 -m json.tool < share/compliance/nonstandard_identifiers.json | head -n 2 > json_@PTEST_NAME@_3.txt 2> @DEV_NULL@
-  EXECNOW: LOG json_@PTEST_NAME@_4.txt python3 -m json.tool < share/compliance/posix_identifiers.json | head -n 2 > json_@PTEST_NAME@_4.txt 2> @DEV_NULL@
+  EXECNOW: LOG json_@PTEST_NAME@_1.txt python3 -m json.tool < @SHARE@/c11_functions.json | head -n 2 > json_@PTEST_NAME@_1.txt 2> @DEV_NULL@
+  EXECNOW: LOG json_@PTEST_NAME@_2.txt python3 -m json.tool < @SHARE@/glibc_functions.json | head -n 2 > json_@PTEST_NAME@_2.txt 2> @DEV_NULL@
+  EXECNOW: LOG json_@PTEST_NAME@_3.txt python3 -m json.tool < @SHARE@/nonstandard_identifiers.json | head -n 2 > json_@PTEST_NAME@_3.txt 2> @DEV_NULL@
+  EXECNOW: LOG json_@PTEST_NAME@_4.txt python3 -m json.tool < @SHARE@/posix_identifiers.json | head -n 2 > json_@PTEST_NAME@_4.txt 2> @DEV_NULL@
 */
diff --git a/tests/ptests_config b/tests/ptests_config
index 24c61bdfcd0..90c16b5479a 100644
--- a/tests/ptests_config
+++ b/tests/ptests_config
@@ -10,8 +10,7 @@ DEFAULT_SUITES= saveload scope slicing sparecode spec syntax test value value/tr
 # todo: fixes fc_script
 IGNORE= DEFAULT_SUITES= fc_script
 
-# todo: fixes test dependencies
-IGNORE= DEFAULT_SUITES= compliance
+DEFAULT_SUITES= compliance
 
 # todo: adds make_run_script?
 IGNORE= DEFAULT_SUITES= make_run_script
-- 
GitLab