summaryrefslogtreecommitdiffstats
path: root/recipes-test/ddt-runner/files/ddt-runner
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 00:31:33 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 00:53:44 +0200
commitcd3411088f6bb4393d79c50b5f7eef3f11a83435 (patch)
treee1b44fd7c353d9018f489d03f3dea78bc876b94a /recipes-test/ddt-runner/files/ddt-runner
downloadmeta-enea-cd3411088f6bb4393d79c50b5f7eef3f11a83435.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'recipes-test/ddt-runner/files/ddt-runner')
-rw-r--r--recipes-test/ddt-runner/files/ddt-runner19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-test/ddt-runner/files/ddt-runner b/recipes-test/ddt-runner/files/ddt-runner
new file mode 100644
index 0000000..5290530
--- /dev/null
+++ b/recipes-test/ddt-runner/files/ddt-runner
@@ -0,0 +1,19 @@
1#!/bin/sh
2
3if [[ ! -d "/usr/lib/ddt-runner/scripts" ]]; then
4 echo "SKIP: No available driver testcase"
5 exit
6fi
7
8cd /usr/lib/ddt-runner/scripts
9
10for x in *
11do
12 if [[ -f $x ]]; then
13 date +%Y-%m-%dT%H:%M
14 echo "BEGIN: $x"
15 ./$x
16 echo "END: $x"
17 date +%Y-%m-%dT%H:%M
18 fi
19done