Merge lp:~bladernr/checkbox/1087777-remove-perl-from-unity_support_test-jobs into lp:checkbox

Proposed by Jeff Lane 
Status: Merged
Approved by: Zygmunt Krynicki
Approved revision: 1844
Merged at revision: 1844
Proposed branch: lp:~bladernr/checkbox/1087777-remove-perl-from-unity_support_test-jobs
Merge into: lp:checkbox
Diff against target: 34 lines (+5/-2)
2 files modified
debian/changelog (+3/-0)
jobs/graphics.txt.in (+2/-2)
To merge this branch: bzr merge lp:~bladernr/checkbox/1087777-remove-perl-from-unity_support_test-jobs
Reviewer Review Type Date Requested Status
Zygmunt Krynicki (community) Approve
Review via email: mp+138781@code.launchpad.net

Description of the change

removed the unnecessary perl wrappings used to strip ansi codes from output of unity_support_test. Instead they pipe through ansi_parser like other jobs that produce ansi coded output on stdout.

To post a comment you must log in.
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Thank you for removing perl!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-12-04 10:01:21 +0000
3+++ debian/changelog 2012-12-07 17:03:23 +0000
4@@ -19,6 +19,9 @@
5 * jobs/suspend.txt.in - fixed cycle_resolutions_after_suspend_auto so that it
6 properly depends on suspend_advanced_auto rather than suspend_advanced
7 (LP: #1071605)
8+ * jobs/graphics.txt.in - removed perl wrappings from tests using
9+ unity_support_test. They should pipe through ansi_parser like other jobs.
10+ (LP: #1087777)
11
12 [Sylvain Pineau]
13 * jobs/info.txt.in: Fixed the requirement of info/touchpad_driver.
14
15=== modified file 'jobs/graphics.txt.in'
16--- jobs/graphics.txt.in 2012-11-27 12:00:12 +0000
17+++ jobs/graphics.txt.in 2012-12-07 17:03:23 +0000
18@@ -121,14 +121,14 @@
19 name: graphics/compiz_check
20 requires: package.name == 'nux-tools'
21 command:
22- perl -e '$a=`/usr/lib/nux/unity_support_test -c -p`;$a=~s/\e\[[\d;]*m//g;print $a;exit($? ? 1:0)'
23+ /usr/lib/nux/unity_support_test -c -p | ansi_parser
24 _description: Check that hardware is able to run compiz
25
26 plugin: shell
27 name: graphics/unity-support
28 requires: package.name == 'nux-tools'
29 command:
30- perl -e '$a=`/usr/lib/nux/unity_support_test -p`;$a=~s/\e\[[\d;]*m//g;print $a;exit($? ? 1:0)'
31+ /usr/lib/nux/unity_support_test -p | ansi_parser
32 _description: Check that hardware is able to run Unity 3D
33
34 plugin: user-verify

Subscribers

People subscribed via source and target branches