-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Don't skip tests if there is an emulator #1808
Conversation
if NOT [%HOST_PLATFORM%] == [%BUILD_PLATFORM%] ( | ||
set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --no-test" | ||
) | ||
{%- endif %} | ||
{%- if test == "native_and_emulated" %} | ||
if NOT [%HOST_PLATFORM%] == [%BUILD_PLATFORM%] ( | ||
if NOT [%CROSSCOMPILING_EMULATOR%] == [1] ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mentionned in conda-forge/conda-forge-ci-setup-feedstock#300 (comment) but I'm going to repeat the comment here:
On linux CROSSCOMPILING_EMULATOR
is a path. On windows it is a boolean. I feel like it will be a problem later on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we update the test to be:
if NOT [%CROSSCOMPILING_EMULATOR%] == []
in the case to give a prallel to the linux case, where non-emptyness means "valid"
i'm just making sure that you had found an error in the old logic? I hadn't caught it, but the new logic seems correct (if the syntax is valid) |
Both are correct, but changed to checking emptyness. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good by me, but I haven't tested it with a real windows machine.
Thanks for the review |
I tested this on CI |
Checklist
news
entry