Commit 348f07b4 by Antonio Maiorano

Fix unit test when ENABLE_RR_EMIT_PRINT_LOCATION is defined

Bug: b/149328074 Change-Id: Ia5af4622f2a024ea08395f7b7412e086fdb34c39 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/41270Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarAntonio Maiorano <amaiorano@google.com>
parent f9f999f5
...@@ -156,7 +156,7 @@ std::vector<std::string> split(const std::string &s) ...@@ -156,7 +156,7 @@ std::vector<std::string> split(const std::string &s)
TEST(ReactorUnitTests, PrintPrimitiveTypes) TEST(ReactorUnitTests, PrintPrimitiveTypes)
{ {
#ifdef ENABLE_RR_PRINT #if defined(ENABLE_RR_PRINT) && !defined(ENABLE_RR_EMIT_PRINT_LOCATION)
FunctionT<void()> function; FunctionT<void()> function;
{ {
bool b(true); bool b(true);
...@@ -227,7 +227,7 @@ TEST(ReactorUnitTests, PrintPrimitiveTypes) ...@@ -227,7 +227,7 @@ TEST(ReactorUnitTests, PrintPrimitiveTypes)
TEST(ReactorUnitTests, PrintReactorTypes) TEST(ReactorUnitTests, PrintReactorTypes)
{ {
#ifdef ENABLE_RR_PRINT #if defined(ENABLE_RR_PRINT) && !defined(ENABLE_RR_EMIT_PRINT_LOCATION)
FunctionT<void()> function; FunctionT<void()> function;
{ {
Bool b(true); Bool b(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment