Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/30-system-implement…
Browse files Browse the repository at this point in the history
…-ride-task' into ridetask
  • Loading branch information
antara-chugh committed Aug 5, 2024
2 parents db730bf + 2b05e58 commit da695fc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 1 addition & 3 deletions src/antara_scheduler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ struct DeploymentSchedule_
uint32_t maxDuration; //!< store max running time of measurement
const char* taskName; //!< task name of ensemble
uint32_t maxDelay;


// State Information
uint32_t startDelay;

uint32_t nextRunTime;
uint32_t measurementCount;
};
Expand Down
13 changes: 10 additions & 3 deletions tests/examine_behavior.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,16 @@ class ExamineBehavior
static std::unique_ptr<FileWriter> files;
static void SetUpTestSuite()
{

#if SCHEDULER_VERSION == CHARLIE_VERSION
files = std::make_unique<FileWriter>(
"/dev/null",
"tests/no_check_outputs/charlie_actual_file_tests.log");
#else
files = std::make_unique<FileWriter>(
"/dev/null",
"tests/no_check_outputs/actual_file_tests.log");
"tests/no_check_outputs/antara_actual_file_tests.log");
#endif

}
static void TearDownTestSuite()
Expand All @@ -44,8 +51,8 @@ class ExamineBehavior
std::ofstream actualFile;

TestInput input;
//! filename for writing actual test output
std::string actualFileName = "actual_file_tests.log";


//! holds test name across functions
std::string testName;

Expand Down
2 changes: 1 addition & 1 deletion tests/scheduler_test_system.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ struct Delay
{
std::string taskName; //!< name of the task
uint32_t iteration;
uint32_t delay;
int32_t delay;
bool isBefore;

};
Expand Down

0 comments on commit da695fc

Please sign in to comment.