Skip to content

Issue when used as submodule #77

Description

@TheLongRunSmoke

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:

  1. Create sketch in empty folder.
  2. Init git repo.
  3. Add AUnit as submodule.
 git submodule add git@github.com:bxparks/AUnit.git
  1. Add minimal testing code in to the sketch.
#include "AUnit/src/AUnit.h"

test(submodule_include_test){
  int x = 1;
  assertEqual(x, 1);
}
  1. Try to compile and get various errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions