aboutsummaryrefslogtreecommitdiffstats
path: root/test/config.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-11-06 18:17:32 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-11-06 18:17:32 +0100
commitbe47274f79eb0843da4d805cfc417fbf7921379c (patch)
tree9511f7109b4418cd845c8a1991e6d6b3d49caa94 /test/config.go
parent4b57ec13022e836bdd8cb7f02b3d77f1924d4c35 (diff)
Check dependency tools before running testsguppy_6.99.2guppy_6.99.1guppy/6.99.2guppy/6.99.16.99.26.99.1
Add a check of all dependency tools before running tests in order to report a clear error instead of a cryptic test failure. Change-Id: I7b642428fb4ada7eec2de0c4c45f612ae6888b33 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'test/config.go')
-rw-r--r--test/config.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/config.go b/test/config.go
index 0b3ce76..804b0b1 100644
--- a/test/config.go
+++ b/test/config.go
@@ -33,3 +33,13 @@ const (
helloworldFixturesDir = "fixtures/helloworld"
sshFixturesDir = "fixtures/ssh"
)
+
+var dependency_tools = [...]string{
+ "cmake",
+ "make",
+ "gcc",
+ "c++",
+ "python3",
+ "wget",
+ "jq",
+}