Skip to content

Commit

Permalink
#32: skipping some extra unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tlamonthezie committed Jul 18, 2024
1 parent e8df12a commit 213ffce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/unit/deps/test_vtk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ namespace vt::tv::tests::unit::deps {
*/
class VtkTest :public ::testing::Test {
virtual void SetUp() {
// Disable this test because of gcc segfault at vtkWindowToImageFilter (memcpy)
// GTEST_SKIP();
// return;
// This test is not testing vt-tv src.
// That's why it is skipped. But it might be useful locally.
GTEST_SKIP() << "Skipping VTK basic tests";
return;

// Make the output directory for these tests
std::filesystem::create_directory(fmt::format("{}/output", SRC_DIR));
Expand Down
5 changes: 5 additions & 0 deletions tests/unit/render/test_standalone_app.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ namespace vt::tv::tests::unit::render {
*/
class StandaloneAppTest :public ::testing::TestWithParam<std::tuple<std::string, int>> {
virtual void SetUp() {
// This test is not testing vt-tv src.
// That's why it is skipped. But it might be useful locally.
GTEST_SKIP() << "Skipping standalone app tests";
return;

// Make the output directory for these tests
std::filesystem::create_directory(fmt::format("{}/output", SRC_DIR));
std::filesystem::create_directory(fmt::format("{}/output/tests", SRC_DIR));
Expand Down

0 comments on commit 213ffce

Please sign in to comment.