aboutsummaryrefslogtreecommitdiffstats
path: root/coverage/scripts/00-trace.sh
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-11-07 10:41:20 +0100
committerJose Bollo <jose.bollo@iot.bzh>2019-11-20 14:29:36 +0100
commit6f5915807393ba9276781bae961a5f4310335398 (patch)
treed74b83fc02ba52060d5cc03058b7b6b4fd259af8 /coverage/scripts/00-trace.sh
parent29ae81fa15c6080fd27929f4cc78e1289cb920e9 (diff)
coverage: Fix regression
The coverage test was broken. This restores it. Also add a simple build script that covers most of the code by default. Bug-AGL: SPEC-2974 Change-Id: I4fc5a0ba54195738405460a04f985bb67b81b5df Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'coverage/scripts/00-trace.sh')
-rwxr-xr-xcoverage/scripts/00-trace.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/scripts/00-trace.sh b/coverage/scripts/00-trace.sh
index 247be611..1838094b 100755
--- a/coverage/scripts/00-trace.sh
+++ b/coverage/scripts/00-trace.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-$R/bin/afb-client -k $WSURL <<EOC &
+$R/bin/afb-client -s -k $WSURL <<EOC &
monitor trace {"add":{"tag":"fun","api":"*","request":"*","event":"*","session":"*","global":"*"}}
monitor trace {"add":{"tag":"T","api":"!(monitor)","request":"*","event":"*","session":"*","global":"*"}}
monitor trace {"add":{"tag":"T","api":"monitor","request":"none"}}