~jocave/checkbox/hybrid-amd-gpu-mods

« back to all changes in this revision

Viewing changes to providers/plainbox-provider-sru/units/sru.pxu

  • Committer: Zygmunt Krynicki
  • Date: 2013-05-29 07:50:30 UTC
  • mto: This revision was merged to the branch mainline in revision 2153.
  • Revision ID: zygmunt.krynicki@canonical.com-20130529075030-ngwz245hs2u3y6us
checkbox: move current checkbox code into checkbox-old

This patch cleans up the top-level directory of the project into dedicated
sub-project directories. One for checkbox-old (the current checkbox and all the
associated stuff), one for plainbox and another for checkbox-ng.

There are some associated changes, such as updating the 'source' mode of
checkbox provider in plainbox, and fixing paths in various test scripts that we
have.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
plugin: shell
2
 
category_id: 2013.com.canonical.plainbox::graphics
3
 
id: graphics/screenshot_opencv_validation
4
 
requires: package.name == 'python-opencv'
5
 
environ: EXTERNAL_WEBCAM_DEVICE
6
 
command:
7
 
 screenshot_validation \
8
 
    ${PLAINBOX_PROVIDER_DATA}/images/logo_Ubuntu_stacked_black.png \
9
 
    --device=${EXTERNAL_WEBCAM_DEVICE:-/dev/external_webcam} \
10
 
    -o ${PLAINBOX_SESSION_SHARE}/screenshot_opencv_validation.jpg
11
 
_summary: Test that a screenshot is valid, automatically
12
 
_description:
13
 
 Take a screengrab of the screen displaying a black and white Ubuntu logo.
14
 
 Check that the screenshot matches the original file using OpenCV ORB detection.
15
 
 
16
 
plugin: attachment
17
 
category_id: 2013.com.canonical.plainbox::graphics
18
 
id: screenshot_opencv_validation.jpg
19
 
after: graphics/screenshot_opencv_validation
20
 
command: [ -f ${PLAINBOX_SESSION_SHARE}/screenshot_opencv_validation.jpg ] && base64 ${PLAINBOX_SESSION_SHARE}/screenshot_opencv_validation.jpg
21
 
_description: Attaches the screenshot captured in graphics/screenshot_opencv_validation.
22
 
_summary: Attach the screenshot captured for the automatically validated screenshot test
23
 
 
24
 
id: sru
25
 
_name: All SRU Tests
26
 
unit: test plan
27
 
_description:
28
 
    This test plan contains tests that are useful for validating a Stable
29
 
    Release Update (SRU) on Ubuntu Certified systems.  This test plan is not
30
 
    recommended for, nor will it be accepted for self-testing purposes.
31
 
include:
32
 
    IEEE_80211
33
 
    block_device
34
 
    cdimage
35
 
    cpuinfo
36
 
    dmi
37
 
    dpkg
38
 
    efi
39
 
    environment
40
 
    gconf
41
 
    lsb
42
 
    meminfo
43
 
    module
44
 
    package
45
 
    rtc
46
 
    sleep
47
 
    uname
48
 
    xinput
49
 
    acpi_sleep_attachment
50
 
    codecs_attachment
51
 
    cpuinfo_attachment
52
 
    dmesg_attachment
53
 
    dmi_attachment
54
 
    dmidecode_attachment
55
 
    efi_attachment
56
 
    lspci_attachment
57
 
    meminfo_attachment
58
 
    modprobe_attachment
59
 
    modules_attachment
60
 
    sysctl_attachment
61
 
    sysfs_attachment
62
 
    udev_attachment
63
 
    lsmod_attachment
64
 
    audio/alsa_record_playback_automated
65
 
    bluetooth/detect-output
66
 
    camera/detect
67
 
    camera/multiple-resolution-images
68
 
    cpu/scaling_test
69
 
    cpu/scaling_test-log-attach
70
 
    cpu/offlining_test
71
 
    cpu/topology
72
 
    disk/read_performance_.*
73
 
    graphics/xorg-version
74
 
    graphics/1_compiz_check_.*
75
 
    graphics/xorg-failsafe
76
 
    graphics/xorg-process
77
 
    graphics/1_screenshot_.*
78
 
    1_screenshot_.*.jpg
79
 
    graphics/1_screenshot_fullscreen_video_.*
80
 
    1_screenshot_fullscreen_video_.*.jpg
81
 
    graphics/screenshot_opencv_validation
82
 
    screenshot_opencv_validation.jpg
83
 
    install/apt-get-gets-updates
84
 
    mediacard/sd-preinserted
85
 
    memory/info
86
 
    memory/check
87
 
    ethernet/detect
88
 
    ethernet/info_automated
89
 
    networking/http
90
 
    networking/gateway_ping
91
 
    power-management/tickless_idle
92
 
    power-management/rtc
93
 
    power-management/fwts_wakealarm
94
 
    power-management/fwts_wakealarm-log-attach
95
 
    usb/detect
96
 
    usb/storage-preinserted
97
 
    wireless/wireless_scanning
98
 
    wireless/wireless_connection_wpa_bg
99
 
    wireless/wireless_connection_open_bg
100
 
    wireless/wireless_connection_wpa_n
101
 
    wireless/wireless_connection_open_n
102
 
    wireless/monitor_wireless_connection_udp
103
 
    suspend/audio_before_suspend
104
 
    suspend/bluetooth_obex_send_before_suspend
105
 
    suspend/bluetooth_obex_browse_before_suspend
106
 
    suspend/bluetooth_obex_get_before_suspend
107
 
    suspend/cpu_before_suspend
108
 
    suspend/network_before_suspend
109
 
    suspend/memory_before_suspend
110
 
    suspend/suspend_advanced_auto
111
 
    suspend/suspend-single-log-check
112
 
    suspend/suspend-single-log-attach
113
 
    suspend/audio_after_suspend_auto
114
 
    suspend/network_resume_time_auto
115
 
    suspend/wifi_resume_time_auto
116
 
    suspend/usb_storage_preinserted_after_suspend
117
 
    suspend/record_playback_after_suspend_auto
118
 
    suspend/bluetooth_obex_send_after_suspend_auto
119
 
    suspend/bluetooth_obex_browse_after_suspend_auto
120
 
    suspend/bluetooth_obex_get_after_suspend_auto
121
 
    suspend/cpu_after_suspend_auto
122
 
    suspend/memory_after_suspend_auto
123
 
    suspend/wireless_connection_after_suspend_wpa_bg_auto
124
 
    suspend/wireless_connection_after_suspend_open_bg_auto
125
 
    suspend/wireless_connection_after_suspend_wpa_n_auto
126
 
    suspend/wireless_connection_after_suspend_open_n_auto
127
 
    suspend/gpu_lockup_after_suspend
128
 
    suspend/screenshot_after_suspend
129
 
    screenshot_after_suspend.jpg
130
 
bootstrap_include:
131
 
    device
132
 
    graphics_card