Move scripts inside tests directory.
Fixed https://github.com/sudar/Arduino-Makefile/issues/260
This commit is contained in:
parent
086c6e96ca
commit
663626f06d
9 changed files with 10 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
language: c
|
language: c
|
||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
script: script/runtests.sh
|
script: tests/script/runtests.sh
|
||||||
before_install: script/bootstrap.sh
|
before_install: tests/script/bootstrap.sh
|
||||||
|
|
|
@ -215,9 +215,12 @@ Then, the following line must be added to the project Makefile :
|
||||||
## Test Suite
|
## Test Suite
|
||||||
|
|
||||||
This project includes a suite of example Makefiles and small Arduino and chipKIT
|
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
|
programs to assist the maintainers of the Makefile. Run
|
||||||
automatically install the dependencies (Arduino IDE, MPIDE, etc.). Run
|
`tests/script/bootstrap.sh` to attempt to automatically install the dependencies
|
||||||
`script/runtests.sh` to attempt to compile all of the examples.
|
(Arduino IDE, MPIDE, etc.). Run `tests/script/runtests.sh` to attempt to compile
|
||||||
|
all of the examples. The bootstrap script is primarily intended for use by a
|
||||||
|
continuous integration server, specifically Travis CI. It is not intended for
|
||||||
|
normal users.
|
||||||
|
|
||||||
### Bare-Arduino–Project
|
### Bare-Arduino–Project
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
ARDMK_DIR=../../
|
ARDMK_DIR=../../
|
||||||
DEPENDENCIES_FOLDER = ../../dependencies
|
DEPENDENCIES_FOLDER = /var/tmp/Arduino-Makefile-testing-dependencies
|
||||||
DEPENDENCIES_MPIDE_DIR = $(DEPENDENCIES_FOLDER)/mpide-0023-linux64-20130817-test
|
DEPENDENCIES_MPIDE_DIR = $(DEPENDENCIES_FOLDER)/mpide-0023-linux64-20130817-test
|
||||||
|
|
||||||
ifeq ($(MPIDE_DIR),)
|
ifeq ($(MPIDE_DIR),)
|
||||||
|
|
|
@ -132,7 +132,7 @@ if [ -z $COMMON_SOURCED ]; then
|
||||||
|
|
||||||
echo "Storing all downloaded dependencies in the \"dependencies\" folder"
|
echo "Storing all downloaded dependencies in the \"dependencies\" folder"
|
||||||
|
|
||||||
DEPENDENCIES_FOLDER="dependencies"
|
DEPENDENCIES_FOLDER="/var/tmp/Arduino-Makefile-testing-dependencies"
|
||||||
mkdir -p $DEPENDENCIES_FOLDER
|
mkdir -p $DEPENDENCIES_FOLDER
|
||||||
|
|
||||||
if ! command -v make >/dev/null 2>&1; then
|
if ! command -v make >/dev/null 2>&1; then
|
Loading…
Reference in a new issue