[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5] tests/qtest: add qtests for npcm7xx sdhci
From: |
Peter Maydell |
Subject: |
Re: [PATCH v5] tests/qtest: add qtests for npcm7xx sdhci |
Date: |
Thu, 26 May 2022 16:53:51 +0100 |
On Fri, 25 Feb 2022 at 17:45, Hao Wu <wuhaotsh@google.com> wrote:
>
> From: Shengtan Mao <stmao@google.com>
>
> Reviewed-by: Hao Wu <wuhaotsh@google.com>
> Reviewed-by: Chris Rauer <crauer@google.com>
> Signed-off-by: Shengtan Mao <stmao@google.com>
> Signed-off-by: Patrick Venture <venture@google.com>
Hi; John Snow tells me that this test fails in the tests/vm/netbsd
VM (you can test this with 'make vm-build-netbsd') because the
assert() on the ftruncate() call fails:
> + ret = ftruncate(fd, NPCM7XX_TEST_IMAGE_SIZE);
> + g_assert_cmpint(ret, ==, 0);
> +#define NPCM7XX_TEST_IMAGE_SIZE (1 << 30)
I haven't investigated the exact cause, but this is a
gigabyte, right? That's a pretty massive file for a test case to
create -- can we make the test use a more sensible size of
sd card image ?
thanks
-- PMM
- Re: [PATCH v5] tests/qtest: add qtests for npcm7xx sdhci,
Peter Maydell <=