-
Notifications
You must be signed in to change notification settings - Fork 296
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
[Bug] DotNetAstGen binary gets killed instantly on MacOS #4019
Comments
cc: @pandurangpatil |
I've encountered this too, and I've found that the default terminal is usually simulating Intel (Rosetta mode). I've tried to look at cross-architecture builds for |
Ok I looked into this and seems related to dotnet/runtime#79267 Also, running |
Two main groups of properties are commonly duplicated among test fixtures: * Dataflow processing with custom semantic definitions * Post processing passes This PR uses a combination of traits and new additions to `TestCpg` to improve the re-usability and consistency of these among frontend fixtures. I leave it up to the authors of the frontends to refactor these changes in each test suite.themselves. Misc: Added a fix for #4019
Two main groups of properties are commonly duplicated among test fixtures: * Dataflow processing with custom semantic definitions * Post processing passes This PR uses a combination of traits and new additions to `TestCpg` to improve the re-usability and consistency of these among frontend fixtures. I leave it up to the authors of the frontends to refactor these changes in each test suite.themselves. The result is that all test fixtures include the options for ```scala .withOssDataflow(Boolean) .withExtraFlows(List[FlowSemantic]) .withPostProcessingPasses(Boolean) ``` Misc: Added a fix for #4019
Describe the bug
The
DotNetAstGen
binaries stored injoern-cli/frontends/csharpsrc2cpg/bin/astgen
folder are segregated by operating systems. Thedotnetastgen-macos-arm
is terminated instantly on a ARM Mac, throwing an error code of 137. The tests fail with a RuntimeException defined in code. Strangely, thedotnetastgen-macos
works perfectly fine on the same machine, but it is not picked up by default when running the tests.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Ast for the tests should be generated and tests should execute.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: