Merge lp:~naresh-kamboju/lava-android-test/adding-sched_test into lp:lava-android-test

Proposed by Naresh Kamboju
Status: Needs review
Proposed branch: lp:~naresh-kamboju/lava-android-test/adding-sched_test
Merge into: lp:lava-android-test
Diff against target: 83 lines (+55/-1)
2 files modified
doc/tests.rst (+6/-1)
lava_android_test/test_definitions/sched_test.py (+49/-0)
To merge this branch: bzr merge lp:~naresh-kamboju/lava-android-test/adding-sched_test
Reviewer Review Type Date Requested Status
Linaro Validation Team Pending
Andy Doan Pending
Review via email: mp+126341@code.launchpad.net

Description of the change

I have added sched_test in to lava-android-test.
please merge.

To post a comment you must log in.
Revision history for this message
Andy Doan (doanac) wrote :

I believe Naresh was going to make some minor adjustments to this before we merge. The changes we discussed were:

providing a URL: so we understand where this is coming from
changing "test_suite": this is way too generic

Unmerged revisions

210. By Naresh Kamboju

adding sched_test

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'doc/tests.rst'
--- doc/tests.rst 2012-07-10 09:16:53 +0000
+++ doc/tests.rst 2012-09-25 21:40:25 +0000
@@ -6,6 +6,7 @@
66
7The following tests are currently supported in LAVA Android Test:7The following tests are currently supported in LAVA Android Test:
88
9 * `sched_test`_
9 * `big_LITTLE`_10 * `big_LITTLE`_
10 * `bluetooth`_11 * `bluetooth`_
11 * `busybox`_12 * `busybox`_
@@ -66,6 +67,10 @@
66++++++++++67++++++++++
67.. automodule:: lava_android_test.test_definitions.big_LITTLE68.. automodule:: lava_android_test.test_definitions.big_LITTLE
6869
70sched_test
71++++++++++
72.. automodule:: lava_android_test.test_definitions.sched_test
73
69bluetooth74bluetooth
70+++++++++75+++++++++
71.. automodule:: lava_android_test.test_definitions.bluetooth76.. automodule:: lava_android_test.test_definitions.bluetooth
@@ -100,4 +105,4 @@
100105
101shells106shells
102++++++107++++++
103.. automodule:: lava_android_test.test_definitions.shells
104\ No newline at end of file108\ No newline at end of file
109.. automodule:: lava_android_test.test_definitions.shells
105110
=== added file 'lava_android_test/test_definitions/sched_test.py'
--- lava_android_test/test_definitions/sched_test.py 1970-01-01 00:00:00 +0000
+++ lava_android_test/test_definitions/sched_test.py 2012-09-25 21:40:25 +0000
@@ -0,0 +1,49 @@
1# Copyright (c) 2012 Linaro
2
3# Author: Linaro Validation Team <linaro-dev@lists.linaro.org>
4#
5# This file is part of LAVA Android Test.
6#
7#
8# This program is free software: you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by
10# the Free Software Foundation, either version 3 of the License, or
11# (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21"""
22Drives scheduler test scripts that are pre-intalled on Linaro
23Android build
24
25**URL:** TODO
26
27**Default options:** None
28"""
29
30import lava_android_test.testdef
31
32test_name = 'sched_test'
33
34DEFAULT_OPTIONS='output all'
35
36INSTALL_STEPS_ADB_PRE = []
37ADB_SHELL_STEPS = ['test_suite $(OPTIONS)']
38PATTERN = "(?P<test_case_id>.*-*)\s+:\s+(?P<result>(SUCCESS|FAILED))"
39
40inst = lava_android_test.testdef.AndroidTestInstaller(
41 steps_adb_pre=INSTALL_STEPS_ADB_PRE)
42run = lava_android_test.testdef.AndroidTestRunner(
43 adbshell_steps=ADB_SHELL_STEPS)
44parser = lava_android_test.testdef.AndroidTestParser(PATTERN)
45testobj = lava_android_test.testdef.AndroidTest(testname=test_name,
46 installer=inst,
47 runner=run,
48 parser=parser,
49 default_options=DEFAULT_OPTIONS)

Subscribers

People subscribed via source and target branches