Skip to content

Commit

Permalink
forgot to set the ngl::Obj::CalcBB::False flag on mesh in PointBake u…
Browse files Browse the repository at this point in the history
…nit tests so fails on CI as no GPU
  • Loading branch information
jmacey committed Sep 26, 2023
1 parent d9202ea commit 5267ac4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions tests/ObjTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ TEST(Obj,openForReading)
}
}

//TEST(Obj,loadBig)
//{
// Obj a;
// EXPECT_TRUE(a.load("files/sponza.obj"));
//}

TEST(Obj,defaultCtor)
{
Expand Down
2 changes: 1 addition & 1 deletion tests/PointBakeTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ TEST(PointBake,filector)
TEST(PointBake,addMesh)
{
auto pb=ngl::NCCAPointBake("files/Tri.xml");
auto mesh=ngl::Obj("models/Tri.obj");
auto mesh=ngl::Obj("models/Tri.obj",ngl::Obj::CalcBB::False);
EXPECT_TRUE(pb.attachMesh(&mesh));
}

Expand Down
2 changes: 1 addition & 1 deletion tests/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ int main(int argc, char **argv)
if(useOpenGL == false)
{
std::cerr << "excluding tests\n";
::testing::GTEST_FLAG(filter) = "-ShaderLib.*:VAOPrimitives.*:NGLInit*: NGLMessage*";
::testing::GTEST_FLAG(filter) = "-ShaderLib.*:VAOPrimitives.*:NGLInit*:NGLMessage*";
}
// testing::internal::CaptureStdout();
testing::internal::CaptureStderr();
Expand Down

0 comments on commit 5267ac4

Please sign in to comment.