Attempt to fix travis build and testrunner failure

This commit is contained in:
PKEuS 2016-07-28 20:59:09 +02:00
parent 452ecc7ceb
commit 92e3e802fb
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@ redundantNextPrevious:test/testtoken.cpp
simplePatternError:test/testtoken.cpp
uselessAssignmentPtrArg:build/checkstl.cpp
uselessAssignmentPtrArg:build/tokenize.cpp
passedByValue:build/symboldatabase.h
passedByValue:build/library.h
*:gui/test*
*:test/test.cxx
*:test/cfg*

View File

@ -1309,7 +1309,7 @@ private:
ASSERT_EQUALS("", errout.str());
check("class Foo { static std::string s; };\nvoid f(const Foo foo) {}"); // Small class (static member)
ASSERT_EQUALS("[test.cpp:2]: (performance) Function parameter 'foo' should be passed by reference.\n", errout.str());
ASSERT_EQUALS("", errout.str());
check("class X { std::string s; }; class Foo : X { };\nvoid f(const Foo foo) {}"); // Large class (inherited)
ASSERT_EQUALS("[test.cpp:2]: (performance) Function parameter 'foo' should be passed by reference.\n", errout.str());