diff options
author | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2015-01-27 12:19:33 +0800 |
---|---|---|
committer | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2015-01-27 12:19:33 +0800 |
commit | d87de2135edeed392bf271ee9a0c2ce0f87f7422 (patch) | |
tree | 95b522f30efac7ac534624d9cf052610846341e9 | |
parent | 0e128c1784cc8d15a04f57d60d80ca885c98da3b (diff) |
graphics jobs: add one more "error" keyword to the unity / compiz support test parser
-rw-r--r-- | jobs/graphics-legacy.txt.in | 4 | ||||
-rw-r--r-- | jobs/graphics.txt.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/jobs/graphics-legacy.txt.in b/jobs/graphics-legacy.txt.in index acac7e8..949f6e2 100644 --- a/jobs/graphics-legacy.txt.in +++ b/jobs/graphics-legacy.txt.in @@ -144,7 +144,7 @@ _description: plugin: shell id: graphics/compiz_check requires: package.name == 'nux-tools' -command: ! /usr/lib/nux/unity_support_test -c -p | ansi_parser | grep ":\(\s\+\)no$" +command: ! /usr/lib/nux/unity_support_test -c -p 2>&1 | ansi_parser | grep -e ":\(\s\+\)no$" -ei "error" estimated_duration: 0.130 _summary: Test Compiz support _description: Check that hardware is able to run compiz @@ -152,7 +152,7 @@ _description: Check that hardware is able to run compiz plugin: shell id: graphics/unity-support requires: package.name == 'nux-tools' -command: ! /usr/lib/nux/unity_support_test -p | ansi_parser | grep ":\(\s\+\)no" +command: ! /usr/lib/nux/unity_support_test -p 2&>1 | ansi_parser | grep -e ":\(\s\+\)no$" -ei "error" estimated_duration: 0.131 _description: Check that hardware is able to run Unity 3D _summary: Test Unity 3D support diff --git a/jobs/graphics.txt.in b/jobs/graphics.txt.in index a2741e4..ae195e3 100644 --- a/jobs/graphics.txt.in +++ b/jobs/graphics.txt.in @@ -299,7 +299,7 @@ command: plugin: shell id: graphics/`echo ${index}`_compiz_check_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'` requires: package.name == 'nux-tools' - command: ! /usr/lib/nux/unity_support_test -c -p | ansi_parser | grep ":\(\s\+\)no$" + command: ! /usr/lib/nux/unity_support_test -c -p 2&>1 | ansi_parser | grep -e ":\(\s\+\)no$" -ei "error" estimated_duration: 0.130 _description: Check that $product hardware is able to run compiz _summary: Test Compiz support for $product @@ -315,7 +315,7 @@ command: plugin: shell id: graphics/`echo ${index}`_unity_support_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'` requires: package.name == 'nux-tools' - command: ! /usr/lib/nux/unity_support_test -p | ansi_parser | grep ":\(\s\+\)no" + command: ! /usr/lib/nux/unity_support_test -p 2&>1 | ansi_parser | grep -e ":\(\s\+\)no$" -ei "error" estimated_duration: 0.131 _description: Check that $product hardware is able to run Unity 3D _summary: Test Unity 3D support for $product |