aboutsummaryrefslogtreecommitdiff
path: root/community/gerbera/disable-git-test.patch
blob: 2eb64acb2f7692617a02cabb203062bba28e2224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Mike Crute <mike@crute.us>
Date: Tue, 24 Dec 2019 16:18:32 +0000
Subject: Disable broken tests

Patch removes check for git info in server version output. This assumes
that the binary was built within a git repo which is not the case for
releases. This test will never work for us.

---

--- a/test/test_server/test_main.cc.orig
+++ b/test/test_server/test_main.cc
@@ -48,7 +48,7 @@
   ASSERT_THAT(output.c_str(), HasSubstr(expectedOutput.c_str()));
 }
 
-TEST_F(ServerTest, ServerOutputsCompileInformationIncludingGit) {
+TEST_F(ServerTest, DISABLED_ServerOutputsCompileInformationIncludingGit) {
   std::stringstream ss;
   ss << CMAKE_BINARY_DIR << DIR_SEPARATOR << "gerbera --compile-info 2>&1";
   std::string cmd = ss.str();