Skip to content
Snippets Groups Projects
Commit 9e9779d3 authored by Oz Linden's avatar Oz Linden
Browse files

Remove unit test case that relied on undefined order of evaluation

in: 'cout << a() << b()' the order of evaluation of a() and b() is undefined.
parent ac6295ad
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,3 @@
Weird folder name "build-darwin-i386/newview/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Second Life.app" - likely causes because those $() should be ${} for CMake? - No, it's something else - lots of occurences in build-darwin folder but where do they come from? ....
libjpeg is placed in lib folder vs lib/release - change it to match others
* test 7 fails in indra/llcommon/tests/llerror_test.cpp - added skip
may be a test infrastructure failure
......@@ -453,11 +453,6 @@ namespace
return "bar";
}
void uberLogger()
{
LL_INFOS() << "uber(" << outerLogger() << "," << innerLogger() << ")" << LL_ENDL;
}
class LogWhileLogging
{
public:
......@@ -485,25 +480,15 @@ namespace tut
// handle nested logging
void ErrorTestObject::test<7>()
{
#if LL_DARWIN
skip("Skip known failure on clang and intelc due to operator << differences");
#endif
outerLogger();
ensure_message_contains(0, "inside");
ensure_message_contains(1, "outside(moo)");
ensure_message_count(2);
uberLogger();
ensure_message_contains(2, "inside");
ensure_message_contains(3, "inside");
ensure_message_contains(4, "outside(moo)");
ensure_message_contains(5, "uber(bar,moo)");
ensure_message_count(6);
metaLogger();
ensure_message_contains(6, "logging");
ensure_message_contains(7, "meta(baz)");
ensure_message_count(8);
ensure_message_contains(2, "logging");
ensure_message_contains(3, "meta(baz)");
ensure_message_count(4);
}
template<> template<>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment