summaryrefslogtreecommitdiff
diff options
-rw-r--r--jobs/graphics-legacy.txt.in4
-rw-r--r--jobs/graphics.txt.in4
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