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/libc_newlib: add test for newlib-nano inclusion [backport 2018.07] #9633

Conversation

cladmi
Copy link
Contributor

@cladmi cladmi commented Jul 25, 2018

Backport of #9599

Contribution description

This test verifies that when used, newlib-nano is correctly included, both
header and also linked.

This is a standalone test and is less invasive than doing a global test like what I tried in #9512

I want to use it to debug non handled developers computers.

Testing

I tested the following setups:

  • native (no newlib)
  • pic32-wifire (newlib) using the flasher PR
  • samr21-xpro (newlib-nano)

Issues/PRs references

#9512

This should not be merged before #9398 as currently llvm is not handled properly but it should not block adding tests in murdock.
I now think it should be included before #9398, I thought it would be all fixed faster.
I already have a fix for the llvm/clang issue #9513

@cladmi cladmi added Process: release backport Integration Process: The PR is a release backport of a change previously provided to master CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Area: tests Area: tests and testing framework Area: toolchain Area: toolchains; everything related to compilation, libc, linking, … labels Jul 25, 2018
@cladmi cladmi requested a review from jcarrano July 25, 2018 11:40
@cladmi cladmi added the State: waiting for other PR State: The PR requires another PR to be merged first label Jul 25, 2018
@cladmi
Copy link
Contributor Author

cladmi commented Jul 25, 2018

It is waiting for #9632

@cladmi cladmi removed the State: waiting for other PR State: The PR requires another PR to be merged first label Jul 25, 2018
@cladmi
Copy link
Contributor Author

cladmi commented Jul 25, 2018

I will re-run the tests now than NM is merged

This test verifies that when used, newlib-nano is correctly included, both
header and also linked.

(cherry picked from commit db00922)
@cladmi cladmi force-pushed the 2018.07/pr/make/newlib/add_test_for_newlibnano branch from 9121526 to 5661e1b Compare July 25, 2018 12:07
@cladmi
Copy link
Contributor Author

cladmi commented Jul 25, 2018

I re-tested that it works for the given board and that I can make the test fail by commenting the same lines as in the original PR comments.

Copy link
Contributor

@jcarrano jcarrano left a comment

Choose a reason for hiding this comment

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

works for me.

@jcarrano jcarrano merged commit 0437679 into RIOT-OS:2018.07-branch Jul 25, 2018
@cladmi cladmi deleted the 2018.07/pr/make/newlib/add_test_for_newlibnano branch July 25, 2018 12:57
@cladmi cladmi added this to the Release 2018.07 milestone Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: tests Area: tests and testing framework Area: toolchain Area: toolchains; everything related to compilation, libc, linking, … CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Process: release backport Integration Process: The PR is a release backport of a change previously provided to master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants