Skip to content

Commit

Permalink
Fix GTEST_SKIP usage
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
  • Loading branch information
azeey committed Aug 6, 2024
1 parent 4cc0fa1 commit 1457fc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion geospatial/src/Dem_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ TEST_F(DemTest, LargeVRTWithVSIZIPAndLimits)

TEST_F(DemTest, LargeVRTWithoutLimitsThrows)
{
GTEST_SKIP << "Skipping this test because it's not platform-portable";
GTEST_SKIP() << "Skipping this test because it's not platform-portable";
// Load a large VRT DEM without limits.
common::Dem dem;
auto const path = common::testing::TestFile("data", "ap_srtm1.vrt");
Expand Down
4 changes: 4 additions & 0 deletions graphics/src/AssimpLoader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,10 @@ MaterialPtr AssimpLoader::Implementation::CreateMaterial(
pbr.SetRoughness(value);
}
#endif
std::cout << "Diffuse: " << mat->Diffuse() << std::endl;
std::cout << "Specular: " << mat->Specular() << std::endl;
std::cout << "Roughness: " << pbr.Roughness() << std::endl;
std::cout << "Metalness: " << pbr.Metalness() << std::endl;
mat->SetPbrMaterial(pbr);
return mat;
}
Expand Down

0 comments on commit 1457fc9

Please sign in to comment.