Hi. For some reasons, I can't use AUnit as git submodule. When installed using Arduino IDE all works fine.
In my setup I got
In file included from ExternalTests.cpp:12:0:
AUnitMetaTest.h:13:12: fatal error: AUnit.h: No such file or directory
compilation terminated.
exit status 1
Error compiling for board Arduino Pro or Pro Mini.
Steps to reproduce:
- Create sketch in empty folder.
- Init git repo.
- Add AUnit as submodule.
git submodule add git@github.com:bxparks/AUnit.git
- Add minimal testing code in to the sketch.
#include "AUnit/src/AUnit.h"
test(submodule_include_test){
int x = 1;
assertEqual(x, 1);
}
- Try to compile and get various errors.
Hi. For some reasons, I can't use AUnit as git submodule. When installed using Arduino IDE all works fine.
In my setup I got
Steps to reproduce: