mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
dev-cpp/easyloggingpp: new package, add 9.97.0
Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
This commit is contained in:
45
dev-cpp/easyloggingpp/files/disable-failing-tests.patch
Normal file
45
dev-cpp/easyloggingpp/files/disable-failing-tests.patch
Normal file
@@ -0,0 +1,45 @@
|
||||
Description: Disable failing tests
|
||||
Author: Stephen Kitt <skitt@debian.org>
|
||||
|
||||
--- a/test/command-line-args-test.h
|
||||
+++ b/test/command-line-args-test.h
|
||||
@@ -26,7 +26,7 @@
|
||||
EXPECT_STRCASEEQ(cmd.getParamValue("--arg4WithValue"), "this_should_Added");
|
||||
}
|
||||
|
||||
-TEST(CommandLineArgsTest, LoggingFlagsArg) {
|
||||
+TEST(CommandLineArgsTest, DISABLED_LoggingFlagsArg) {
|
||||
const char* c[3];
|
||||
c[0] = "myprog";
|
||||
c[1] = "--logging-flags=5"; // NewLineForContainer & LogDetailedCrashReason (1 & 4)
|
||||
--- a/test/helpers-test.h
|
||||
+++ b/test/helpers-test.h
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "test.h"
|
||||
#include <vector>
|
||||
|
||||
-TEST(HelpersTest, ConvertTemplateToStdString) {
|
||||
+TEST(HelpersTest, DISABLED_ConvertTemplateToStdString) {
|
||||
std::vector<int> vecInt;
|
||||
vecInt.push_back(1);
|
||||
vecInt.push_back(2);
|
||||
--- a/test/syslog-test.h
|
||||
+++ b/test/syslog-test.h
|
||||
@@ -8,7 +8,7 @@
|
||||
static const char* kSysLogFile = "/var/log/syslog";
|
||||
static const char* s_currentHost = el::base::utils::OS::currentHost().c_str();
|
||||
|
||||
-TEST(SysLogTest, WriteLog) {
|
||||
+TEST(SysLogTest, DISABLED_WriteLog) {
|
||||
if (!fileExists(kSysLogFile)) {
|
||||
// Do not check for syslog config, just dont test it
|
||||
return;
|
||||
@@ -23,7 +23,7 @@
|
||||
EXPECT_TRUE(Str::endsWith(actual, expectedEnd));
|
||||
}
|
||||
|
||||
-TEST(SysLogTest, DebugVersionLogs) {
|
||||
+TEST(SysLogTest, DISABLED_DebugVersionLogs) {
|
||||
if (!fileExists(kSysLogFile)) {
|
||||
// Do not check for syslog config, just dont test it
|
||||
return;
|
||||
Reference in New Issue
Block a user