unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 49463-done@debbugs.gnu.org
Subject: bug#49463: [core-updates] libdatrie occasionally fails test
Date: Thu, 08 Jul 2021 14:16:27 +0200	[thread overview]
Message-ID: <87pmvtknl0.fsf@gnu.org> (raw)
In-Reply-To: <87wnq1kqz9.fsf@inria.fr> ("Ludovic Courtès"'s message of "Thu, 08 Jul 2021 13:03:06 +0200")

Ludovic Courtès <ludo@gnu.org> skribis:

> FAIL: test_serialization
> ========================
>
> => Preparing trie...
> => Saving trie to file...
> => Getting serialized trie size...
> serialized trie size 1376
> => Allocating...
> allocated 0x40ba70
> => Serializing...
> => Serialized...
> Failed to reopen trie file test.tri.
> FAIL test_serialization (exit status: 1)

This is a classical problem of having several tests fiddling with the
same file:

--8<---------------cut here---------------start------------->8---
$ grep --color -nH --null -e 'test\.tri' *.c
test_file.c32:#define TRIE_FILENAME "test.tri"
test_serialization.c34:#define TRIE_FILENAME "test.tri"
--8<---------------cut here---------------end--------------->8---

Fixed by running tests sequentially in commit
5f919605e94b12d7f56656a30f66f205c24cde98.

Ludo’.




      reply	other threads:[~2021-07-08 12:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-08 11:03 bug#49463: [core-updates] libdatrie occasionally fails test Ludovic Courtès
2021-07-08 12:16 ` Ludovic Courtès [this message]

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=87pmvtknl0.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=49463-done@debbugs.gnu.org \
    /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).