Skip to content
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

[tests] Fix wasm2js test command line generation #7114

Merged
merged 2 commits into from
Nov 25, 2024
Merged

[tests] Fix wasm2js test command line generation #7114

merged 2 commits into from
Nov 25, 2024

Conversation

dschuff
Copy link
Member

@dschuff dschuff commented Nov 25, 2024

--emscripten is added to the command line if the filename contains the string
'emscripten', but the current logic includes the cwd, so it fails if the tests
are run from a directory with 'emscripten' in the name. Fix it so the test only
includes the basename.

--emscripten is added to the command line if the filename contains the string
'emscripten', but the current logic includes the cwd, so it fails if the tests
are run from a directory with 'emscripten' in the name. Fix it so it only
includes the basename
@dschuff
Copy link
Member Author

dschuff commented Nov 25, 2024

I'm not sure it's worth changing the cwd of the checkout on the bot, but I will probably notice if it breaks. I've seen this error for a long time but haven't bothered to fix it because I've never tried to change wasm2js.

@dschuff dschuff requested a review from kripken November 25, 2024 22:54
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

lgtm. I don't think we need anything else.

@dschuff dschuff merged commit f7afec9 into main Nov 25, 2024
13 checks passed
@dschuff dschuff deleted the directory branch November 25, 2024 23:58
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