]> gitweb.factorcode.org Git - factor.git/commitdiff
kernel: Test if one ``-1 f <array>`` hangs travisci.
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 7 Jul 2018 07:44:32 +0000 (02:44 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 7 Jul 2018 07:44:32 +0000 (02:44 -0500)
Related to #2013.

core/kernel/kernel-tests.factor

index a1942a4de870d5a40fc7cf0a97330ab43431fc5b..2d1d0448760b6d4a4eb8d6ab8ecd431828fe3b93 100644 (file)
@@ -22,10 +22,12 @@ IN: kernel.tests
     }
 } [ 1 2 10 <iota> [ 3array ] 2with map ] unit-test
 
+
 ! Don't leak extra roots if error is thrown
 { } [ 1000 [ [ 3 throw ] ignore-errors ] times ] unit-test
 
-{ } [ 1000 [ [ -1 f <array> ] ignore-errors ] times ] unit-test
+[ -1 f <array> ] must-fail
+{ } [ 1000 [ [ -1 f <array> ] ignore-errors ] times ] unit-test ! Travis CI fails
 
 ! Make sure we report the correct error on stack underflow
 [ clear drop ] [