Skip to content

Commit 76d6deb

Browse files
committed
Don't print the report too early
1 parent c177f8e commit 76d6deb

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

Makefile.examples

+9-5
Original file line numberDiff line numberDiff line change
@@ -353,17 +353,21 @@ Makefile.test-amd64-files.mk: fiat-amd64/gentest.py $(AMD64_ASM_FILES)
353353
include Makefile.test-amd64-files.mk
354354

355355
.PHONY: test-amd64-files-print-report test-amd64-files-lite-print-report only-test-amd64-files-print-report only-test-amd64-files-lite-print-report
356+
.PHONY: test-amd64-files-print-report-after-make test-amd64-files-lite-print-report-after-make only-test-amd64-files-print-report-after-make only-test-amd64-files-lite-print-report-after-make
356357

357358
test-amd64-files-print-report:: STATUS_FILES=$(AMD64_ASM_STATUS_FILES)
358-
only-test-amd64-files-print-report:: STATUS_FILES=$(AMD64_ASM_ONLY_STATUS_FILES)
359+
only-test-amd64-files-print-report only-test-amd64-files-print-report-after-make:: STATUS_FILES=$(AMD64_ASM_ONLY_STATUS_FILES)
359360
test-amd64-files-lite-print-report:: STATUS_FILES=$(AMD64_ASM_SMALL_STATUS_FILES)
360-
only-test-amd64-files-lite-print-report:: STATUS_FILES=$(AMD64_ASM_SMALL_ONLY_STATUS_FILES)
361+
only-test-amd64-files-lite-print-report only-test-amd64-files-lite-print-report-after-make:: STATUS_FILES=$(AMD64_ASM_SMALL_ONLY_STATUS_FILES)
361362
test-amd64-files-status: STATUS_FILES=$(AMD64_ASM_STATUS_FILES)
362363
only-test-amd64-files-status: STATUS_FILES=$(AMD64_ASM_ONLY_STATUS_FILES)
363364
test-amd64-files-lite-status: STATUS_FILES=$(AMD64_ASM_SMALL_STATUS_FILES)
364365
only-test-amd64-files-lite-status: STATUS_FILES=$(AMD64_ASM_SMALL_ONLY_STATUS_FILES)
365366

366-
test-amd64-files-print-report only-test-amd64-files-print-report test-amd64-files-lite-print-report only-test-amd64-files-lite-print-report::
367+
only-test-amd64-files-print-report-after-make:: | only-test-amd64-files-status
368+
only-test-amd64-files-lite-print-report-after-make:: | only-test-amd64-files-lite-status
369+
370+
test-amd64-files-print-report only-test-amd64-files-print-report test-amd64-files-lite-print-report only-test-amd64-files-lite-print-report test-amd64-files-print-report-after-make only-test-amd64-files-print-report-after-make test-amd64-files-lite-print-report-after-make only-test-amd64-files-lite-print-report-after-make::
367371
@ export passed=$$(cat $(STATUS_FILES) 2>/dev/null | grep -c '^0$$'); \
368372
export total=$(words $(STATUS_FILES)); \
369373
export failed=$$(expr $${total} - $${passed}); \
@@ -383,11 +387,11 @@ test-amd64-files test-amd64-files-lite: $(UNSATURATED_SOLINAS) $(WORD_BY_WORD_MO
383387

384388
test-amd64-files: test-amd64-files-print-report test-amd64-files-status
385389

386-
only-test-amd64-files: only-test-amd64-files-print-report only-test-amd64-files-status
390+
only-test-amd64-files: only-test-amd64-files-print-report-after-make only-test-amd64-files-status
387391

388392
test-amd64-files-lite: test-amd64-files-lite-print-report test-amd64-files-lite-status
389393

390-
only-test-amd64-files-lite: only-test-amd64-files-lite-print-report only-test-amd64-files-lite-status
394+
only-test-amd64-files-lite: only-test-amd64-files-lite-print-report-after-make only-test-amd64-files-lite-status
391395

392396
etc/tscfreq: etc/tscfreq.c
393397
$(CC) etc/tscfreq.c -s -Os -o etc/tscfreq

0 commit comments

Comments
 (0)