fsfw/unittest/internal/UnittDefinitions.cpp

10 lines
258 B
C++
Raw Normal View History

2020-12-01 16:50:02 +01:00
#include "UnittDefinitions.h"
2020-10-20 17:11:23 +02:00
ReturnValue_t unitt::put_error(std::string errorId) {
#if CPP_OSTREAM_ENABLED == 1
2020-10-20 17:11:23 +02:00
sif::error << "Unit Tester error: Failed at test ID "
<< errorId << "\n" << std::flush;
#endif
2020-10-20 17:11:23 +02:00
return HasReturnvaluesIF::RETURN_FAILED;
}