Skip to content

Commit

Permalink
Clean suspend time test (BugFix) (#1702)
Browse files Browse the repository at this point in the history
* Removed unused test

* Fixed naming on suspend tests
  • Loading branch information
fernando79513 authored Jan 29, 2025
1 parent f31e3e9 commit 4b89d45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
4 changes: 2 additions & 2 deletions providers/base/units/suspend/suspend-graphics.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,10 @@ user: root
command:
if type -P fwts >/dev/null; then
echo "Calling fwts"
set -o pipefail; checkbox-support-fwts_test -f none -l "$PLAINBOX_SESSION_SHARE"/{index}_suspend_single.log -s s3 --s3-sleep-delay=30 --s3-device-check --s3-device-check-delay=45 | tee "$PLAINBOX_SESSION_SHARE"/{index}_suspend_single_times.log
set -o pipefail; checkbox-support-fwts_test -f none -l "$PLAINBOX_SESSION_SHARE"/{index}_suspend_30_cycles.log -s s3 --s3-sleep-delay=30 --s3-device-check --s3-device-check-delay=45 | tee "$PLAINBOX_SESSION_SHARE"/{index}_suspend_30_cycles_times.log
else
echo "Calling sleep_test.py"
set -o pipefail; sleep_test.py -p | tee "$PLAINBOX_SESSION_SHARE"/{index}_suspend_single_times.log
set -o pipefail; sleep_test.py -p | tee "$PLAINBOX_SESSION_SHARE"/{index}_suspend_30_cycles.log
fi
_purpose:
Suspend SUT 30 times while using {product_slug} graphics card
Expand Down
9 changes: 1 addition & 8 deletions providers/base/units/suspend/suspend.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ command:
fi
else
echo "Calling sleep_test.py"
set -o pipefail; sleep_test.py -p | tee "$PLAINBOX_SESSION_SHARE"/2_suspend_single_times.log
set -o pipefail; sleep_test.py -p | tee "$PLAINBOX_SESSION_SHARE"/suspend_single_times.log
fi
estimated_duration: 90.0
_summary: Manual test of suspend function
Expand Down Expand Up @@ -1266,13 +1266,6 @@ command: audio_test.py
_purpose: This will check to make sure that your audio device works properly after a suspend and resume. This may work fine with speakers and onboard microphone, however, it works best if used with a cable connecting the audio-out jack to the audio-in jack.
_summary: Ensure audio device works correctly after suspend and resume cycle.

plugin: attachment
category_id: com.canonical.plainbox::suspend
id: suspend/suspend-auto-single-log-attach
command: [ -e "$PLAINBOX_SESSION_SHARE"/suspend_auto_single_log ] && cat "$PLAINBOX_SESSION_SHARE"/suspend_auto_single_log
_purpose: Attaches the log from the single suspend/resume test to the results
_summary: Attach the single suspend/resume test log to the results.

plugin: shell
category_id: com.canonical.plainbox::suspend
id: suspend/gpu_lockup_after_suspend
Expand Down

0 comments on commit 4b89d45

Please sign in to comment.