From 6ccafc618f9c3cb2846d285b295a5c142b89353a Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Tue, 20 Feb 2024 18:22:58 +0100
Subject: [PATCH] Use files from `tests_old_dir`

Rather than from current series of tests.
---
 Inst_eddies/Tests/short_tests.json | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/Inst_eddies/Tests/short_tests.json b/Inst_eddies/Tests/short_tests.json
index 70e4e61b..996d00d2 100644
--- a/Inst_eddies/Tests/short_tests.json
+++ b/Inst_eddies/Tests/short_tests.json
@@ -165,7 +165,7 @@
 	],
 	"command": [
             "$build_dir/Inst_eddies/Tests/test_mean_speed",
-            "$PWD/Get_1_outerm/SHPC/Slice_0/Cyclones/outermost_contour"
+            "$tests_old_dir/Get_1_outerm/SHPC/Slice_0/Cyclones/outermost_contour"
 	]
     },
     "Mean_speed_alt": {
@@ -182,7 +182,7 @@
 	]
     },
     "Set_max_speed": {
-	"symlink": ["$PWD/Get_1_outerm/config_nml.txt"],
+	"symlink": ["$tests_old_dir/Get_1_outerm/config_nml.txt"],
 	"commands": [
             [
 		"mkdir",
@@ -193,22 +193,22 @@
 		"$build_dir/Inst_eddies/Tests/test_set_max_speed",
 		"$src_dir/Inst_eddies/Tests/Input/h_outermost.nc",
 		"$src_dir/Inst_eddies/Tests/Input/uv_outermost.nc",
-		"$PWD/Get_1_outerm/SHPC", "$PWD/Get_1_outerm/cont_list.shp"
+		"$tests_old_dir/Get_1_outerm/SHPC", "$tests_old_dir/Get_1_outerm/cont_list.shp"
             ]
 	],
 	"input": "t\n",
 	"exclude_cmp": ["n_slices.txt"]
     },
     "Set_max_speed_noise": {
-	"symlink": ["$PWD/Get_1_outerm_noise_2_8/config_nml.txt"],
+	"symlink": ["$tests_old_dir/Get_1_outerm_noise_2_8/config_nml.txt"],
 	"commands": [
             ["mkdir", "-p", "SHPC/Slice_0/Cyclones"],
             [
 		"$build_dir/Inst_eddies/Tests/test_set_max_speed",
 		"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
 		"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
-		"$PWD/Get_1_outerm_noise_2_8/SHPC",
-		"$PWD/Get_1_outerm_noise_2_8/cont_list.shp"
+		"$tests_old_dir/Get_1_outerm_noise_2_8/SHPC",
+		"$tests_old_dir/Get_1_outerm_noise_2_8/cont_list.shp"
             ]
 	],
 	"input": "t\n",
@@ -324,7 +324,7 @@
     "Nearby_extr": {
 	"command": [
             "$build_dir/Inst_eddies/Tests/test_nearby_extr",
-            "$PWD/Inst_eddies_loop/SHPC"
+            "$tests_old_dir/Inst_eddies_loop/SHPC"
 	],
 	"input": "&main_nml /\n",
 	"description": "We are using Inst_eddies_loop, which is a previous test."
-- 
GitLab