-
Notifications
You must be signed in to change notification settings - Fork 247
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
gcc flags don't work when using ceedling test:* #882
Comments
Hi. Are you running 0.31 or one of the 0.32 release candidates? :) |
hello, I am using a snapshot, ceedling-0.32.0-164e950. |
If you run as |
It does not show the specified flags. Double checking with ```test:path[]``, I can seel all the flags. I can see this at the start
|
Thanks... and sorry about the wrong verbosity flag. It just changed recently and I wasn't sure which you had. This definitely looks to be a bug. I don't know if you have the bandwidth to help debug it, but if you do, can you try this: In the Ceedling gem (depending on your OS, you might be able to find it using
See if that makes any difference to your setup? |
I'm running it on windows because IAR and avoid switching between filesystems. This is what mine looks like initially
Changed to this and ran ceedling again. can-t really tell any difference in behavior or flags in verbosity.
|
Thanks. You can switch it back. I'm going to try to replicate your issue here and see if I can figure out what's going on. :) |
thank you, I appreciate it |
Are you in a position to update to the latest release candidate? I don't see anywhere that we should have fixed this issue specifically, but I also am unable to reproduce it using the latest release candidate. |
I might get a chance to try this at some point, maybe only over the weekend |
I tried doing this on WSL to not break my windows build environment. It had already a ceedling version installed. I've done
I got to try this in a fresh install and project at some point. In general it seems like I randomly get features disabled/broken depending on the release candidate I try, probably due to already have previously installed versions. |
You'll want to check the release notes, particularly the file in the docs folder called In this case, the plugins you want are the following:
|
Hi, @lafonso-gnrc. Did you make any progress or resolve this? Quite a bit has changed including a great many bug fixes since you first reported this issue. I'd like to either close the issue or fix what sounds like a potentially serious bug before 1.0.0 ( previously 0.32) is officially released. |
hello, I will have to try this out. I haven't updated from that one snapshot yet, last time I checked, parametrization from Unity (TEST_CASE AND TEST_RANGE) was not working yet so I haven't really checked much. I'll see if I can try this on the weekend |
Hello,
To give context, I have a set of unit tests where one function was missing the return statement.
Somehow this passes in unit testing but it fails when running gcov (as in, it runs gcov fine but reports failures) which is weird. I'd expect both to behave the same but that's the main issue I have now.
Regardless, I decided to turn on the plugin
warnings_report
to be easier to check and add the flagsSo now I at least have gcov with the same flags, although I still get the different behaviours.
And it throws errors when it's missing return statements, good enough.
But, it doesn't work when doing
ceedling clobber test:*
for whatever test I want.It seems the flags are not used in that situation.
I've tried
ceedling test:path[dir]
and that one takes the flags.Any advice of what I could be doing wrong to not get compilation flags when running individual tests?
The text was updated successfully, but these errors were encountered: