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

package info (click to toggle)
opm-common 2024.10%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 98,420 kB
  • sloc: cpp: 263,013; python: 3,155; sh: 198; xml: 174; pascal: 136; makefile: 12
file content (25 lines) | stat: -rw-r--r-- 755 bytes parent folder | download
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 f73bb4d..ce0c255 100644
--- a/tests/test_ESmry.cpp
+++ b/tests/test_ESmry.cpp
@@ -35,7 +35,7 @@
 #include <math.h>
 #include <stdio.h>
 #include <tuple>
-#include "tests/WorkArea.hpp"
+#include "WorkArea.hpp"
 
 using Opm::EclIO::ESmry;