diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-libs/gjs/files | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/gjs/files')
-rw-r--r-- | dev-libs/gjs/files/1.48.6-disable-unittest.patch | 24 | ||||
-rw-r--r-- | dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch | 40 | ||||
-rw-r--r-- | dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch | 35 |
3 files changed, 0 insertions, 99 deletions
diff --git a/dev-libs/gjs/files/1.48.6-disable-unittest.patch b/dev-libs/gjs/files/1.48.6-disable-unittest.patch deleted file mode 100644 index 3925fed0140d..000000000000 --- a/dev-libs/gjs/files/1.48.6-disable-unittest.patch +++ /dev/null @@ -1,24 +0,0 @@ -commit e9b7360c9a057c4a6718c9561e5cb6dcee279ec2 -Author: Timo Tambet <ttambet@gmail.com> -Date: Sat Apr 22 22:32:36 2017 +0300 - - Comment out broken JS unittest - -diff --git a/installed-tests/js/testLocale.js b/installed-tests/js/testLocale.js -index edd8a6e..0b0847a 100644 ---- a/installed-tests/js/testLocale.js -+++ b/installed-tests/js/testLocale.js -@@ -4,11 +4,12 @@ describe('JS_SetLocaleCallbacks', function () { - }); - - // Requesting the weekday name tests locale_to_unicode -+ /* - it('toLocaleDateString() works', function () { - let date = new Date('12/15/1981'); - let datestr = date.toLocaleDateString('pt-BR', { weekday: 'long' }); - expect(datestr).toEqual('terça-feira'); -- }); -+ });*/ - - it('toLocaleLowerCase() works', function () { - expect('AAA'.toLocaleLowerCase()).toEqual('aaa'); diff --git a/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch b/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch deleted file mode 100644 index c6d740ad5537..000000000000 --- a/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-1.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 115c97bb07f71ac91e20b84f9da6389434d31999 Mon Sep 17 00:00:00 2001 -From: Gilles Dartiguelongue <eva@gentoo.org> -Date: Sun, 12 Oct 2014 21:57:11 +0200 -Subject: [PATCH 1/2] Comment broken unittests - ---- - test/gjs-tests.cpp | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/test/gjs-tests.cpp b/test/gjs-tests.cpp -index 6cade7b..4d6c61e 100644 ---- a/test/gjs-tests.cpp -+++ b/test/gjs-tests.cpp -@@ -324,18 +324,18 @@ main(int argc, - - g_test_init(&argc, &argv, NULL); - -- g_test_add_func("/gjs/context/construct/destroy", gjstest_test_func_gjs_context_construct_destroy); -+ /* g_test_add_func("/gjs/context/construct/destroy", gjstest_test_func_gjs_context_construct_destroy); */ - g_test_add_func("/gjs/context/construct/eval", gjstest_test_func_gjs_context_construct_eval); -- g_test_add_func("/gjs/jsapi/util/array", gjstest_test_func_gjs_jsapi_util_array); -- g_test_add_func("/gjs/jsapi/util/error/throw", gjstest_test_func_gjs_jsapi_util_error_throw); -- g_test_add_func("/gjs/jsapi/util/string/js/string/utf8", gjstest_test_func_gjs_jsapi_util_string_js_string_utf8); -+ /* g_test_add_func("/gjs/jsapi/util/array", gjstest_test_func_gjs_jsapi_util_array); */ -+ /* g_test_add_func("/gjs/jsapi/util/error/throw", gjstest_test_func_gjs_jsapi_util_error_throw); */ -+ /* g_test_add_func("/gjs/jsapi/util/string/js/string/utf8", gjstest_test_func_gjs_jsapi_util_string_js_string_utf8); */ - g_test_add_func("/gjs/jsutil/strip_shebang/no_shebang", gjstest_test_strip_shebang_no_advance_for_no_shebang); - g_test_add_func("/gjs/jsutil/strip_shebang/have_shebang", gjstest_test_strip_shebang_advance_for_shebang); - g_test_add_func("/gjs/jsutil/strip_shebang/only_shebang", gjstest_test_strip_shebang_return_null_for_just_shebang); - g_test_add_func("/util/glib/strv/concat/null", gjstest_test_func_util_glib_strv_concat_null); - g_test_add_func("/util/glib/strv/concat/pointers", gjstest_test_func_util_glib_strv_concat_pointers); - -- gjs_test_add_tests_for_coverage (); -+ /* gjs_test_add_tests_for_coverage (); */ - - g_test_run(); - --- -2.3.6 - diff --git a/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch b/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch deleted file mode 100644 index fe21f92dfc2b..000000000000 --- a/dev-libs/gjs/files/gjs-1.43.3-disable-unittest-2.patch +++ /dev/null @@ -1,35 +0,0 @@ -From c9d63c7531a29418c64dc44556519d7bd1664ce4 Mon Sep 17 00:00:00 2001 -From: Gilles Dartiguelongue <eva@gentoo.org> -Date: Sun, 12 Oct 2014 21:57:45 +0200 -Subject: [PATCH 2/2] Comment broken JS unittest - ---- - installed-tests/js/testLocale.js | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/installed-tests/js/testLocale.js b/installed-tests/js/testLocale.js -index b086a66..0c5abb1 100644 ---- a/installed-tests/js/testLocale.js -+++ b/installed-tests/js/testLocale.js -@@ -1,14 +1,14 @@ - // tests for JS_SetLocaleCallbacks(). - const JSUnit = imports.jsUnit; - --function testToLocaleDateString() { -- let date = new Date(); -+//function testToLocaleDateString() { -+ //let date = new Date(); - // %A is the weekday name, this tests locale_to_unicode - // we're basically just testing for a non-crash, since - // we'd have to run in a specific locale to have any - // idea about the result. -- date.toLocaleDateString("%A"); --} -+ //date.toLocaleDateString("%A"); -+//} - - function testToLocaleLowerCase() { - JSUnit.assertEquals("aaa", "AAA".toLocaleLowerCase()); --- -2.3.6 - |