Skip to content

Commit

Permalink
#95: changes for pr
Browse files Browse the repository at this point in the history
  • Loading branch information
tlamonthezie committed Aug 27, 2024
1 parent f2a7e72 commit 5c18b10
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 18 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
push:
branches:
- master
- 95-improve-ci-rendering-tests # TODO: REMOVE ONCE PR CREATED
pull_request:
types: [opened, reopened, synchronize, converted_to_draft, ready_for_review]

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ VT_TV_COVERAGE_ENABLED=$(on_off ${VT_TV_COVERAGE_ENABLED:-OFF})
VT_TV_CLEAN=$(on_off ${VT_TV_CLEAN:-ON})
VT_TV_PYTHON_BINDINGS_ENABLED=$(on_off ${VT_TV_PYTHON_BINDINGS_ENABLED:-OFF})
VT_TV_WERROR_ENABLED=$(on_off ${VT_TV_WERROR_ENABLED:-OFF})
VT_TV_XVFB_ENABLED=$(on_off ${VT_TV_WERROR_ENABLED:-OFF})
VT_TV_XVFB_ENABLED=$(on_off ${VT_TV_XVFB_ENABLED:-OFF})
# >> Run tests settings
VT_TV_RUN_TESTS=$(on_off ${VT_TV_RUN_TESTS:-OFF})
VT_TV_RUN_TESTS_FILTER=${VT_TV_RUN_TESTS_FILTER:-""}
Expand Down
1 change: 0 additions & 1 deletion src/vt-tv/render/render.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
#include <array>
#include <variant>
#include <cmath>
#include <regex>

namespace vt { namespace tv {

Expand Down
10 changes: 1 addition & 9 deletions tests/unit/render/test_parse_render.cc
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,7 @@ using Util = vt::tv::tests::unit::Util;
/**
* Provides unit tests for the vt::tv::utility::ParseRender class to test with config file input
*/
class ParseRenderTest :public ::testing::TestWithParam<std::string> {

void SetUp() override {
// 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));
// std::filesystem::create_directory(fmt::format("{}/output/tests/no_png", SRC_DIR));
}
};
class ParseRenderTest :public ::testing::TestWithParam<std::string> { };

/**
* Test ParseRender:parseAndRender correcty run the different configuration files
Expand Down
6 changes: 0 additions & 6 deletions tests/unit/render/test_render.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ using Util = vt::tv::tests::unit::Util;
*/
class RenderTest :public ::testing::TestWithParam<std::string> {

void SetUp() override {
// 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));
}

protected:
Render createRender(YAML::Node config, Info info, std::string &output_dir) {
// change output directory to use specific one for these tests
Expand Down

0 comments on commit 5c18b10

Please sign in to comment.