Skip to content

Commit

Permalink
Remove autostart tests
Browse files Browse the repository at this point in the history
Signed-off-by: romanodanilo <[email protected]>
  • Loading branch information
romanodanilo committed May 30, 2024
1 parent b66570b commit 9b86ea1
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions test/function/runtime/src/runtime_tester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,3 @@ TEST_F(cTesterRuntime, CmdHelp)
ASSERT_TRUE_EXT(nRes == TestResult::ERR_NOERROR, strResultMessage.c_str());
}

TEST_F(cTesterRuntime, CmdConfig)
{
// Implicit tested with PCB Test dbqa_roundtrip test_config_gui
}

TEST_F(cTesterRuntime, CmdConfigAutostart)
{
std::string strResultMessage;

std::string strConfigFilePath = strTestFilesDir + "/" + "DemoCheckerBundle_config.xml";
std::string strResultFilePath = strWorkingDir + "/" + "Result.xqar";

TestResult nRes = ExecuteCommand(strResultMessage, MODULE_NAME, "-config " + strConfigFilePath);
ASSERT_TRUE_EXT(nRes == TestResult::ERR_NOERROR, strResultMessage.c_str());

// DemoCheckerBundle not found in bin (is in examples) --> no DemoCheckerBundle.xqar --> Result.xqar with no entries

nRes |= CheckFileExists(strResultMessage, strResultFilePath);
ASSERT_TRUE_EXT(nRes == TestResult::ERR_NOERROR, strResultMessage.c_str());
}

0 comments on commit 9b86ea1

Please sign in to comment.