summaryrefslogtreecommitdiff
path: root/games-simulation/openrct2/files/openrct2-0.2.6-gtest-1.10.patch
blob: f0805f40855230e4a2ba27c3143fb25d537c6373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From 8feab6138724722146b1c6d521431556686068d3 Mon Sep 17 00:00:00 2001
From: Conrad Kostecki <conrad@kostecki.com>
Date: Wed, 19 Aug 2020 22:56:51 +0200
Subject: [PATCH] ReplayTests: Add support for >=gtest-1.10

Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
---
 test/tests/ReplayTests.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/tests/ReplayTests.cpp b/test/tests/ReplayTests.cpp
index 653aa97657f..1443d1c862d 100644
--- a/test/tests/ReplayTests.cpp
+++ b/test/tests/ReplayTests.cpp
@@ -117,4 +117,5 @@ struct PrintReplayParameter
     }
 };
 
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(ReplayTests);
 INSTANTIATE_TEST_CASE_P(Replay, ReplayTests, testing::ValuesIn(GetReplayFiles()), PrintReplayParameter());