summaryrefslogtreecommitdiff
path: root/units
diff options
Diffstat (limited to 'units')
-rw-r--r--units/stress/jobs.pxu8
-rw-r--r--units/suspend/suspend-graphics.pxu2
-rw-r--r--units/suspend/suspend.pxu4
3 files changed, 7 insertions, 7 deletions
diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu
index 78d3bb1..682f8fc 100644
--- a/units/stress/jobs.pxu
+++ b/units/stress/jobs.pxu
@@ -179,7 +179,7 @@ category_id: com.canonical.plainbox::stress
id: power-management/suspend-30-cycles-time-check
estimated_duration: 1.0
depends: power-management/suspend_30_cycles
-command: [ -e $PLAINBOX_SESSION_SHARE/suspend_30_cycles_times.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/suspend_30_cycles_times.log
+command: [ -e $PLAINBOX_SESSION_SHARE/suspend_30_cycles_times.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/suspend_30_cycles_times.log
_description:
Checks the sleep times to ensure that a machine suspends and resumes within a given threshold
@@ -188,14 +188,14 @@ category_id: com.canonical.plainbox::stress
id: power-management/suspend-30-cycles-time-check-with-reboots
estimated_duration: 1.0
depends: power-management/suspend_30_cycles_with_reboots
-command: [ -e $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log
+command: [ -e $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/pm_test.reboot.3.log
_summary: 30 suspend/resume cycles and 1 reboot, 3 times (check logs for timing issues)
_description:
Checks the sleep times to ensure that a machine suspends and resumes within a given threshold (warm boots)
_siblings: [
{ "id": "power-management/suspend-30-cycles-time-check-with-coldboots",
"depends": "power-management/suspend_30_cycles_with_coldboots",
- "command": "[ -e $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log",
+ "command": "[ -e $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/pm_test.poweroff.3.log",
"_description": "Checks the sleep times to ensure that a machine suspends and resumes within a given threshold (cold boots)",
"_summary": "30 suspend/resume cycles and 1 poweroff, 3 times (check logs for timing issues)"
}
@@ -259,7 +259,7 @@ plugin: shell
category_id: com.canonical.plainbox::stress
id: stress/suspend-250-cycles-time-check
estimated_duration: 1.0
-command: [ -e $PLAINBOX_SESSION_SHARE/suspend_250_cycles_times.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/suspend_250_cycles_times.log
+command: [ -e $PLAINBOX_SESSION_SHARE/suspend_250_cycles_times.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/suspend_250_cycles_times.log
_description:
Checks the sleep times to ensure that a machine suspends and resumes within a given threshold
diff --git a/units/suspend/suspend-graphics.pxu b/units/suspend/suspend-graphics.pxu
index f108249..74b5cb1 100644
--- a/units/suspend/suspend-graphics.pxu
+++ b/units/suspend/suspend-graphics.pxu
@@ -236,7 +236,7 @@ depends:
suspend/suspend_advanced
{%- endif %}
estimated_duration: 1.2
-command: [ -e $PLAINBOX_SESSION_SHARE/{{ index }}_suspend_single_times.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/{{ index }}_suspend_single_times.log
+command: [ -e $PLAINBOX_SESSION_SHARE/{{ index }}_suspend_single_times.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/{{ index }}_suspend_single_times.log
_description: Checks the sleep times to ensure that a machine suspends and resumes within a given threshold
unit: template
diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu
index 101e27f..5c6656e 100644
--- a/units/suspend/suspend.pxu
+++ b/units/suspend/suspend.pxu
@@ -350,7 +350,7 @@ plugin: shell
category_id: com.canonical.plainbox::suspend
id: suspend/suspend-time-check
estimated_duration: 1.2
-command: [ -e $PLAINBOX_SESSION_SHARE/suspend_single_times.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/suspend_single_times.log
+command: [ -e $PLAINBOX_SESSION_SHARE/suspend_single_times.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/suspend_single_times.log
_summary: Ensure time to suspend/resume is under threshold
_description:
Checks the sleep times to ensure that a machine suspends and resumes within a given threshold
@@ -363,7 +363,7 @@ category_id: com.canonical.plainbox::suspend
id: suspend/{index}_suspend-time-check_{product_slug}
depends: suspend/{index}_suspend_after_switch_to_card_{product_slug}
estimated_duration: 1.2
-command: [ -e $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log ] && sleep_time_check $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log
+command: [ -e $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log ] && sleep_time_check.py $PLAINBOX_SESSION_SHARE/{index}_suspend_single_times.log
_summary: Ensure time to suspend/resume is under threshold
_description: Checks the sleep times to ensure that a machine suspends and resumes within a given threshold