made semaphore tests optional
This commit is contained in:
parent
d06c92c478
commit
09d76c2e26
@ -23,8 +23,10 @@ ReturnValue_t InternalUnitTester::performTests(
|
|||||||
|
|
||||||
testserialize::test_serialization();
|
testserialize::test_serialization();
|
||||||
testmq::testMq();
|
testmq::testMq();
|
||||||
testsemaph::testBinSemaph();
|
if(testConfig.testSemaphores) {
|
||||||
testsemaph::testCountingSemaph();
|
testsemaph::testBinSemaph();
|
||||||
|
testsemaph::testCountingSemaph();
|
||||||
|
}
|
||||||
testmutex::testMutex();
|
testmutex::testMutex();
|
||||||
if(testConfig.testArrayPrinter) {
|
if(testConfig.testArrayPrinter) {
|
||||||
arrayprinter::testArrayPrinter();
|
arrayprinter::testArrayPrinter();
|
||||||
|
@ -18,6 +18,7 @@ class InternalUnitTester: public HasReturnvaluesIF {
|
|||||||
public:
|
public:
|
||||||
struct TestConfig {
|
struct TestConfig {
|
||||||
bool testArrayPrinter = false;
|
bool testArrayPrinter = false;
|
||||||
|
bool testSemaphores = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
InternalUnitTester();
|
InternalUnitTester();
|
||||||
|
Loading…
Reference in New Issue
Block a user