Skip to content

Disable test_unistd_unlink_wasmfs_rawfs on mac #23856

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

Merged
merged 4 commits into from
Mar 7, 2025

Conversation

dschuff
Copy link
Member

@dschuff dschuff commented Mar 7, 2025

No description provided.

@dschuff
Copy link
Member Author

dschuff commented Mar 7, 2025

I don't know if it's ever worked but we aren't testing it currently (I am planning to move Chromium CI's core2 tests from windows to mac)

@dschuff dschuff requested a review from sbc100 March 7, 2025 00:52
@@ -5989,11 +5989,11 @@ def test_unistd_sysconf_phys_pages(self):
def test_unistd_unlink(self):
# symlinks on node.js on non-linux behave differently (e.g. on Windows they require administrative privileges)
# so skip testing those bits on that combination.
if any([arg in self.emcc_args for arg in ('-DNODEFS', '-DNODERAWFS')]) and MACOS:
self.skipTest('only tested on linux')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add @crossplatform so that it would fail without this change in our CI?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think can you elide the square brackets here.

Also, I think it might be easier to read if MACOS came before the any statement.

Copy link
Member Author

@dschuff dschuff Mar 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe, but it's a little bit silly to add @crossplatform to a test that only works on one platform?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(this will fail on Chromium CI without the change, that's how I noticed it)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right.. I just want to make sure we could also get the same failure here.

We can then work to remove the skipping part over time (perhaps).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@dschuff dschuff enabled auto-merge (squash) March 7, 2025 01:39
@dschuff
Copy link
Member Author

dschuff commented Mar 7, 2025

Ping?

@dschuff dschuff disabled auto-merge March 7, 2025 17:11
@dschuff dschuff merged commit 7b1135c into emscripten-core:main Mar 7, 2025
26 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants