Skip to content

make: enable develhelp for all tests, except minimal#8080

Merged
kaspar030 merged 4 commits intoRIOT-OS:masterfrom
smlng:enh/tests/develhelp
Dec 15, 2017
Merged

make: enable develhelp for all tests, except minimal#8080
kaspar030 merged 4 commits intoRIOT-OS:masterfrom
smlng:enh/tests/develhelp

Conversation

@smlng
Copy link
Copy Markdown
Member

@smlng smlng commented Nov 17, 2017

factored out from #8029, this PR enables develhelp for all tests except tests/minimal to ensure size comparison.

@smlng smlng added Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR State: waiting for other PR State: The PR requires another PR to be merged first labels Nov 17, 2017
@smlng smlng requested a review from kaspar030 November 17, 2017 17:59
@smlng smlng added the Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation label Nov 17, 2017
@miri64
Copy link
Copy Markdown
Member

miri64 commented Nov 17, 2017

Please remember to wait with this, until #7925 is merged.

@miri64
Copy link
Copy Markdown
Member

miri64 commented Nov 27, 2017

Needs rebase.

@smlng smlng removed the State: waiting for other PR State: The PR requires another PR to be merged first label Nov 28, 2017
@smlng smlng force-pushed the enh/tests/develhelp branch from db743a2 to 36fe812 Compare November 28, 2017 09:50
@smlng
Copy link
Copy Markdown
Member Author

smlng commented Nov 28, 2017

rebased and squashed

@smlng smlng added the Community: Hack'n'ACK candidate This PR is a candidate for review and discussion during one of RIOT's monthly Hack'n'ACK parties label Nov 28, 2017
@smlng smlng force-pushed the enh/tests/develhelp branch from 36fe812 to 019b586 Compare November 28, 2017 21:21
@smlng
Copy link
Copy Markdown
Member Author

smlng commented Nov 28, 2017

rebased

Copy link
Copy Markdown
Contributor

@kaspar030 kaspar030 left a comment

Choose a reason for hiding this comment

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

small one



CFLAGS += -DDEVELHELP
CFLAGS += -DLOG_LEVEL=LOG_ALL
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why change the log level?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

unrelated -yes - but having LOG_ALL is inconsistent with all other tests where it is not enabled. So why here, and if we want to have it then it should be set for all tests (and then use Makefile.test_common), or not?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@smlng - because it is another thing to test for. If you keep that line, I can look at the diff and say "I acknowledge that this PR enables DEVELHELP for all tests except minimal". If you remove it, I have to dig through the test to ensure it makes no difference...

I agree having "LOG_ALL" enabled in that test, without comment, is weird. It's just unrelated.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

okay, so I leave CFLAGS += -DLOG_LEVEL=LOG_ALL as is - and we may remove it in a separate PR, okay?

@kaspar030
Copy link
Copy Markdown
Contributor

When you're squashing, maybe somehow change the wording for the tests/minimal commit? As is, it sounds like a change.

@smlng
Copy link
Copy Markdown
Member Author

smlng commented Nov 29, 2017

When you're squashing, maybe somehow change the wording for the tests/minimal commit? As is, it sounds like a change.

well it is a change, or at least an adaption to the new switching method, but what I wanted to make clear (stand out) is that in general DEVELHELP is activated (set in Makefile.test_common) but is disabled here explicitly for reason of size comparison (though you're right: it was that way before)

@kaspar030
Copy link
Copy Markdown
Contributor

  • tests/gnrc_netif missing.
  • please squash!

@smlng
Copy link
Copy Markdown
Member Author

smlng commented Nov 29, 2017

needs #8177

@smlng smlng force-pushed the enh/tests/develhelp branch from 1888134 to 88a0e5e Compare November 29, 2017 21:00
@smlng
Copy link
Copy Markdown
Member Author

smlng commented Nov 29, 2017

rebased, after #8177 merged now

@kaspar030
Copy link
Copy Markdown
Contributor

There's still a failed assertion in the unittests?

@smlng
Copy link
Copy Markdown
Member Author

smlng commented Nov 30, 2017

There's still a failed assertion in the unittests?

damn, but its a new one 🤔 I'll see to it ...

@smlng smlng removed the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Dec 6, 2017
@smlng smlng force-pushed the enh/tests/develhelp branch from 88a0e5e to 09359d9 Compare December 6, 2017 21:52
@smlng smlng force-pushed the enh/tests/develhelp branch from 09359d9 to 66932f0 Compare December 7, 2017 22:39
@smlng smlng added the State: waiting for other PR State: The PR requires another PR to be merged first label Dec 10, 2017
@smlng
Copy link
Copy Markdown
Member Author

smlng commented Dec 10, 2017

needs #8233


/* ensure the length doesn't exceed the actual flash size */
assert(((uint8_t*)target_addr + len) <
assert(((unsigned)target_addr + len) <
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

shouldn't this be uintptr_t?

@smlng
Copy link
Copy Markdown
Member Author

smlng commented Dec 13, 2017

needs #8259

@smlng smlng force-pushed the enh/tests/develhelp branch 3 times, most recently from 5f786f1 to 73abd7b Compare December 13, 2017 21:26
@smlng smlng force-pushed the enh/tests/develhelp branch from 73abd7b to 1f4dab8 Compare December 14, 2017 16:55
@smlng
Copy link
Copy Markdown
Member Author

smlng commented Dec 14, 2017

rebased

@smlng smlng added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed State: waiting for other PR State: The PR requires another PR to be merged first CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Dec 14, 2017
@smlng smlng force-pushed the enh/tests/develhelp branch from 1f4dab8 to 0ec7630 Compare December 14, 2017 17:03
@smlng
Copy link
Copy Markdown
Member Author

smlng commented Dec 15, 2017

@kaspar030: Murdock is happy now, and you comments are addressed - I guess.

@kaspar030 kaspar030 merged commit 4579deb into RIOT-OS:master Dec 15, 2017
@smlng smlng deleted the enh/tests/develhelp branch December 15, 2017 10:39
@aabadie aabadie added this to the Release 2018.01 milestone Jan 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Community: Hack'n'ACK candidate This PR is a candidate for review and discussion during one of RIOT's monthly Hack'n'ACK parties Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants