-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip unsupported regression tests #615
base: dev
Are you sure you want to change the base?
Changes from all commits
0192c36
dd2f800
05db15d
90cf856
2144cfe
fa70180
17f52d1
29d6ed6
d4e79e3
221acaa
5bdfaf5
00640e5
b350b12
fff5474
815dee0
5fcbc00
0d11d41
199ffc4
5a302e1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Timeout with Automizer, GemCutter succeeds | ||
MirabelleConcurrentIncrement.bpl ReachSafety-32bit-Automizer.epf ReachSafety.xml TIMEOUT | ||
concurrent_increment.bpl ReachSafety-32bit-Automizer.epf ReachSafety.xml TIMEOUT | ||
equal-array-sums.bpl ReachSafety-32bit-Automizer.epf ReachSafety.xml TIMEOUT | ||
loop-lockstep-example.bpl ReachSafety-32bit-Automizer.epf ReachSafety.xml TIMEOUT | ||
sum_invariant.bpl ReachSafety-32bit-Automizer.epf ReachSafety.xml TIMEOUT |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// Timeout with Automizer, GemCutter succeeds | ||
NonAtomicIncrement_2Threads.c ReachSafety-32bit-Automizer.epf ReachSafety.xml TIMEOUT |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Timeout | ||
BvaddWithThreeArguments.c AutomizerCInline-Reach-32bit-MathSAT-IcSpLv-Float_Const.epf AutomizerC.xml TIMEOUT | ||
SAS09-Float.c AutomizerCInline-Reach-32bit-MathSAT-IcSpLv-Float_Const.epf AutomizerC.xml TIMEOUT | ||
SAS09-Float.c AutomizerC-Reach-32bit-Z3-IcWpLv-Float_Const.epf AutomizerC.xml TIMEOUT | ||
ctrans-float-rounding.c AutomizerC-Reach-32bit-Z3-IcWpLv-Float_Const.epf AutomizerC.xml TIMEOUT | ||
cbmc_float4_PART1.i AutomizerCInline-Reach-32bit-MathSAT-IcSpLv-Float_Const.epf AutomizerC.xml TIMEOUT | ||
|
||
// MathSAT does not support quantifiers | ||
ctrans-float-rounding.c AutomizerCInline-Reach-32bit-MathSAT-IcSpLv-Float_Const.epf AutomizerC.xml EXCEPTION_OR_ERROR | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wouldnt it then be better to change the directory structure here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could do it that way, but if we simply exclude them, they still run and we could still find any changes. |
||
cbmc_float-no-simp1.i AutomizerCInline-Reach-32bit-MathSAT-IcSpLv-Float_Const.epf AutomizerC.xml EXCEPTION_OR_ERROR | ||
cbmc_float-to-double2.i AutomizerCInline-Reach-32bit-MathSAT-IcSpLv-Float_Const.epf AutomizerC.xml EXCEPTION_OR_ERROR | ||
cbmc_float12.i AutomizerCInline-Reach-32bit-MathSAT-IcSpLv-Float_Const.epf AutomizerC.xml EXCEPTION_OR_ERROR | ||
cbmc_float13.i AutomizerCInline-Reach-32bit-MathSAT-IcSpLv-Float_Const.epf AutomizerC.xml EXCEPTION_OR_ERROR | ||
cbmc_float19.i AutomizerCInline-Reach-32bit-MathSAT-IcSpLv-Float_Const.epf AutomizerC.xml EXCEPTION_OR_ERROR | ||
cbmc_float20_Part1.i AutomizerCInline-Reach-32bit-MathSAT-IcSpLv-Float_Const.epf AutomizerC.xml EXCEPTION_OR_ERROR | ||
cbmc_float20_Part3.i AutomizerCInline-Reach-32bit-MathSAT-IcSpLv-Float_Const.epf AutomizerC.xml EXCEPTION_OR_ERROR | ||
cbmc_float6.i AutomizerCInline-Reach-32bit-MathSAT-IcSpLv-Float_Const.epf AutomizerC.xml EXCEPTION_OR_ERROR | ||
QuantifiedFloatInvariant.c AutomizerCInline-Reach-32bit-MathSAT-IcSpLv-Float_Const.epf AutomizerC.xml EXCEPTION_OR_ERROR |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Fails due to overapproximation of bitwise operators in the integer translation | ||
ShiftLeft06.c AutomizerC-SignedIntegerOverflowCheck.epf AutomizerC.xml UNKNOWN | ||
ShiftLeft07.c AutomizerC-SignedIntegerOverflowCheck.epf AutomizerC.xml UNKNOWN |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// Overapproximation | ||
AuxVarInCall.bpl AutomizerBpl-forwardPredicates.epf AutomizerBpl.xml UNKNOWN |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Timeout | ||
BugLiveVariables03-Safe.bpl AutomizerBpl-FPandBP.epf AutomizerBpl.xml TIMEOUT | ||
BugNestedSsaWithPendingContexts.bpl AutomizerBpl-forwardPredicates.epf AutomizerBpl.xml TIMEOUT | ||
BugNoPredecessorOfReturnTransition.bpl PdrAutomizerBpl.epf PdrAutomizerBpl.xml TIMEOUT | ||
nestedWhileSimple-Safe.bpl PdrAutomizerBpl.epf PdrAutomizerBpl.xml TIMEOUT | ||
|
||
// Overapproximation | ||
Overapproximation.bpl AutomizerBpl-nestedInterpolants.epf AutomizerBpl.xml UNKNOWN | ||
Overapproximation.bpl AutomizerBpl-forwardPredicates.epf AutomizerBpl.xml UNKNOWN | ||
Overapproximation.bpl AutomizerBpl-FPandBP.epf AutomizerBpl.xml UNKNOWN | ||
Overapproximation.bpl PdrAutomizerBpl.epf PdrAutomizerBpl.xml UNKNOWN | ||
|
||
// The solver is unable to evaluate the formula, PDR cannot handle this | ||
BugLiveVariables04-Safe.bpl PdrAutomizerBpl.epf PdrAutomizerBpl.xml EXCEPTION_OR_ERROR |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Fails due to overapproximation of bitwise operators in the integer translation | ||
BitwiseOperations02.c AutomizerC-forwardPredicates.epf AutomizerC.xml UNKNOWN | ||
BitwiseOperations02.c AutomizerC-forwardPredicates_const.epf AutomizerC.xml UNKNOWN | ||
BitwiseOperations02.c AutomizerC-nestedInterpolants.epf AutomizerC.xml UNKNOWN | ||
BitwiseOperations02.c AutomizerC-nestedInterpolants_const.epf AutomizerC.xml UNKNOWN | ||
BitwiseOperations02.c BlockEncodingV2AutomizerC-forwardPredicates.epf BlockEncodingV2AutomizerC.xml UNKNOWN | ||
BitwiseOperations02.c KojakC-Reach-32Bit-Default.epf KojakC.xml UNKNOWN | ||
|
||
// Timeout | ||
BitwiseOperations01.c BlockEncodingV2AutomizerC-FP-MaxSaneBE.epf BlockEncodingV2AutomizerC.xml TIMEOUT | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these worked with MaxSaneBE at some point. Does increasing the timeout help here? |
||
BitwiseOperations02.c BlockEncodingV2AutomizerC-FP-MaxSaneBE.epf BlockEncodingV2AutomizerC.xml TIMEOUT | ||
ShortCircuit-SideEffect-DoStatement-Safe.c AutomizerC-BitvectorTranslation.epf AutomizerC.xml TIMEOUT | ||
ShortCircuit-SideEffect-ForStatement-Safe.c AutomizerC-BitvectorTranslation.epf AutomizerC.xml TIMEOUT | ||
StructPositiveSum-Safe.c AutomizerC-BitvectorTranslation.epf AutomizerC.xml TIMEOUT | ||
StructPositiveSum-Safe.c AutomizerC-forwardPredicates.epf AutomizerC.xml TIMEOUT | ||
StructPositiveSum-Safe.c AutomizerC-forwardPredicates_const.epf AutomizerC.xml TIMEOUT | ||
StructPositiveSum-Safe.c BlockEncodingV2AutomizerC-FP-MaxSaneBE.epf BlockEncodingV2AutomizerC.xml TIMEOUT | ||
StructPositiveSum-Safe.c BlockEncodingV2AutomizerC-forwardPredicates.epf BlockEncodingV2AutomizerC.xml TIMEOUT | ||
array10_pattern_simplified.c AutomizerC-BitvectorTranslation.epf AutomizerC.xml TIMEOUT | ||
|
||
// Unable to decide satisfiability of path constraint | ||
array10_pattern_simplified.c AutomizerC-nestedInterpolants.epf AutomizerC.xml UNKNOWN | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. looks like changes in smtinterpol, right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know. This is a fairly new test from me and I of course did not check that all settings pass, |
||
array10_pattern_simplified.c AutomizerC-nestedInterpolants_const.epf AutomizerC.xml UNKNOWN |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ | |
import de.uni_freiburg.informatik.ultimate.test.decider.ITestResultDecider; | ||
import de.uni_freiburg.informatik.ultimate.test.decider.ITestResultDecider.TestResult; | ||
import de.uni_freiburg.informatik.ultimate.test.junitextension.testfactory.FactoryTestMethod; | ||
import de.uni_freiburg.informatik.ultimate.test.junitextension.testfactory.FactoryTestRunner.SkipTestException; | ||
import de.uni_freiburg.informatik.ultimate.test.mocks.ConsoleLogger; | ||
import de.uni_freiburg.informatik.ultimate.test.reporting.IIncrementalLog; | ||
import de.uni_freiburg.informatik.ultimate.test.reporting.ITestLogfile; | ||
|
@@ -124,7 +125,7 @@ public void test() { | |
final ILogger logger = getLoggerFromStarter(starter); | ||
logger.info("Deciding this test: " + deciderName); | ||
result = mDecider.getTestResult(starter.getServices()); | ||
if (!returnCode.isOK() && result != TestResult.FAIL) { | ||
if (!returnCode.isOK() && result != TestResult.FAIL && result != TestResult.IGNORE) { | ||
logger.fatal("#################### Overwriting decision of " + deciderName | ||
+ " and setting test status to FAIL ####################"); | ||
logger.fatal("Ultimate returned an unexpected status:"); | ||
|
@@ -183,7 +184,12 @@ public void test() { | |
} | ||
if (th != null) { | ||
message += " (Ultimate threw an Exception: " + th.getMessage() + ")"; | ||
if (result == TestResult.IGNORE) { | ||
skipTest(message, th); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. are you sure its a good idea to throw a new exception and dont keep the old one? at least as wrapped exception? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @maul-esel wrote this 🙂 |
||
} | ||
failTest(message, th); | ||
} else if (result == TestResult.IGNORE) { | ||
skipTest(message); | ||
} else { | ||
failTest(message); | ||
} | ||
|
@@ -266,6 +272,14 @@ private static void failTest(final String message, final Throwable th) throws Ul | |
throw exception; | ||
} | ||
|
||
private static void skipTest(final String message) { | ||
throw new SkipTestException(message); | ||
} | ||
|
||
private static void skipTest(final String message, final Throwable cause) { | ||
throw new SkipTestException(message, cause); | ||
} | ||
|
||
@Override | ||
public int compareTo(final UltimateTestCase o) { | ||
return mUltimateRunDefinition.compareTo(o.mUltimateRunDefinition); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we handle them by increasing the timeout?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tried it, but I am not sure, if it succeeds then.