Skip to content

Commit

Permalink
add status "skipped" and consts
Browse files Browse the repository at this point in the history
  • Loading branch information
mgates3 committed Dec 28, 2024
1 parent c16ca65 commit 4dd59ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testsweeper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
Expand Down
3 changes: 3 additions & 0 deletions testsweeper.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 4dd59ac

Please sign in to comment.