unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Vivien Kraus <vivien@planete-kraus.eu>, 69756@debbugs.gnu.org
Cc: rg@raghavgururajan.name, maxim.cournoyer@gmail.com
Subject: [bug#69756] [PATCH gnome-team 1/1] gnu: libgda: Disable failing tests.
Date: Tue, 12 Mar 2024 18:59:45 +0100	[thread overview]
Message-ID: <ed87dd77dae1bb203d5c681dce13067a1aca97c5.camel@gmail.com> (raw)
In-Reply-To: <5932f75d4ad0e186371f49ecb0fe4606e9d441fe.1710263604.git.vivien@planete-kraus.eu>

Am Dienstag, dem 12.03.2024 um 18:12 +0100 schrieb Vivien Kraus:
> * gnu/packages/patches/libgda-disable-data-proxy-test.patch: New
> file.
> * gnu/local.mk (dist_patch_DATA): Register it here.
> * gnu/packages/gnome.scm (libgda): Use it here.
> 
> Change-Id: I0a86fb75b1ad048eca99408750b26f4b8ff448c1
> ---
>  gnu/local.mk                                  |  1 +
>  gnu/packages/gnome.scm                        |  1 +
>  .../libgda-disable-data-proxy-test.patch      | 59
> +++++++++++++++++++
>  3 files changed, 61 insertions(+)
>  create mode 100644 gnu/packages/patches/libgda-disable-data-proxy-
> test.patch
> 
> diff --git a/gnu/local.mk b/gnu/local.mk
> index 5546e33465..d85c11cba7 100644
> --- a/gnu/local.mk
> +++ b/gnu/local.mk
> @@ -1578,6 +1578,7 @@ dist_patch_DATA
> =                                         \
>    %D%/packages/patches/libcyaml-libyaml-compat.patch           \
>    %D%/packages/patches/libexpected-use-provided-catch2.patch   \
>    %D%/packages/patches/libgda-cve-2021-39359.patch             \
> +  %D%/packages/patches/libgda-disable-data-proxy-test.patch     \
>    %D%/packages/patches/libgda-fix-build.patch                  \
>    %D%/packages/patches/libgda-fix-missing-initialization.patch \
>    %D%/packages/patches/libgda-skip-postgresql-tests.patch      \
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index 97e7f25532..7e7d77a3a2 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -13505,6 +13505,7 @@ (define-public libgda
>         (sha256
>          (base32
> "0w564z7krgjk19r39mi5qn4kggpdg9ggbyn9pb4aavb61r14npwr"))
>         (patches (search-patches "libgda-cve-2021-39359.patch"
> +                                "libgda-disable-data-proxy-
> test.patch"
>                                  "libgda-fix-build.patch"
>                                  "libgda-fix-missing-
> initialization.patch"
>                                  "libgda-skip-postgresql-
> tests.patch"))))
> diff --git a/gnu/packages/patches/libgda-disable-data-proxy-
> test.patch b/gnu/packages/patches/libgda-disable-data-proxy-
> test.patch
> new file mode 100644
> index 0000000000..b93f9d3f9b
> --- /dev/null
> +++ b/gnu/packages/patches/libgda-disable-data-proxy-test.patch
> @@ -0,0 +1,59 @@
> +From c0bb1ed662011207ee13d5a20a70f9b55166aa13 Mon Sep 17 00:00:00
> 2001
> +From: Daniel Espinosa <esodan@gmail.com>
> +Date: Wed, 1 Nov 2023 15:00:40 -0500
> +Subject: [PATCH] GdaDataProxy: is no thread save so disabling its
> test
> +
> +Has been difficutl to reproduce the problem when this test
> +is running in Ci, so disabling until we can re-implement it
> +is the better choice
I assume the spelling is [sic]?

> +---
> + libgda/gda-data-proxy.h       |  4 +++-
> + tests/data-models/meson.build | 17 +++++++++--------
> + 2 files changed, 12 insertions(+), 9 deletions(-)
> +
> +diff --git a/libgda/gda-data-proxy.h b/libgda/gda-data-proxy.h
> +index 4c31ab69b..ba0fa72b3 100644
> +--- a/libgda/gda-data-proxy.h
> ++++ b/libgda/gda-data-proxy.h
> +@@ -77,7 +77,9 @@ struct _GdaDataProxyClass
> +  * @stability: Stable
> +  * @see_also: #GdaDataModel
> +  *
> +- * This object stores modifications to be made to a #GdaDataModel
> object which is proxied until the modifications are actually
> ++ *  This object, is no thread save, so use with care.
> ++ *
> ++ *  This object stores modifications to be made to a #GdaDataModel
> object which is proxied until the modifications are actually
> +  *  written to the #GdaDataModel, it can also filter the proxied
> data model to show only a subset (a defined number of continuous
> +  *  rows or by a filter to apply).
> +  *
> +diff --git a/tests/data-models/meson.build b/tests/data-
> models/meson.build
> +index a8c6a29d8..e0ec8692a 100644
> +--- a/tests/data-models/meson.build
> ++++ b/tests/data-models/meson.build
> +@@ -61,14 +61,15 @@ tchkdp = executable('check_data_proxy',
> +               ],
> +       install: false
> +       )
> +-test('DataProxy', tchkdp,
> +-      timeout: 100,
> +-      workdir: meson.current_build_dir(),
> +-      env: [
> +-              'GDA_TOP_SRC_DIR='+gda_top_src,
> +-              'GDA_TOP_BUILD_DIR='+gda_top_build
> +-              ]
> +-      )
> ++# This test is no thread save so disabling
> ++#test('DataProxy', tchkdp,
> ++#     timeout: 100,
> ++#     workdir: meson.current_build_dir(),
> ++#     env: [
> ++#             'GDA_TOP_SRC_DIR='+gda_top_src,
> ++#             'GDA_TOP_BUILD_DIR='+gda_top_build
> ++#             ]
> ++#     )
> + 
> + tchkmc = executable('check_model_copy',
> +       ['check_model_copy.c'] + common_sources,
> +-- 
> +GitLab
Otherwise LGTM


  reply	other threads:[~2024-03-12 18:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-12 17:13 [bug#69756] [PATCH gnome-team 0/1] Fix libgda for gnome-team Vivien Kraus via Guix-patches via
2024-03-12 17:12 ` [bug#69756] [PATCH gnome-team 1/1] gnu: libgda: Disable failing tests Vivien Kraus via Guix-patches via
2024-03-12 17:59   ` Liliana Marie Prikler [this message]
2024-03-12 18:03     ` Vivien Kraus via Guix-patches via
2024-03-12 21:12       ` Liliana Marie Prikler
2024-03-16 11:00         ` bug#69756: " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ed87dd77dae1bb203d5c681dce13067a1aca97c5.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=69756@debbugs.gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    --cc=rg@raghavgururajan.name \
    --cc=vivien@planete-kraus.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).