Skip to content

Commit

Permalink
In case of EJUDGE ignore argc == 5/6 cases in registerTestlibCmd
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMirzayanov committed Sep 29, 2023
1 parent 8fa873c commit b940a91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -4643,6 +4643,7 @@ void registerTestlibCmd(int argc, char *argv[]) {
appesMode = false;
}

#ifndef EJUDGE
if (argc == 5) {
resultName = args[4];
appesMode = false;
Expand All @@ -4657,6 +4658,7 @@ void registerTestlibCmd(int argc, char *argv[]) {
appesMode = true;
}
}
#endif

inf.init(args[1], _input);
ouf.init(args[2], _output);
Expand Down

0 comments on commit b940a91

Please sign in to comment.