Skip to contentSkip to conversation

tests/qtest: Reduce npcm7xx_sdhci test image size

PATCH Applied Hao Wu 3 participants 3 messages Jun 9, 2022 – Jun 10, 2022

lore
Share & tools
lore

Hao Wu

author
#0 lore raw

PATCH 1/1 tests/qtest: Reduce npcm7xx_sdhci test image size

Creating 1GB image for a simple qtest is unnecessary and could lead to failures. We reduce the image size to 1MB to reduce the test overhead.

---
 tests/qtest/npcm7xx_sdhci-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qtest/npcm7xx_sdhci-test.c +1 -1
index aa35a77e8d..5d68540e52 100644
@@ -24,7 +24,7 @@
 #define NPCM7XX_REG_SIZE 0x100
 #define NPCM7XX_MMC_BA 0xF0842000
 #define NPCM7XX_BLK_SIZE 512
-#define NPCM7XX_TEST_IMAGE_SIZE (1 << 30)
+#define NPCM7XX_TEST_IMAGE_SIZE (1 << 20)
 
 char *sd_path;
 
Signature · 1 line
2.36.1.476.g0c4daa206d-goog
#1 lore raw
Quoted 9 lines · Hao Wu

Creating 1GB image for a simple qtest is unnecessary and could lead to failures. We reduce the image size to 1MB to reduce the test overhead.

---
 tests/qtest/npcm7xx_sdhci-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to target-arm.next, thanks.

-- PMM