summaryrefslogtreecommitdiff
path: root/common/cyclictest-basic.yaml
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2014-10-15 07:11:14 -0700
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-10-21 16:14:06 +0000
commit4506f33c53fdb64e6e3874036b871186131960f8 (patch)
tree628315411f2fa1421cf0484dcbe82a6d39f814c2 /common/cyclictest-basic.yaml
parent179f4ea06da1c4d823e1bcd510289b616bd65b7c (diff)
downloadtest-definitions-pipe-4506f33c53fdb64e6e3874036b871186131960f8.tar.gz
cyclictest: Add cyclictest-basic.yaml for both ubuntu & OE
Run cyclictest in loop and increase the number of thread after each iteration Change-Id: Ic6151b692e2d57304a2f8ef9bb67c5c1261c4e9a
Diffstat (limited to 'common/cyclictest-basic.yaml')
-rw-r--r--common/cyclictest-basic.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/common/cyclictest-basic.yaml b/common/cyclictest-basic.yaml
new file mode 100644
index 0000000..e9213bf
--- /dev/null
+++ b/common/cyclictest-basic.yaml
@@ -0,0 +1,31 @@
+metadata:
+ name: cyclictest-basic
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description:
+ "Run cyclictest in loop and increase the number of thread after each iteration"
+ maintainer:
+ - arthur.she@linaro.org
+ os:
+ - ubuntu
+ - openembedded
+ devices:
+ - arndale
+ - beaglebone-black
+ - rtsm_fvp_base-aemv8a
+ scope:
+ - performance
+ - preempt-rt
+
+install:
+ deps:
+ - rt-tests
+
+params:
+ TIMES: 8 # The number of times 'cyclictest' will be run
+ INTERVAL: 10000 # '--interval': base interval of thread in us
+ LATENCY: 1000000 # '--latency': This number will be written to /dev/cpu_dma_latency
+ DURATION: 20 # '--duratio': specify a length for the test run
+
+run:
+ steps:
+ - './common/scripts/cyclictest-basic.sh ${TIMES} ${INTERVAL} ${LATENCY} ${DURATION}'