Merge pull request #9873 from ethereum/smt_dec_rlimit

[SMTChecker] Decrease rlimit
This commit is contained in:
Leonardo 2020-09-23 23:11:59 +02:00 committed by GitHub
commit 35a7d5d3e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 2 deletions

View File

@ -49,7 +49,7 @@ public:
// Z3 "basic resources" limit.
// This is used to make the runs more deterministic and platform/machine independent.
static int const resourceLimit = 12500000;
static int const resourceLimit = 1000000;
private:
void declareFunction(std::string const& _name, Sort const& _sort);

View File

@ -22,5 +22,7 @@ contract LoopFor2 {
}
// ----
// Warning 1218: (229-234): Error trying to invoke SMT solver.
// Warning 1218: (296-316): Error trying to invoke SMT solver.
// Warning 6328: (320-339): Assertion violation happens here.
// Warning 6328: (343-362): Assertion violation happens here.
// Warning 4661: (296-316): Assertion violation happens here.

View File

@ -9,3 +9,4 @@ contract C {
}
}
// ----
// Warning 1218: (174-212): Error trying to invoke SMT solver.

View File

@ -9,3 +9,4 @@ contract C {
}
}
// ----
// Warning 1218: (166-183): Error trying to invoke SMT solver.

View File

@ -11,4 +11,5 @@ contract C {
}
}
// ----
// Warning 6328: (173-192): Assertion violation happens here.
// Warning 1218: (173-192): Error trying to invoke SMT solver.
// Warning 7812: (173-192): Assertion violation might happen here.

View File

@ -10,3 +10,5 @@ contract C {
}
}
// ----
// Warning 1218: (157-172): Error trying to invoke SMT solver.
// Warning 7812: (157-172): Assertion violation might happen here.