From fb17ea72a4537eac58dce1c69143cd0fb80128d7 Mon Sep 17 00:00:00 2001 From: srz_zumix Date: Sun, 2 Oct 2022 14:15:52 +0900 Subject: [PATCH] skip generate testdata --- codefresh.yml | 1 + test/GNUmakefile | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/codefresh.yml b/codefresh.yml index 337bd3fad3..f5135f1e7b 100644 --- a/codefresh.yml +++ b/codefresh.yml @@ -38,6 +38,7 @@ steps: - cf_export GGC_MIN_EXPAND=4 - cf_export GGC_MIN_HEAPSIZ=32768 - cf_export CI_NODEBUG=1 + - cf_export NO_TESTDATA=1 - make -C test clean - make -C test prepare when: *skip_condition diff --git a/test/GNUmakefile b/test/GNUmakefile index 2c12af06c2..358166f091 100644 --- a/test/GNUmakefile +++ b/test/GNUmakefile @@ -329,8 +329,17 @@ coverity_scan: $(COVERITY_SCAN_BUILD_TARGETS) # test data # +ifdef NO_TESTDATA + +testdata: + @echo skip generate testdata + +else + testdata: $(GENERATE_TESTDATA) +endif + testdata/4gb.bin: dd if=/dev/zero of=$@ bs=1048576 count=4096