make: enable develhelp for all tests, except minimal#8080
make: enable develhelp for all tests, except minimal#8080kaspar030 merged 4 commits intoRIOT-OS:masterfrom
Conversation
|
Please remember to wait with this, until #7925 is merged. |
|
Needs rebase. |
db743a2 to
36fe812
Compare
|
rebased and squashed |
36fe812 to
019b586
Compare
|
rebased |
|
|
||
|
|
||
| CFLAGS += -DDEVELHELP | ||
| CFLAGS += -DLOG_LEVEL=LOG_ALL |
There was a problem hiding this comment.
Why change the log level?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
@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.
There was a problem hiding this comment.
okay, so I leave CFLAGS += -DLOG_LEVEL=LOG_ALL as is - and we may remove it in a separate PR, okay?
|
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) |
|
729801e to
81728be
Compare
5692386 to
1888134
Compare
|
|
1888134 to
88a0e5e
Compare
|
rebased, after #8177 merged now |
|
There's still a failed assertion in the unittests? |
damn, but its a new one 🤔 I'll see to it ... |
88a0e5e to
09359d9
Compare
09359d9 to
66932f0
Compare
|
|
|
|
||
| /* ensure the length doesn't exceed the actual flash size */ | ||
| assert(((uint8_t*)target_addr + len) < | ||
| assert(((unsigned)target_addr + len) < |
There was a problem hiding this comment.
shouldn't this be uintptr_t?
66932f0 to
7fdc09e
Compare
|
|
5f786f1 to
73abd7b
Compare
to ensure minimal binary size for comparison
73abd7b to
1f4dab8
Compare
|
rebased |
1f4dab8 to
0ec7630
Compare
|
@kaspar030: Murdock is happy now, and you comments are addressed - I guess. |
factored out from #8029, this PR enables develhelp for all tests except
tests/minimalto ensure size comparison.