aboutsummaryrefslogtreecommitdiff
path: root/examples/TestSuiteCommon.mk
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-09-20 16:14:32 -0400
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-09-20 16:14:32 -0400
commit086c6e96ca4b98e8a144b5f7f37a7b3b6fedc61d (patch)
treea400644b8017ab3842e980eaf5df0f4e7437ca47 /examples/TestSuiteCommon.mk
parent6f46722abb40c60dcaa0e40292342d015906c8bf (diff)
Move tests back to 'examples', skip non-testable examples when testing.
This fixes https://github.com/sudar/Arduino-Makefile/issues/259.
Diffstat (limited to 'examples/TestSuiteCommon.mk')
-rw-r--r--examples/TestSuiteCommon.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/TestSuiteCommon.mk b/examples/TestSuiteCommon.mk
new file mode 100644
index 0000000..5fa4f50
--- /dev/null
+++ b/examples/TestSuiteCommon.mk
@@ -0,0 +1,13 @@
+ARDMK_DIR=../../
+DEPENDENCIES_FOLDER = ../../dependencies
+DEPENDENCIES_MPIDE_DIR = $(DEPENDENCIES_FOLDER)/mpide-0023-linux64-20130817-test
+
+ifeq ($(MPIDE_DIR),)
+ MPIDE_DIR = $(DEPENDENCIES_MPIDE_DIR)
+endif
+
+DEPENDENCIES_ARDUINO_DIR = $(DEPENDENCIES_FOLDER)/arduino-1.0.5
+
+ifeq ($(ARDUINO_DIR),)
+ ARDUINO_DIR = $(DEPENDENCIES_ARDUINO_DIR)
+endif