Skip to content

Commit

Permalink
Merge branch 'master' into gmp
Browse files Browse the repository at this point in the history
  • Loading branch information
quickbeam123 committed Jan 8, 2025
2 parents edd4bf1 + 1f3a308 commit a8c805c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize]
push:
branches: [master]

jobs:
build:
Expand Down
3 changes: 3 additions & 0 deletions Shell/Statistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ void Statistics::print(std::ostream& out)
case Statistics::TIME_LIMIT:
out << "Time limit";
break;
case Statistics::INSTRUCTION_LIMIT:
out << "Instruction limit";
break;
case Statistics::MEMORY_LIMIT:
out << "Memory limit";
break;
Expand Down
8 changes: 8 additions & 0 deletions Shell/UIHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,14 @@ void UIHelper::outputResult(std::ostream& out)
addCommentSignForSZS(out);
out << "Time limit reached!\n";
break;
case Statistics::INSTRUCTION_LIMIT:
if(env.options->outputMode() == Options::Output::SMTCOMP){
out << "unknown" << endl;
return;
}
addCommentSignForSZS(out);
out << "Instruction limit reached!\n";
break;
case Statistics::MEMORY_LIMIT:
if(env.options->outputMode() == Options::Output::SMTCOMP){
out << "unknown" << endl;
Expand Down

0 comments on commit a8c805c

Please sign in to comment.