File: 0006-Make-test_ESmry.cpp-usable-for-autopkgtests.patch

package info (click to toggle)
opm-common 2025.04%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 98,788 kB
  • sloc: cpp: 277,948; python: 3,553; sh: 198; xml: 174; pascal: 136; makefile: 12
file content (25 lines) | stat: -rw-r--r-- 739 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Markus Blatt <markus@dr-blatt.de>
Date: Mon, 15 Nov 2021 16:55:10 +0100
Subject: Make test_ESmry.cpp usable for autopkgtests.

In 2021.10 it uses the header tests/WorkArea.cpp that gets copied
to the same directory as tests/test_ESMry.cpp and we need to make in includable
from the same source directory (which will not be tests but the
uppermost source directory).
---
 tests/test_ESmry.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_ESmry.cpp b/tests/test_ESmry.cpp
index 6c56f39..29e1e41 100644
--- a/tests/test_ESmry.cpp
+++ b/tests/test_ESmry.cpp
@@ -38,7 +38,7 @@
 #include <math.h>
 #include <stdio.h>
 
-#include "tests/WorkArea.hpp"
+#include "WorkArea.hpp"
 
 using Opm::EclIO::ESmry;