Skip to content

Commit 8d7a833

Browse files
committed
Extend testing to all source code
Signed-off-by: Cristian Maglie <[email protected]>
1 parent 68b7245 commit 8d7a833

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ install:
1313

1414
script:
1515
- go build -v arduino.cc/arduino-builder
16-
- go test -v -timeout 30m -covermode=count -coverprofile=coverage.out arduino.cc/builder/test
16+
- go test -v -timeout 30m -covermode=count -coverprofile=coverage.out arduino.cc/...
1717
- bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
1818

1919
env:

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ go build arduino.cc/arduino-builder
7575
In order to run the tests, type:
7676

7777
```
78-
go test arduino.cc/builder/test
78+
go test arduino.cc/...
7979
```
8080

8181
This runs all tests, showing any failures and a summary at the end.
@@ -89,13 +89,13 @@ To run a single test, use the -run option, which accepts a regular
8989
expression (see also go help testflag).
9090

9191
```
92-
go test arduino.cc/builder/test -run 'TestBuilderEmptySketch'
93-
go test arduino.cc/builder/test -run 'TestPrototypesAdder.*'
92+
go test arduino.cc/... -run 'TestBuilderEmptySketch'
93+
go test arduino.cc/... -run 'TestPrototypesAdder.*'
9494
```
9595

9696
In jenkins, use
9797
```
98-
go test -v arduino.cc/builder/test | bin/go-junit-report > report.xml
98+
go test -v arduino.cc/... | bin/go-junit-report > report.xml
9999
```
100100

101101
The first time you run the tests, some needed files (toolchains and

0 commit comments

Comments
 (0)