From c86ce093ce93eb8da1136acd1e81973ef0bb54fc Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Tue, 9 Sep 2014 23:09:35 -0400 Subject: Add a script to compile examples as an automated test suite. * Added script/boostrap.sh to download the Arduino IDE and MPIDE (for chipKIT). Tested in Linux, should work in Cygwin and OS X too. * Added script/runtests.sh to run "make" in each example project and collect the results. The script returns -1 if any fails. * Moved currently testable examples to a "tests" directory, separate from examples that require alternative cores. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 50785b0..5b24604 100644 --- a/README.md +++ b/README.md @@ -212,6 +212,13 @@ Then, the following line must be added to the project Makefile : $(CXX_NAME) -c -include Arduino.h -x c++ $(CXXFLAGS) $(CPPFLAGS) -fsyntax-only $(CHK_SOURCES) ``` +## Test Suite + +This project includes a suite of example Makefiles and small Arduino and chipKIT +programs to assist the developers. Run `script/bootstrap.sh` to attempt to +automatically install the dependencies (Arduino IDE, MPIDE, etc.). Run +`script/runtests.sh` to attempt to compile all of the examples. + ### Bare-Arduino–Project If you are planning on using this makefile in a larger/professional project, you might want to take a look at the [Bare-Arduino–Project](https://github.com/WeAreLeka/Bare-Arduino-Project) framework. -- cgit v1.2.3