]> gitweb.factorcode.org Git - factor.git/blobdiff - core/kernel/kernel-tests.factor
kernel: fix using for tests
[factor.git] / core / kernel / kernel-tests.factor
index 2d1d0448760b6d4a4eb8d6ab8ecd431828fe3b93..7c51468c45ec582266fd0c28963e931b691fcd61 100644 (file)
@@ -1,7 +1,8 @@
 USING: accessors alien alien.accessors arrays assocs byte-arrays
 continuations debugger grouping io.streams.string kernel
 kernel.private literals locals.backend math memory namespaces
-prettyprint sequences sequences.private tools.test words ;
+prettyprint sequences sequences.private tools.test vocabs.loader
+words ;
 IN: kernel.tests
 
 { 0 } [ f size ] unit-test
@@ -27,7 +28,8 @@ IN: kernel.tests
 { } [ 1000 [ [ 3 throw ] ignore-errors ] times ] unit-test
 
 [ -1 f <array> ] must-fail
-{ } [ 1000 [ [ -1 f <array> ] ignore-errors ] times ] unit-test ! Travis CI fails
+{ } [ 10 [ [ -1 f <array> ] ignore-errors ] times ] unit-test
+! { } [ 1000 [ [ -1 f <array> ] ignore-errors ] times ] unit-test ! Travis CI fails
 
 ! Make sure we report the correct error on stack underflow
 [ clear drop ] [
@@ -206,3 +208,5 @@ IN: kernel.tests
 
 { 2 3 4 1 } [ 1 2 3 4 roll ] unit-test
 { 1 2 3 4 } [ 2 3 4 1 -roll ] unit-test
+
+{ } [ "kernel" reload ] long-unit-test
\ No newline at end of file