Skip to content

Commit

Permalink
Fix build in new regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
schuessf committed Aug 19, 2024
1 parent 53891a1 commit 46204d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ public ReqCheckerRedundancyRegressionTestSuite() {
}

@Override
protected ITestResultDecider getTestResultDecider(final UltimateRunDefinition runDefinition) {
protected ITestResultDecider getTestResultDecider(final UltimateRunDefinition runDefinition,
final String overridenExpectedVerdict) {
return new ReqCheckerTestResultDecider(runDefinition, false);
}

Expand Down Expand Up @@ -173,7 +174,8 @@ public boolean isSuccess(final ReqCheckerResult actual) {
}
return false;
}
if ((mNoResults != -1 && actual.mNoResults != mNoResults) || DataStructureUtils.isDifferent(actual.mRedundant, mRedundant)) {
if ((mNoResults != -1 && actual.mNoResults != mNoResults)
|| DataStructureUtils.isDifferent(actual.mRedundant, mRedundant)) {
return false;
}
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ public WitnessRegressionTestSuite() {
}

@Override
protected ITestResultDecider getTestResultDecider(final UltimateRunDefinition runDefinition) {
protected ITestResultDecider getTestResultDecider(final UltimateRunDefinition runDefinition,
final String overridenExpectedVerdict) {
return new WitnessSafetyCheckTestResultDecider(runDefinition);
}

Expand All @@ -77,7 +78,7 @@ public Collection<UltimateTestCase> createTestCases() {
final File[] newFiles = DataStructureUtils.concat(def.getInput(), new File[] { witness });
final UltimateRunDefinition newDef = new UltimateRunDefinition(newFiles, def.getSettings(),
def.getToolchain(), def.getTimeout());
result.add(new UltimateTestCase(getTestResultDecider(def), newDef, List.of(), null));
result.add(new UltimateTestCase(getTestResultDecider(def, null), newDef, List.of(), null));
}
}
}
Expand Down

0 comments on commit 46204d4

Please sign in to comment.