diff options
author | Maxin B. John <maxin.john@intel.com> | 2015-11-02 16:17:19 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-16 11:39:33 +0000 |
commit | 4f0d7564f5afeaeeff2ca4b255bd19df8927aae9 (patch) | |
tree | ae6b943486d6547e9ea0cc2b3f996eda5e0360aa /meta | |
parent | 834de8490a67169d8c8a2fdc311fd18386204c7f (diff) | |
download | poky-4f0d7564f5afeaeeff2ca4b255bd19df8927aae9.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]
(From OE-Core rev: 1a81e2f57e49b070fdb0cc7a2d35175fb195431d)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/update-output-syntax.patch | 27 | ||||
-rw-r--r-- | meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb | 1 |
2 files changed, 28 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 @@ | |||
1 | |||
2 | The terms `FAIL` instead of `FAILED` and `SKIP` instead of `SKIPPED` | ||
3 | match what Automake does | ||
4 | |||
5 | Upstream-Status: Accepted | ||
6 | [ https://git.gnome.org/browse/gnome-desktop-testing/commit/?id=048850731a640532ef55a61df7357fcc6d2ad501 ] | ||
7 | |||
8 | Signed-off-by: Maxin B. John <maxin.john@intel.com> | ||
9 | --- | ||
10 | 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 | ||
11 | --- gnome-desktop-testing-2014.1-orig/src/gnome-desktop-testing-runner.c 2014-01-16 12:58:26.000000000 +0200 | ||
12 | +++ gnome-desktop-testing-2014.1/src/gnome-desktop-testing-runner.c 2015-11-02 11:27:34.010594126 +0200 | ||
13 | @@ -280,12 +280,12 @@ | ||
14 | else if (test->state == TEST_STATE_COMPLETE_FAILED) | ||
15 | { | ||
16 | msgid_value = ONE_TEST_FAILED_MSGID; | ||
17 | - msg = g_strconcat ("FAILED: ", test->name, " (", reason, ")", NULL); | ||
18 | + msg = g_strconcat ("FAIL: ", test->name, " (", reason, ")", NULL); | ||
19 | } | ||
20 | else if (test->state == TEST_STATE_COMPLETE_SKIPPED) | ||
21 | { | ||
22 | msgid_value = ONE_TEST_SKIPPED_MSGID; | ||
23 | - msg = g_strconcat ("SKIPPED: ", test->name, NULL); | ||
24 | + msg = g_strconcat ("SKIP: ", test->name, NULL); | ||
25 | } | ||
26 | else | ||
27 | g_assert_not_reached (); | ||
diff --git a/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb b/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb index 482de99d4d..ccb3d3b7dc 100644 --- a/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb +++ b/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb | |||
@@ -4,6 +4,7 @@ LICENSE = "LGPLv2+" | |||
4 | 4 | ||
5 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${PV}/${BPN}-${PV}.tar.xz \ | 5 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${PV}/${BPN}-${PV}.tar.xz \ |
6 | file://0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch \ | 6 | file://0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch \ |
7 | file://update-output-syntax.patch \ | ||
7 | " | 8 | " |
8 | SRC_URI[md5sum] = "a608ad72a77e23a1aecdfd8d07a94baf" | 9 | SRC_URI[md5sum] = "a608ad72a77e23a1aecdfd8d07a94baf" |
9 | SRC_URI[sha256sum] = "1a3eed73678dd22d09d6a7ec4f899557df3e8b4a802affa76d0f163b31286539" | 10 | SRC_URI[sha256sum] = "1a3eed73678dd22d09d6a7ec4f899557df3e8b4a802affa76d0f163b31286539" |