From 35592ace2bd83bc2bf2dca35f6efa79f46121567 Mon Sep 17 00:00:00 2001
From: Patrick Baudin <patrick.baudin@cea.fr>
Date: Wed, 22 Dec 2021 10:20:04 +0100
Subject: [PATCH] [Tests] requirement for test execution from result
 directories

---
 tests/test_config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_config.in b/tests/test_config.in
index bc45c7d..45ffa54 100644
--- a/tests/test_config.in
+++ b/tests/test_config.in
@@ -1,7 +1,7 @@
 COMMENT: Generated file. Edit test_config.in
 
-MACRO: META -meta -meta-share ./share
-MACRO: WP -then-last -wp -wp-timeout 1 -wp-par 1 -wp-msg-key shell  -wp-cache update -wp-session tests/wp-cache @WP_SHARE@
+MACRO: META -meta -meta-share @PTEST_SHARE_DIR@
+MACRO: WP -then-last -wp -wp-timeout 1 -wp-par 1 -wp-msg-key shell  -wp-cache update -wp-session @PTEST_SUITE_DIR@/../wp-cache @WP_SHARE@
 MACRO: PRINT -then-last -print
 
 MACRO: EVA_PLUGINS eva,scope variadic
-- 
GitLab