using test booleans
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
This commit is contained in:
parent
e73dc2f191
commit
a706f6d9bd
@ -22,11 +22,18 @@
|
||||
#include <cstdio>
|
||||
|
||||
Q7STestTask::Q7STestTask(object_id_t objectId): TestTask(objectId) {
|
||||
doTestSdCard = false;
|
||||
doTestScratchApi = false;
|
||||
doTestGps = false;
|
||||
}
|
||||
|
||||
ReturnValue_t Q7STestTask::performOneShotAction() {
|
||||
//testSdCard();
|
||||
//testScratchApi();
|
||||
if (doTestSdCard) {
|
||||
testSdCard();
|
||||
}
|
||||
if (doTestScratchApi) {
|
||||
testScratchApi();
|
||||
}
|
||||
//testJsonLibDirect();
|
||||
//testDummyParams();
|
||||
//testProtHandler();
|
||||
@ -36,7 +43,9 @@ ReturnValue_t Q7STestTask::performOneShotAction() {
|
||||
}
|
||||
|
||||
ReturnValue_t Q7STestTask::performPeriodicAction() {
|
||||
testGpsDaemon();
|
||||
if(doTestGps) {
|
||||
testGpsDaemon();
|
||||
}
|
||||
return TestTask::performPeriodicAction();
|
||||
}
|
||||
|
||||
|
@ -9,6 +9,10 @@ public:
|
||||
|
||||
ReturnValue_t initialize() override;
|
||||
private:
|
||||
bool doTestSdCard = false;
|
||||
bool doTestScratchApi = false;
|
||||
bool doTestGps = false;
|
||||
|
||||
CoreController* coreController = nullptr;
|
||||
ReturnValue_t performOneShotAction() override;
|
||||
ReturnValue_t performPeriodicAction() override;
|
||||
|
Loading…
Reference in New Issue
Block a user