Closed johannesgrothe closed 3 years ago
Hey ya.
Info on the unit tests can be found here: https://github.com/crankyoldgit/IRremoteESP8266/wiki/Library-Maintainers-Guide#unit-tests
In short, the library's Unit Tests are not compatible (at present) with PlatformIO. There are currently no plans to make it otherwise. That said, if you can get it working with PlatformIO, I won't say no to the PR. :-)
Version/revision of the library used
v2.7.1.1 (newest on Platformio https://platformio.org/lib/show/1089/IRremoteESP8266/examples)
Expected behavior
Unit tests should compile
Actual behavior
Unit tests do not compile.
Steps to reproduce the behavior
Create a platformio project, add 'IRremoteESP8266' to the dependencies and run tests. It will fail.
I have followed the steps in the [Troubleshooting Guide]
There's nothing there concerning unit tests.
Has this library/code previously worked as expected for you?
Yes, everything BUT unit tests work fine.
Other useful information
This is the relevant console output:
This is the problematic part of ir_Amcor.h:
The problem seems to be that there simply is no IRsend_test.h, and I found no way to add one via platformio. Just adding it manually is no option since the library is just a dependency of my project and it should obviously compile right out of github. Maybe I'm just missing something, but i really don't get what could be the issue here except the file just missing somehow.
If you wanna take a look at the project in question: https://github.com/A20GameCo/Smarthome_ESP32