-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
sys/targets: avoid building TestOS on OpenBSD #4595
sys/targets: avoid building TestOS on OpenBSD #4595
Conversation
I did try to set I was unable to similarly disable |
With this change we are down to a single failing test due to golang/go#65083 |
3d481cf
to
1c7ea06
Compare
Okay, so we want to disable TestGenerate for TestOS targets on OpenBSD. Since we try to keep all hacks in Change it syzkaller/sys/targets/targets.go Line 696 in 454571b
To |
I did this. Looks like test os is not a problem any more. I see a different problem now (probably added since the last time I tried). |
The new problem is:
Which is not surprising considering OpenBSD doesn't have ASAN, but this seems like a new failure. |
1c7ea06
to
81e2d4a
Compare
This is a regression due to the change in my commit. The change makes the flag detection/filtering logic in |
Is this the only failing test? I think we should be checking for |
Sadly, no, it hit at least two more tests with similar issues:
I can do this here and in the two places above, but it feels like the commit that set us on this path is directionaly dubious. |
IIRC |
It is broken in google:master and is what set us on this path. Yet, it is broken by
Hence this commit 81e2d4a, which makes csource pass.
I think it is not set, at least adding this commit doesn't get the test skipped:
We can revisit this once the |
Ah, I see. I think it's more explicit to do the following for the TestOS:
Then we can add check for target.BrokenCompiler to all tests that compile executor. |
It's missing syscall function yet TestOS requires it.
OpenBSD in particular is not compatible with TestOS expectation of having a syscall function.
81e2d4a
to
f22c74d
Compare
I believe I found the relevant tests and added the requisite skipping. The tests now pass on OpenBSD. PTAL? |
OpenBSD's missing syscall function yet TestOS requires it.