summaryrefslogtreecommitdiffstats
path: root/meta-ivi-test/recipes-multimedia/audiomanager/audiomanagerplugins/audiomanagerplugins_t.inc
blob: a4111e3ffcd3d8852f15a7fbfedb4bee5ed14d24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh
get_list() {
  return 4
}

get_title() {
  echo "audiomanagerplugins"
}

_run_dir=/opt/tests/audiomanagerplugins
_run() {
  if [ "x${2}" != "x" ]; then
    ${_run_dir}/$1 > /tmp/t
    tail /tmp/t | grep -E 'PASS|FAIL'
  else
    ${_run_dir}/$1
  fi
}

run_1() {
  _run AmCommandSenderCAPITest $*
}

run_2() {
  _run AmControlReceiverShadowTest $*
}

run_3() {
  _run AmRoutingInterfaceCAPITests $*s
}

run_4() {
  _run AmRoutingReceiveAsyncTest $*
}