-
Notifications
You must be signed in to change notification settings - Fork 277
Don't run failed unit tests by default #5248
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
Changes from all commits
da7a1fd
186855f
a2c45e8
9fcd171
44d1ee4
18cca67
6176871
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ Author: Diffblue Limited. | |
|
||
SCENARIO( | ||
"Lazy load lambda methods", | ||
"[core][java_bytecode][ci_lazy_methods][lambdas][!mayfail]") | ||
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.
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. A test that can pass or fail is bad - since no body will observe if it changes state. I believe this has been erroneously marked as mayfail, since it passes. |
||
"[core][java_bytecode][ci_lazy_methods][lambdas]") | ||
{ | ||
GIVEN("A class with some locally declared lambdas") | ||
{ | ||
|
@@ -192,7 +192,7 @@ SCENARIO( | |
|
||
SCENARIO( | ||
"Lazy load lambda methods in seperate class", | ||
"[core][java_bytecode][ci_lazy_methods][lambdas][!mayfail]") | ||
"[core][java_bytecode][ci_lazy_methods][lambdas]") | ||
{ | ||
const symbol_tablet symbol_table = load_java_class_lazy( | ||
"ExternalLambdaAccessor", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -188,7 +188,7 @@ void validate_local_variable_lambda_assignment( | |
SCENARIO( | ||
"Converting invokedynamic with a local lambda", | ||
"[core]" | ||
"[lambdas][java_bytecode][java_bytecode_convert_method][!mayfail]") | ||
"[lambdas][java_bytecode][java_bytecode_convert_method]" XFAIL) | ||
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. this should be 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. Fixed in later commit |
||
{ | ||
// NOLINTNEXTLINE(whitespace/braces) | ||
run_test_with_compilers([](const std::string &compiler) { | ||
|
@@ -380,7 +380,7 @@ void validate_member_variable_lambda_assignment( | |
SCENARIO( | ||
"Converting invokedynamic with a member lambda", | ||
"[core]" | ||
"[lamdba][java_bytecode][java_bytecode_convert_method][!mayfail]") | ||
"[lamdba][java_bytecode][java_bytecode_convert_method]" XFAIL) | ||
{ | ||
// NOLINTNEXTLINE(whitespace/braces) | ||
run_test_with_compilers([](const std::string &compiler) { | ||
|
@@ -548,7 +548,7 @@ void validate_static_member_variable_lambda_assignment( | |
SCENARIO( | ||
"Converting invokedynamic with a static member lambda", | ||
"[core]" | ||
"[lamdba][java_bytecode][java_bytecode_convert_method][!mayfail]") | ||
"[lamdba][java_bytecode][java_bytecode_convert_method]" XFAIL) | ||
{ | ||
// NOLINTNEXTLINE(whitespace/braces) | ||
run_test_with_compilers([](const std::string &compiler) { | ||
|
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.
What about CMake configurations? Does anything need to be done for those?
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.
Good spot, fixed