From e090a129b0b4464ece6bbc89f9b9f064ad8746e4 Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Sat, 23 Oct 2021 00:00:54 +0200
Subject: [PATCH] Write input in json file

Write input in json file instead of preparing a separate input file.
---
 Overlap/Tests/Input/successive_overlap_in.txt | 3 ---
 Overlap/Tests/short_tests.json                | 6 ++----
 2 files changed, 2 insertions(+), 7 deletions(-)
 delete mode 100644 Overlap/Tests/Input/successive_overlap_in.txt

diff --git a/Overlap/Tests/Input/successive_overlap_in.txt b/Overlap/Tests/Input/successive_overlap_in.txt
deleted file mode 100644
index 29b25f1a..00000000
--- a/Overlap/Tests/Input/successive_overlap_in.txt
+++ /dev/null
@@ -1,3 +0,0 @@
- &MAIN_NML k_test_1 = 1 /
-/
-/
diff --git a/Overlap/Tests/short_tests.json b/Overlap/Tests/short_tests.json
index 81c499fd..4029d6ef 100644
--- a/Overlap/Tests/short_tests.json
+++ b/Overlap/Tests/short_tests.json
@@ -47,8 +47,7 @@
         ]
     },
     {
-        "stdin_filename":
-	"$src_dir/Overlap/Tests/Input/successive_overlap_in.txt",
+        "input": "&MAIN_NML k_test_1 = 1 /\n/\n/\n",
         "description": "Overlap of a snapshot with itself.",
         "title": "Successive_overlap",
         "command":
@@ -58,8 +57,7 @@
         ]
     },
     {
-        "stdin_filename":
-	"$src_dir/Overlap/Tests/Input/successive_overlap_in.txt",
+        "input": "&MAIN_NML k_test_1 = 1 /\n/\n/\n",
         "description": "Same as Successive_overlap, but with larger domain: region 5 instead of region 4.",
         "title": "Successive_overlap_region_5_one_date",
         "command":
-- 
GitLab