]> gitweb.factorcode.org Git - factor.git/commitdiff
tools.profiler.sampling: win32
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 24 Aug 2023 02:44:27 +0000 (19:44 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 24 Aug 2023 02:44:27 +0000 (19:44 -0700)
basis/tools/profiler/sampling/sampling-tests.factor

index 765da7af14e42bbfdeca861aadc65011acf93f3c..a39f2615aad771fd96331fdc73f814227f378cfd 100644 (file)
@@ -1,5 +1,5 @@
 USING: assocs byte-arrays calendar kernel kernel.private math
-memory namespaces parser random sequences threads
+memory namespaces parser random sequences system threads
 tools.profiler.sampling tools.profiler.sampling.private
 tools.test ;
 IN: tools.profiler.sampling.tests
@@ -11,8 +11,10 @@ IN: tools.profiler.sampling.tests
 ] unit-test
 
 ! Make sure the profiler doesn't blow up the VM
+os windows? cpu x86.32? and [
+    { } [ 10 [ [ ] profile ] times ] unit-test
+] unless
 TUPLE: boom ;
-{ } [ 10 [ [ ] profile ] times ] unit-test
 [ 10 [ [ boom new throw ] profile ] times ] [ boom? ] must-fail-with
 
 { t t t t t t t t t t } [