Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix false positive result where test passed even though gcc failed with error#342

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
hlovdal wants to merge2 commits intoArduino-CI:master
base:master
Choose a base branch
Loading
fromhlovdal:failure_handling.m

Conversation

hlovdal
Copy link
Contributor

Even if gcc failed with errors for some of the files compiled for unit test, the test would still be reported as successful. This is fixed by properly increasing@failure_count.

Also an additional fix for the result calculation forall_arduino_library_dependencies!. It is a long time since I made that commit so I do not exactly remember the details but reading it now accumulating with[n] inside themap section looks more correct.


Updates to CHANGELOG.md will trigger conflicts for this branch (failure_handling.m, rebased on top ofmaster) when#338 is completed (or if this is done first, then#338 will get conflicts).

There is an alternative branchfailure_handling applied in series with other branches that does not have those conflicts when#338 is completed. Let me know if you rather want that one merged (later).

@ianfixes
Copy link
Collaborator

Can you point me to an example of where this is happening and/or how I can reproduce it locally?

Also, I'm not clear on how the change tocpp_library.rb relates to the fix here.

end.flatten
(additional_libraries +recursive).uniq
recursive.uniq
end
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you have a test case or some performance metric that relates to this change? Just trying to figure out whether this is an improved implementation or a bugfix

@ianfixes
Copy link
Collaborator

I cherry-picked5df7166 into#338 but I'm reluctant to change the "additional libraries" recursive function without a unit test in place.

@ianfixesianfixes marked this pull request as draftDecember 31, 2022 19:50
@ianfixesianfixes added the questionFurther information is requested labelJan 20, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ianfixesianfixesianfixes left review comments

Assignees
No one assigned
Labels
questionFurther information is requested
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@hlovdal@ianfixes

[8]ページ先頭

©2009-2025 Movatter.jp