Commit 8f35e930 authored by Martin Marinov's avatar Martin Marinov

Add an new Test::Checksum level L_STABLE, which is more selective than L_PRIME...

Add an new Test::Checksum level L_STABLE, which is more selective than L_PRIME and is reserved for checksums that should not affected by platform differences, build configurations, and randomized testing. Promote Checksum::Condition to L_STABLE.
parent f01dfa8c
......@@ -18,9 +18,9 @@ namespace Test {
namespace Checksum {
//! Enumerate the checksum levels
enum Level { L_NONE, L_PRIME, L_ALL };
enum Level { L_NONE, L_STABLE, L_PRIME, L_ALL };
extern Level run_lvl; //<! The checksum run level
const char* const LEVEL_TEXT[3] = { "NONE", "PRIME", "ALL" };
const char* const LEVEL_TEXT[4] = { "NONE", "STABLE", "PRIME", "ALL" };
//! typedef String, this is used a lot in this namespace
typedef std::string String;
......
......@@ -21,7 +21,7 @@ namespace Checksum {
class Condition : public Object
{
public:
Condition() : Object("Condition", L_PRIME), nmbr_(0), fail_nmbr_(0) {}
Condition() : Object("Condition", L_STABLE), nmbr_(0), fail_nmbr_(0) {}
virtual void record(const char* const _cndt, const Base::CodeLink& _lnk,
const bool _rslt);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment