From 889d426ab7c42228c1b091059da2d4b934c69f27 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sun, 17 Dec 2017 18:48:33 -0600 Subject: [PATCH] mason.test: Fix benchmarks for mason. Proper fix eventually... --- extra/mason/test/test.factor | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/extra/mason/test/test.factor b/extra/mason/test/test.factor index bc20ef0cb1..420e3b9eb3 100644 --- a/extra/mason/test/test.factor +++ b/extra/mason/test/test.factor @@ -114,7 +114,15 @@ SYMBOL: skip-mason-benchmarks [ generate-help ] benchmark html-help-time-file to-file [ do-tests ] benchmark test-time-file to-file [ do-help-lint ] benchmark help-lint-time-file to-file - skip-mason-benchmarks get [ [ do-benchmarks ] benchmark benchmark-time-file to-file ] unless + ! Because of the way mason is written, it expects these files to exist. + ! So fake them. + skip-mason-benchmarks get [ + { } benchmarks-file to-file + benchmark-error-messages-file touch-file + 0 benchmark-time-file to-file + ] [ + [ do-benchmarks ] benchmark benchmark-time-file to-file + ] if do-compile-errors ] with-directory ; -- 2.34.1