diff --git a/testsweeper.cc b/testsweeper.cc index 32ff598..f08bdbc 100644 --- a/testsweeper.cc +++ b/testsweeper.cc @@ -504,7 +504,8 @@ void ParamOkay::print() const switch (values_[ index_ ]) { case 0: msg = "FAILED"; break; case 1: msg = "pass"; break; - case -1: msg = "no check"; break; + case no_check: msg = "no check"; break; + case skipped: msg = "skipped"; break; } printf( "%-*s ", width_, msg ); } diff --git a/testsweeper.hh b/testsweeper.hh index 148a935..f2708af 100644 --- a/testsweeper.hh +++ b/testsweeper.hh @@ -502,6 +502,9 @@ public: virtual void print() const; }; +const int no_check = -1; +const int skipped = -2; + // ============================================================================= typedef struct { int64_t m, n, k; } int3_t;