From dc76e1b7e0f48c185d95d5e212a2f2a4dc7f831a Mon Sep 17 00:00:00 2001 From: shhyou Date: Sun, 3 Jan 2021 18:52:58 -0600 Subject: [PATCH] regexp-split perf. test is unreliable on Windows --- pkgs/racket-test-core/tests/racket/string.rktl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/racket-test-core/tests/racket/string.rktl b/pkgs/racket-test-core/tests/racket/string.rktl index 23e526e3a4..868f0e7d9f 100644 --- a/pkgs/racket-test-core/tests/racket/string.rktl +++ b/pkgs/racket-test-core/tests/racket/string.rktl @@ -343,7 +343,11 @@ ;; String splitting can take longer than byte-string splitting, ;; but it should have the same computational complexity. -(let () +;; +;; While the test is unreliable, it seems to fail mostly on +;; Windows CI. +(when (or (not (eq? (system-type 'os) 'windows)) + (run-unreliable-tests? 'timing)) (define N 100000) (define-values (b bcpu breal bgc) (time-apply