summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2015-11-02 16:17:19 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-16 11:28:57 +0000
commit1a81e2f57e49b070fdb0cc7a2d35175fb195431d (patch)
treeec847b4184b4c7c327a011e8b6246df407b26851 /meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing
parent712c4ccb0c5bede4f7199dabb5a75d0fabeb0564 (diff)
downloadopenembedded-core-1a81e2f57e49b070fdb0cc7a2d35175fb195431d.tar.gz
gnome-desktop-testing: fix ptest output format
Fix ptest output format for glib-2.0 and other packages which depends on gnome-desktop-testing framework. [YOCTO #6601] Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing')
-rw-r--r--meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/update-output-syntax.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/update-output-syntax.patch b/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/update-output-syntax.patch
new file mode 100644
index 0000000000..5a178e2ef1
--- /dev/null
+++ b/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/update-output-syntax.patch
@@ -0,0 +1,27 @@
+
+The terms `FAIL` instead of `FAILED` and `SKIP` instead of `SKIPPED`
+match what Automake does
+
+Upstream-Status: Accepted
+[ https://git.gnome.org/browse/gnome-desktop-testing/commit/?id=048850731a640532ef55a61df7357fcc6d2ad501 ]
+
+Signed-off-by: Maxin B. John <maxin.john@intel.com>
+---
+diff -Naur gnome-desktop-testing-2014.1-orig/src/gnome-desktop-testing-runner.c gnome-desktop-testing-2014.1/src/gnome-desktop-testing-runner.c
+--- gnome-desktop-testing-2014.1-orig/src/gnome-desktop-testing-runner.c 2014-01-16 12:58:26.000000000 +0200
++++ gnome-desktop-testing-2014.1/src/gnome-desktop-testing-runner.c 2015-11-02 11:27:34.010594126 +0200
+@@ -280,12 +280,12 @@
+ else if (test->state == TEST_STATE_COMPLETE_FAILED)
+ {
+ msgid_value = ONE_TEST_FAILED_MSGID;
+- msg = g_strconcat ("FAILED: ", test->name, " (", reason, ")", NULL);
++ msg = g_strconcat ("FAIL: ", test->name, " (", reason, ")", NULL);
+ }
+ else if (test->state == TEST_STATE_COMPLETE_SKIPPED)
+ {
+ msgid_value = ONE_TEST_SKIPPED_MSGID;
+- msg = g_strconcat ("SKIPPED: ", test->name, NULL);
++ msg = g_strconcat ("SKIP: ", test->name, NULL);
+ }
+ else
+ g_assert_not_reached ();