From cc4ad4aaaa98d324ea8c0796cf0ebae8eb097714 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sun, 17 Dec 2017 21:30:28 -0600 Subject: [PATCH] mason.report: Crazy mason code sucks. So brittle. So fragile. If we skip benchmarks, don't report them in the final email. --- extra/mason/report/report.factor | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/extra/mason/report/report.factor b/extra/mason/report/report.factor index f4d9e51a1c..ca00248070 100644 --- a/extra/mason/report/report.factor +++ b/extra/mason/report/report.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: assocs combinators.smart debugger fry io.encodings.utf8 io.files io.streams.string kernel literals locals mason.common -mason.config mason.disk math math.parser namespaces sequences +mason.config mason.disk mason.test math namespaces sequences xml.syntax xml.writer ; IN: mason.report @@ -123,10 +123,12 @@ IN: mason.report help-lint-errors-file error-dump - "Benchmark errors" - benchmark-error-vocabs-file - benchmark-error-messages-file - error-dump + skip-mason-benchmarks get [ + "Benchmark errors" + benchmark-error-vocabs-file + benchmark-error-messages-file + error-dump + ] unless benchmarks-file eval-file benchmarks-table ] output>array