Skip to content

Commit

Permalink
Removed submodule: googletest (#1453)
Browse files Browse the repository at this point in the history
Attempt to clean-up any issues found by `arduino-lint --library-manager update --compliance strict`
e.g.
```
Rule LS004 result: fail
WARNING: Git submodule detected. Library Manager installations and installations from GitHub's "Download ZIP" will only contain an empty folder in place of the submodule.
```

It's only a warning, but just being super-safe.

For #1451
  • Loading branch information
crankyoldgit authored Apr 17, 2021
1 parent 77ba26b commit 7cccd21
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
[submodule "lib/googletest"]
path = lib/googletest
url = https://github.com/google/googletest.git
branch = v1.8.x
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
- python cpplint.py --extensions=c,cc,cpp,ino --headers=h,hpp {src,src/locale,test,tools}/*.{h,c,cc,cpp,hpp,ino} examples/*/*.{h,c,cc,cpp,hpp,ino}
- pylint3 -d F0001 {src,test,tools}/*.py
- shopt -u nullglob
# Install the Google test suite.
- (cd test; make install-googletest)
# Build and run the unit tests.
- (cd test; make run)
- (cd tools; make run_tests)
Expand Down
1 change: 0 additions & 1 deletion lib/googletest
Submodule googletest deleted from dea021
1 change: 1 addition & 0 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ run : all
run_tests : run

install-googletest :
rm -rf ../lib/googletest
git clone -b v1.8.x https://github.com/google/googletest.git ../lib/googletest

# Builds gtest.a and gtest_main.a.
Expand Down

0 comments on commit 7cccd21

Please sign in to comment.