-
Notifications
You must be signed in to change notification settings - Fork 0
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
Missing WProgram.h #4
Comments
I'm a bit confused, there was no
(Edit: typo, that -> what)
|
I played around with your tests in 1)) In #if (defined(ARDUINO) && ARDUINO >= 100)
#include "Arduino.h"
#else
#ifndef STREAMING_CONSOLE
#include "WProgram.h"
#endif
#endif I think you need something like: #if (defined(ARDUINO) && ARDUINO >= 100) || defined(EPOXY_DUINO) In the same file, you have something like: #if ARDUINO >= 18 I think that should be replaced by: #if ARDUINO >= 18 || defined(EPOXY_DUINO) 2)) There's a bunch of errors regarding class _FLOAT
{
public:
int digits;
float val;
}; I cannot find a 3)) In the real ESP8266 core, there is a circular inclusion of 4)) Each |
Oh I see, I removed I now have a vague recollection: |
…atch actual ESP8266 core; see hsaturn/EspMock#4
Sent you hsaturn/TinyMqtt#15 to fix broken tests. |
Thanks for all Brian The MqttStreaming.h is not really mine, I kept almost the file as it was from its author, removing WProgram.h (or re-adding it somewhere in EpoxyDuino) did not solved the problem for me yesterday (Serial not declared). Tests are now working on my local clones of the four repositories. I'm not sure what happen because I run tests successfully on my virtual machine few minutes ago after having merged pulled your PR, but they are now failing on "Serial". I'll have a longer look this evening Best regards. |
Hi, finaly I could not resist to do that now (I should work instead....grr) I've fixed the problem that was in EspMock in this commit Thanks for all Brian |
Glad that you got it working. I forgot that you were using EpoxyDuino/EspMock for your TinyMqtt project. Sorry for the trouble, but I think the bit of pain was worth it. Things are a lot cleaner now with the |
I think this is all resolved, so closing to clean up clutter in my to-do list. |
Moved from bxparks/AUnit#75
Hi Brian
My unit tests are broken due to WProgram.h missing (here)
This files has gone when I have acecpted your PR on EspMock.
I may be wrong as this is the first time I'm using EPOXY_CORE as I wanted my unit tests to pass since this modification.
Best regards
The text was updated successfully, but these errors were encountered: