mason.test: Fix benchmarks for mason. Proper fix eventually...

factor-shell
Doug Coleman 2017-12-17 18:48:33 -06:00
parent 7d8fe2b54c
commit 889d426ab7
1 changed files with 9 additions and 1 deletions

View File

@ -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 ;