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

Unit Testing - Linter Error - unity.h does not exist #947

Closed
brharper opened this Issue Apr 25, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@brharper

brharper commented Apr 25, 2017

Hi All,

Came across what the PIO Plus support rep found to be a bug in the unit testing library.


Configuration

Windows 10 64 Bit:

PlatformIO, version 3.4.0a6

Board - teensy32

Description of problem

When implementing the unit testing blink demo code
linter(via gcc) gives the error "unity.h: No such file or directory" at the #include directive. The code compiles and runs fine.

#include <unity.h>

Steps to Reproduce

  1. Create new project
  2. Add the blink unit test demo main.cpp and test_main.cpp to the /src and /test directories respectively
  3. Save and rebuild project index if need be

If problems with PlatformIO Build System:

The content of platformio.ini:

[env:teensy32]
platform = teensy
board = teensy31
framework = arduino```

@ivankravets ivankravets added the bug label Apr 25, 2017

@ivankravets ivankravets added this to the 3.4.0 milestone Apr 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment