Skip to content

Commit

Permalink
Fixing Github actions test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanzou committed Apr 11, 2023
1 parent 7e4f064 commit fea4127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/main.cpp
Expand Up @@ -59,7 +59,7 @@ GTEST_API_ int main(int argc, char **argv) {

// ::testing::GTEST_FLAG(filter) = "CmodCashLoanTest*"; // .DiscountedPayback * ";
// ::testing::GTEST_FLAG(filter) = "CMPvwattsv8Integration_cmod_pvwattsv8.DefaultNoFinancialModel_cmod_pvwattsv8*"; // "CMPvsamv1PowerIntegration_cmod_pvsamv1*";
// ::testing::GTEST_FLAG(filter) = "etes_ptes_test*";
::testing::GTEST_FLAG(filter) = "csp_trough.PowerTroughCmod*";
// ::testing::GTEST_FLAG(filter) = "csp_common.Tes*";

// filter to exclude
Expand Down
2 changes: 1 addition & 1 deletion test/ssc_test/save_as_JSON_test.cpp
Expand Up @@ -39,7 +39,7 @@ int ns1 = sprintf(SAM_default_as_JSON, "%s/test/input_json/MSPT_None.json", SSCD
TEST(save_as_JSON_test, pvwatts_mechant_plant_read_file_to_string) {
std::ifstream test(inputs_as_JSON);
std::string str((std::istreambuf_iterator<char>(test)), std::istreambuf_iterator<char>());
EXPECT_EQ(str.length(), 4839211);
EXPECT_EQ(str.length(), 4812813);
}

TEST(save_as_JSON_test_parse, pvwatts_mechant_plant_rapidjson_parse_file) {
Expand Down

0 comments on commit fea4127

Please sign in to comment.