From 25b4ba3269afbd838bb5cd66006214a80e399176 Mon Sep 17 00:00:00 2001 From: Eric Paniagua Date: Sun, 30 Aug 2020 14:12:31 -0700 Subject: [PATCH] [Broken] gtest-arduino is supposed being build, but the .a is nowhere to be found. Signed-off-by: Eric Paniagua --- bin/kaleidoscope-builder | 3 ++- gtest-arduino/src/gtest-all.cc | 1 + gtest-arduino/src/gtest-death-test.cc | 1 + gtest-arduino/src/gtest-filepath.cc | 1 + gtest-arduino/src/gtest-internal-inl.h | 1 + gtest-arduino/src/gtest-matchers.cc | 1 + gtest-arduino/src/gtest-port.cc | 1 + gtest-arduino/src/gtest-printers.cc | 1 + gtest-arduino/src/gtest-test-part.cc | 1 + gtest-arduino/src/gtest-typed-test.cc | 1 + gtest-arduino/src/gtest.cc | 1 + gtest-arduino/src/gtest.h | 1 + gtest-arduino/src/gtest_main.cc | 1 + gtest-arduino/src/src | 1 - testing/hello-simulator/hello-simulator_test.h | 2 +- 15 files changed, 15 insertions(+), 3 deletions(-) create mode 120000 gtest-arduino/src/gtest-all.cc create mode 120000 gtest-arduino/src/gtest-death-test.cc create mode 120000 gtest-arduino/src/gtest-filepath.cc create mode 120000 gtest-arduino/src/gtest-internal-inl.h create mode 120000 gtest-arduino/src/gtest-matchers.cc create mode 120000 gtest-arduino/src/gtest-port.cc create mode 120000 gtest-arduino/src/gtest-printers.cc create mode 120000 gtest-arduino/src/gtest-test-part.cc create mode 120000 gtest-arduino/src/gtest-typed-test.cc create mode 120000 gtest-arduino/src/gtest.cc create mode 120000 gtest-arduino/src/gtest.h create mode 120000 gtest-arduino/src/gtest_main.cc delete mode 120000 gtest-arduino/src/src diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index c6c38404..c6a158a8 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -14,6 +14,7 @@ # this program. If not, see . set -e +set -x ###### ###### Build and output configuration @@ -397,7 +398,7 @@ compile () { -libraries "." \ -libraries "${ROOT}" \ -libraries "${BOARD_HARDWARE_PATH}/.." \ - -libraries "${BOARD_HARDWARE_PATH}/keyboardio/avr/libraries/Kaleidoscope/gtest-arduino" \ + -libraries "${ROOT}/gtest-arduino" \ ${local_LIBS} \ ${EXTRA_BUILDER_ARGS} \ -build-cache "${CORE_CACHE_PATH}" \ diff --git a/gtest-arduino/src/gtest-all.cc b/gtest-arduino/src/gtest-all.cc new file mode 120000 index 00000000..d91fb3f2 --- /dev/null +++ b/gtest-arduino/src/gtest-all.cc @@ -0,0 +1 @@ +../../googletest/googletest/src/gtest-all.cc \ No newline at end of file diff --git a/gtest-arduino/src/gtest-death-test.cc b/gtest-arduino/src/gtest-death-test.cc new file mode 120000 index 00000000..875fc590 --- /dev/null +++ b/gtest-arduino/src/gtest-death-test.cc @@ -0,0 +1 @@ +../../googletest/googletest/src/gtest-death-test.cc \ No newline at end of file diff --git a/gtest-arduino/src/gtest-filepath.cc b/gtest-arduino/src/gtest-filepath.cc new file mode 120000 index 00000000..dfb715a4 --- /dev/null +++ b/gtest-arduino/src/gtest-filepath.cc @@ -0,0 +1 @@ +../../googletest/googletest/src/gtest-filepath.cc \ No newline at end of file diff --git a/gtest-arduino/src/gtest-internal-inl.h b/gtest-arduino/src/gtest-internal-inl.h new file mode 120000 index 00000000..a27cb598 --- /dev/null +++ b/gtest-arduino/src/gtest-internal-inl.h @@ -0,0 +1 @@ +../../googletest/googletest/src/gtest-internal-inl.h \ No newline at end of file diff --git a/gtest-arduino/src/gtest-matchers.cc b/gtest-arduino/src/gtest-matchers.cc new file mode 120000 index 00000000..335afe6e --- /dev/null +++ b/gtest-arduino/src/gtest-matchers.cc @@ -0,0 +1 @@ +../../googletest/googletest/src/gtest-matchers.cc \ No newline at end of file diff --git a/gtest-arduino/src/gtest-port.cc b/gtest-arduino/src/gtest-port.cc new file mode 120000 index 00000000..2d78d35a --- /dev/null +++ b/gtest-arduino/src/gtest-port.cc @@ -0,0 +1 @@ +../../googletest/googletest/src/gtest-port.cc \ No newline at end of file diff --git a/gtest-arduino/src/gtest-printers.cc b/gtest-arduino/src/gtest-printers.cc new file mode 120000 index 00000000..98b0f22c --- /dev/null +++ b/gtest-arduino/src/gtest-printers.cc @@ -0,0 +1 @@ +../../googletest/googletest/src/gtest-printers.cc \ No newline at end of file diff --git a/gtest-arduino/src/gtest-test-part.cc b/gtest-arduino/src/gtest-test-part.cc new file mode 120000 index 00000000..9b6ff8e7 --- /dev/null +++ b/gtest-arduino/src/gtest-test-part.cc @@ -0,0 +1 @@ +../../googletest/googletest/src/gtest-test-part.cc \ No newline at end of file diff --git a/gtest-arduino/src/gtest-typed-test.cc b/gtest-arduino/src/gtest-typed-test.cc new file mode 120000 index 00000000..4342d0c6 --- /dev/null +++ b/gtest-arduino/src/gtest-typed-test.cc @@ -0,0 +1 @@ +../../googletest/googletest/src/gtest-typed-test.cc \ No newline at end of file diff --git a/gtest-arduino/src/gtest.cc b/gtest-arduino/src/gtest.cc new file mode 120000 index 00000000..8e0b5fc8 --- /dev/null +++ b/gtest-arduino/src/gtest.cc @@ -0,0 +1 @@ +../../googletest/googletest/src/gtest.cc \ No newline at end of file diff --git a/gtest-arduino/src/gtest.h b/gtest-arduino/src/gtest.h new file mode 120000 index 00000000..15ad52da --- /dev/null +++ b/gtest-arduino/src/gtest.h @@ -0,0 +1 @@ +../../googletest/googletest/include/gtest/gtest.h \ No newline at end of file diff --git a/gtest-arduino/src/gtest_main.cc b/gtest-arduino/src/gtest_main.cc new file mode 120000 index 00000000..f2465989 --- /dev/null +++ b/gtest-arduino/src/gtest_main.cc @@ -0,0 +1 @@ +../../googletest/googletest/src/gtest_main.cc \ No newline at end of file diff --git a/gtest-arduino/src/src b/gtest-arduino/src/src deleted file mode 120000 index 23315778..00000000 --- a/gtest-arduino/src/src +++ /dev/null @@ -1 +0,0 @@ -../../googletest/googletest/src \ No newline at end of file diff --git a/testing/hello-simulator/hello-simulator_test.h b/testing/hello-simulator/hello-simulator_test.h index 904a0a1a..c1363403 100644 --- a/testing/hello-simulator/hello-simulator_test.h +++ b/testing/hello-simulator/hello-simulator_test.h @@ -18,7 +18,7 @@ #pragma once -#include "gtest/gtest.h" +#include "gtest.h" #include "Kaleidoscope-Simulator.h"