Skip to content

Commit

Permalink
remove old GROUP logic
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyun-sj committed May 3, 2024
1 parent 50cb2b7 commit 3074847
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions test/include/test_runner/test_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ namespace testing {
enum class TokenType {
// header
DATASET,
GROUP,
SKIP,
SKIP_MUSL,
SKIP_32BIT,
Expand Down Expand Up @@ -46,7 +45,7 @@ enum class TokenType {
REMOVE_FILE
};

const std::unordered_map<std::string, TokenType> tokenMap = {{"-GROUP", TokenType::GROUP},
const std::unordered_map<std::string, TokenType> tokenMap = {
{"-DATASET", TokenType::DATASET}, {"-CASE", TokenType::CASE}, {"-COMMIT", TokenType::COMMIT},
{"-CHECK_ORDER", TokenType::CHECK_ORDER}, {"-ENCODED_JOIN", TokenType::ENCODED_JOIN},
{"-LOG", TokenType::LOG}, {"-DEFINE_STATEMENT_BLOCK", TokenType::DEFINE_STATEMENT_BLOCK},
Expand Down
3 changes: 0 additions & 3 deletions test/test_runner/test_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ void TestParser::parseHeader() {
case TokenType::EMPTY: {
break;
}
case TokenType::GROUP: {
break;
}
case TokenType::DATASET: {
checkMinimumParams(2);
extractDataset();
Expand Down

0 comments on commit 3074847

Please sign in to comment.