Add z3 installation to dockerfile#751
Merged
fabianbs96 merged 12 commits intodevelopmentfrom Mar 3, 2025
Merged
Conversation
cb78bfd to
53a5259
Compare
53a5259 to
24f28ee
Compare
c33a0ed to
8856f2a
Compare
08a6626 to
2e3698d
Compare
136d4da to
74d96ab
Compare
b345ce6 to
96e73fd
Compare
jusito
approved these changes
Mar 3, 2025
Comment on lines
7
to
29
| cmake_host_system_information(RESULT cores QUERY NUMBER_OF_LOGICAL_CORES) | ||
| set(additional_args -j ${cores}) | ||
|
|
||
| # ignore flaky tests | ||
| if (CMAKE_SYSTEM_NAME STREQUAL "Linux") | ||
| execute_process(COMMAND lsb_release -r | ||
| OUTPUT_VARIABLE UBUNTU_VERSION | ||
| OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
| message("${UBUNTU_VERSION}") | ||
| string(REGEX REPLACE "^[^0-9]+([0-9]+)\\.([0-9]+).*" "\\1" UBUNTU_MAJOR_VERSION "${UBUNTU_VERSION}") | ||
|
|
||
| if ("${UBUNTU_MAJOR_VERSION}" GREATER 22) | ||
| # TODO tests shouldn't be flaky | ||
| list(APPEND additional_args -E "\"(LLVMBasedCFGTest|LLVMBasedICFGGlobCtorDtorTest|IDEInstInteractionAnalysisTest|IFDSUninitializedVariablesTest|IDEGeneralizedLCATest|IDEExtendedTaintAnalysisTest)\"") | ||
| # LLVMBasedCFGTest.HandlesCppStandardType | ||
| # IDEInstInteractionAnalysisTest.HandleBasicTest_04 | ||
| # IFDSUninitializedVariablesTest.UninitTest_05_SHOULD_NOT_LEAK | ||
| # .UninitTest_06_SHOULD_NOT_LEAK | ||
| # IDEGeneralizedLCATest.StringTestCpp | ||
| # IDEExtendedTaintAnalysisTest.XTaint09 | ||
| endif() | ||
| endif() | ||
|
|
Member
There was a problem hiding this comment.
@fabianbs96 As a workaround, I disabled flaky tests. Couldn't disable individual parts of it but at least we can use the CI with it. And amount of simultaneous tests is now taken from actual cores. Using ninja test or directly ctest is not affected by this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.