Build report for macos/arm.64
Timings
| boot-time | 00:01:31 |
| load-time | 00:04:13 |
| test-time | 00:11:53 |
| help-lint-time | 00:00:08 |
| benchmark-time | 00:06:04 |
| html-help-time | 00:03:16 |
Unit test failures
- resource:basis/io/sockets/secure/openssl/tests/audit.factor
- resource:basis/openssl/libssl/libssl-tests.factor
- resource:extra/constructors/constructors-tests.factor
- resource:extra/tools/image/analyzer/gc-info/gc-info-tests.factor
Details:
==== resource:basis/io/sockets/secure/openssl/tests/audit.factor
resource:basis/io/sockets/secure/openssl/tests/audit.factor: 32
Unit Test: {
{ { t f t f f t f t t f } }
[
[
{
"GOOD.EXAMPLE"
"cn-only.example"
"a.wild.example"
"wild.example"
"a.b.wild.example"
"127.0.0.1"
"127.0.0.2"
"::1"
"0:0:0:0:0:0:0:1"
"::2"
} swap [ certificate-matches-legacy? ] curry map
] with-identity-certificate
]
}
Cannot resolve C library function
Library: DLL" libcrypto.46.dylib"
Symbol: OPENSSL_sk_num
DlError: dlsym(0x3646ccdd0, OPENSSL_sk_num): symbol not found
(U) [ c-to-factor => ]
c-to-factor
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) command-line-startup
(O) do-all
(O) do-tests
(O) test-vocabs
(O) test-vocab
(O) run-test-file
(U) [
{ ~array~ } [ ~quotation~ with-identity-certificate ]
\ (unit-test) 22 experiment
{ ~array~ } [ ~quotation~ with-identity-certificate ]
\ (unit-test) 32 experiment =>
{ "cn-only.example" }
[ ~quotation~ with-identity-certificate ] \ (unit-test) 36
experiment
{ ~array~ } [ ~quotation~ with-identity-certificate ]
\ (unit-test) 40 experiment
{ f } [ ".example" "*.example" subject-names-match? ]
\ (unit-test) 42 experiment
{ ~byte-array~ } [ ~array~ alpn-wire-format ] \ (unit-test)
46 experiment
[ ~array~ alpn-wire-format ] [ invalid-alpn-protocol? ]
\ (must-fail-with) 47 experiment
[ 256 97 <string> 1array alpn-wire-format ]
[ invalid-alpn-protocol? ] \ (must-fail-with) 49 experiment
{ t 2 0 } [ ~quotation~ with-destructors ] \ (unit-test) 69
experiment
{ 3 ~byte-array~ } [ ~quotation~ with-destructors ]
\ (unit-test) 83 experiment
{ 1 0 } [ ~quotation~ with-destructors ] \ (unit-test) 103
experiment
{ "h2" 0 } [ ~array~ ~array~ select-test-alpn ]
\ (unit-test) 127 experiment
{ f 2 } [ ~array~ ~array~ select-test-alpn ] \ (unit-test)
128 experiment
]
(U) [
2 load-locals -1 get-local <experiment> load-local
silent-tests? get 0 get-local
[ load-local 0 get-local experiment. 1 drop-locals ] curry
unless -2 get-local execute => 0 get-local -1 get-local [
2 load-locals -1 get-local 0 get-local ~quotation~ curry
curry ~quotation~ if 2 drop-locals
] curry curry [ 2drop "Warning: test skipped!" print ] if
3 drop-locals
]
experiment
(O) (unit-test)
(U) [
[ ~quotation~ dip swap ~quotation~ dip ] dip swap
[ call get-datastack ] dip => swap [ set-datastack ] dip
]
(U) [ call => get-datastack ]
(U) [ swap >n call => ndrop ]
with-variables
(U) [ [ '[ ~quotation~ dip rethrow ] recover ] keepd => call ]
cleanup
(U) [ 2keep => drop ]
keepd
(U) [ swap [ dip ] dip => ]
2dip
(U) [ swap [ call ] dip => ]
dip
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(U) [ over [ ~quotation~ dip call ] dip => like ]
new-like
(U) [ over [ call ] dip => ]
keep
(U) [ [ nip call ] 3keep => [ 1 + ] 2dip each-integer-from ]
(U) [ swap [ 2dip ] dip => ]
3dip
(U) [ swap [ dip ] dip => ]
2dip
(U) [ swap [ call ] dip => ]
dip
(U) [ [ keep ] dip => set-nth-unsafe ]
(U) [ over [ call ] dip => ]
keep
(O) certificate-matches-legacy?
(O) alternative-dns-names
(O) alternative-names
(O) name-stack>sequence
(O) sk-num
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
resource:basis/io/sockets/secure/openssl/tests/audit.factor: 40
Unit Test: {
{ { "good.example" "*.wild.example" } }
[ [ alternative-dns-names ] with-identity-certificate ]
}
Cannot resolve C library function
Library: DLL" libcrypto.46.dylib"
Symbol: OPENSSL_sk_num
DlError: dlsym(0x3646ccdd0, OPENSSL_sk_num): symbol not found
(U) [ c-to-factor => ]
c-to-factor
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) command-line-startup
(O) do-all
(O) do-tests
(O) test-vocabs
(O) test-vocab
(O) run-test-file
(U) [
{ ~array~ } [ ~quotation~ with-identity-certificate ]
\ (unit-test) 22 experiment
{ ~array~ } [ ~quotation~ with-identity-certificate ]
\ (unit-test) 32 experiment
{ "cn-only.example" }
[ ~quotation~ with-identity-certificate ] \ (unit-test) 36
experiment
{ ~array~ } [ ~quotation~ with-identity-certificate ]
\ (unit-test) 40 experiment =>
{ f } [ ".example" "*.example" subject-names-match? ]
\ (unit-test) 42 experiment
{ ~byte-array~ } [ ~array~ alpn-wire-format ] \ (unit-test)
46 experiment
[ ~array~ alpn-wire-format ] [ invalid-alpn-protocol? ]
\ (must-fail-with) 47 experiment
[ 256 97 <string> 1array alpn-wire-format ]
[ invalid-alpn-protocol? ] \ (must-fail-with) 49 experiment
{ t 2 0 } [ ~quotation~ with-destructors ] \ (unit-test) 69
experiment
{ 3 ~byte-array~ } [ ~quotation~ with-destructors ]
\ (unit-test) 83 experiment
{ 1 0 } [ ~quotation~ with-destructors ] \ (unit-test) 103
experiment
{ "h2" 0 } [ ~array~ ~array~ select-test-alpn ]
\ (unit-test) 127 experiment
{ f 2 } [ ~array~ ~array~ select-test-alpn ] \ (unit-test)
128 experiment
]
(U) [
2 load-locals -1 get-local <experiment> load-local
silent-tests? get 0 get-local
[ load-local 0 get-local experiment. 1 drop-locals ] curry
unless -2 get-local execute => 0 get-local -1 get-local [
2 load-locals -1 get-local 0 get-local ~quotation~ curry
curry ~quotation~ if 2 drop-locals
] curry curry [ 2drop "Warning: test skipped!" print ] if
3 drop-locals
]
experiment
(O) (unit-test)
(U) [
[ ~quotation~ dip swap ~quotation~ dip ] dip swap
[ call get-datastack ] dip => swap [ set-datastack ] dip
]
(U) [ call => get-datastack ]
(U) [ swap >n call => ndrop ]
with-variables
(U) [ [ '[ ~quotation~ dip rethrow ] recover ] keepd => call ]
cleanup
(U) [ 2keep => drop ]
keepd
(U) [ swap [ dip ] dip => ]
2dip
(U) [ swap [ call ] dip => ]
dip
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) alternative-dns-names
(O) alternative-names
(O) name-stack>sequence
(O) sk-num
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
==== resource:basis/openssl/libssl/libssl-tests.factor
resource:basis/openssl/libssl/libssl-tests.factor: 45
Unit Test: {
{ t }
[
[
new-tls-ctx tls-opts
[ [ set-opt ] [ has-opt ] 2bi ] with map
[ t = ] count
] with-destructors ssl-new-api? get-global 0 4 ? =
]
}
=== Expected:
t
=== Got:
f
(U) [ c-to-factor => ]
c-to-factor
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) command-line-startup
(O) do-all
(O) do-tests
(O) test-vocabs
(O) test-vocab
(O) run-test-file
(U) [
maybe-init-ssl
{ t } [ ~quotation~ with-destructors ~quotation~ all? ]
\ (unit-test) 36 experiment
{ t } [
~quotation~ with-destructors
ssl-new-api? get-global 0 4 ? =
] \ (unit-test) 45 experiment =>
{ t } [
~quotation~ with-destructors
ssl-new-api? get-global "before SSL initialization"
"before/connect initialization" ? =
] \ (unit-test) 52 experiment
{ t 1 } [ ~quotation~ with-destructors ] \ (unit-test) 62
experiment
{ f } [ ~quotation~ with-destructors ] \ (unit-test) 68
experiment ssl-new-api? get-global
[ ~array~ ~quotation~ \ (unit-test) 83 experiment ] when
"SSL_CTX_set_ciphersuites" "libssl" dlsym?
[ ~array~ ~quotation~ \ (unit-test) 91 experiment ] when
{ t } [ ~quotation~ with-destructors ] \ (unit-test) 99
experiment
{ 0 0 } [ ~quotation~ with-destructors ERR_clear_error ]
\ (unit-test) 111 experiment
]
(U) [
2 load-locals -1 get-local <experiment> load-local
silent-tests? get 0 get-local
[ load-local 0 get-local experiment. 1 drop-locals ] curry
unless -2 get-local execute => 0 get-local -1 get-local [
2 load-locals -1 get-local 0 get-local ~quotation~ curry
curry ~quotation~ if 2 drop-locals
] curry curry [ 2drop "Warning: test skipped!" print ] if
3 drop-locals
]
experiment
(O) (unit-test)
(O) assert-sequence=
(O) assert-sequence
(O) M\ object throw
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
resource:basis/openssl/libssl/libssl-tests.factor: 52
Unit Test: {
{ t }
[
[ new-tls-ctx new-ssl SSL_state_string_long ]
with-destructors
ssl-new-api? get-global "before SSL initialization"
"before/connect initialization" ? =
]
}
=== Expected:
t
=== Got:
f
(U) [ c-to-factor => ]
c-to-factor
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) command-line-startup
(O) do-all
(O) do-tests
(O) test-vocabs
(O) test-vocab
(O) run-test-file
(U) [
maybe-init-ssl
{ t } [ ~quotation~ with-destructors ~quotation~ all? ]
\ (unit-test) 36 experiment
{ t } [
~quotation~ with-destructors
ssl-new-api? get-global 0 4 ? =
] \ (unit-test) 45 experiment
{ t } [
~quotation~ with-destructors
ssl-new-api? get-global "before SSL initialization"
"before/connect initialization" ? =
] \ (unit-test) 52 experiment =>
{ t 1 } [ ~quotation~ with-destructors ] \ (unit-test) 62
experiment
{ f } [ ~quotation~ with-destructors ] \ (unit-test) 68
experiment ssl-new-api? get-global
[ ~array~ ~quotation~ \ (unit-test) 83 experiment ] when
"SSL_CTX_set_ciphersuites" "libssl" dlsym?
[ ~array~ ~quotation~ \ (unit-test) 91 experiment ] when
{ t } [ ~quotation~ with-destructors ] \ (unit-test) 99
experiment
{ 0 0 } [ ~quotation~ with-destructors ERR_clear_error ]
\ (unit-test) 111 experiment
]
(U) [
2 load-locals -1 get-local <experiment> load-local
silent-tests? get 0 get-local
[ load-local 0 get-local experiment. 1 drop-locals ] curry
unless -2 get-local execute => 0 get-local -1 get-local [
2 load-locals -1 get-local 0 get-local ~quotation~ curry
curry ~quotation~ if 2 drop-locals
] curry curry [ 2drop "Warning: test skipped!" print ] if
3 drop-locals
]
experiment
(O) (unit-test)
(O) assert-sequence=
(O) assert-sequence
(O) M\ object throw
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
==== resource:extra/constructors/constructors-tests.factor
resource:extra/constructors/constructors-tests.factor: 21
Unit Test: {
{ t }
[
AAPL 1234 <stock-spread> {
[ stock>> AAPL eq? ]
[ spread>> 1234 = ]
[ timestamp>> timestamp? ]
} 1&&
]
}
immutable-assoc-error
assoc AL{ { ~array~ f } { ~array~ f } { ~array~ f } }
(U) [ c-to-factor => ]
c-to-factor
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) command-line-startup
(O) do-all
(O) do-tests
(O) test-vocabs
(O) test-vocab
(O) run-test-file
(U) [
{ t } [ AAPL 1234 <stock-spread> ~array~ 1&& ] \ (unit-test)
21 experiment =>
{ 1000 } [ 1000 <ct1> a>> ] \ (unit-test) 36 experiment
{ 0 } [ 0 0 <ct2> a>> ] \ (unit-test) 37 experiment
{ 0 } [ 0 0 0 <ct3> a>> ] \ (unit-test) 38 experiment
{ 0 } [ 0 0 0 0 <ct4> a>> ] \ (unit-test) 39 experiment
{ 20 } [ "Norm" 10 10 <a-monster> computed>> ] \ (unit-test)
64 experiment
{ 18 } [ "Norm" 10 10 <a-monster> stop>> ] \ (unit-test) 65
experiment
{ 22 } [ "Phil" 11 11 <b-monster> computed>> ] \ (unit-test)
67 experiment
{ 18 } [ "Phil" 11 11 <b-monster> stop>> ] \ (unit-test) 68
experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> repeated-constructor-parameters? ]
\ (must-fail-with) 77 experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> unknown-constructor-parameters? ]
\ (must-fail-with) 86 experiment
]
(U) [
2 load-locals -1 get-local <experiment> load-local
silent-tests? get 0 get-local
[ load-local 0 get-local experiment. 1 drop-locals ] curry
unless -2 get-local execute => 0 get-local -1 get-local [
2 load-locals -1 get-local 0 get-local ~quotation~ curry
curry ~quotation~ if 2 drop-locals
] curry curry [ 2drop "Warning: test skipped!" print ] if
3 drop-locals
]
experiment
(O) (unit-test)
(U) [
[ ~quotation~ dip swap ~quotation~ dip ] dip swap
[ call get-datastack ] dip => swap [ set-datastack ] dip
]
(U) [ call => get-datastack ]
(U) [
AAPL 1234 <stock-spread> =>
{ ~quotation~ ~quotation~ ~quotation~ } 1&&
]
(O) <stock-spread>
(O) assoc-union-as
(O) M\ immutable-assoc new-assoc
(O) immutable-assoc-error
(O) M\ object throw
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
resource:extra/constructors/constructors-tests.factor: 36
Unit Test: { { 1000 } [ 1000 <ct1> a>> ] }
immutable-assoc-error
assoc AL{ { ~array~ f } }
(U) [ c-to-factor => ]
c-to-factor
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) command-line-startup
(O) do-all
(O) do-tests
(O) test-vocabs
(O) test-vocab
(O) run-test-file
(U) [
{ t } [ AAPL 1234 <stock-spread> ~array~ 1&& ] \ (unit-test)
21 experiment
{ 1000 } [ 1000 <ct1> a>> ] \ (unit-test) 36 experiment =>
{ 0 } [ 0 0 <ct2> a>> ] \ (unit-test) 37 experiment
{ 0 } [ 0 0 0 <ct3> a>> ] \ (unit-test) 38 experiment
{ 0 } [ 0 0 0 0 <ct4> a>> ] \ (unit-test) 39 experiment
{ 20 } [ "Norm" 10 10 <a-monster> computed>> ] \ (unit-test)
64 experiment
{ 18 } [ "Norm" 10 10 <a-monster> stop>> ] \ (unit-test) 65
experiment
{ 22 } [ "Phil" 11 11 <b-monster> computed>> ] \ (unit-test)
67 experiment
{ 18 } [ "Phil" 11 11 <b-monster> stop>> ] \ (unit-test) 68
experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> repeated-constructor-parameters? ]
\ (must-fail-with) 77 experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> unknown-constructor-parameters? ]
\ (must-fail-with) 86 experiment
]
(U) [
2 load-locals -1 get-local <experiment> load-local
silent-tests? get 0 get-local
[ load-local 0 get-local experiment. 1 drop-locals ] curry
unless -2 get-local execute => 0 get-local -1 get-local [
2 load-locals -1 get-local 0 get-local ~quotation~ curry
curry ~quotation~ if 2 drop-locals
] curry curry [ 2drop "Warning: test skipped!" print ] if
3 drop-locals
]
experiment
(O) (unit-test)
(U) [
[ ~quotation~ dip swap ~quotation~ dip ] dip swap
[ call get-datastack ] dip => swap [ set-datastack ] dip
]
(U) [ call => get-datastack ]
(U) [ 1000 <ct1> => a>> ]
(O) <ct1>
(O) assoc-union-as
(O) M\ immutable-assoc new-assoc
(O) immutable-assoc-error
(O) M\ object throw
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
resource:extra/constructors/constructors-tests.factor: 37
Unit Test: { { 0 } [ 0 0 <ct2> a>> ] }
immutable-assoc-error
assoc AL{ { ~array~ f } { ~array~ f } }
(U) [ c-to-factor => ]
c-to-factor
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) command-line-startup
(O) do-all
(O) do-tests
(O) test-vocabs
(O) test-vocab
(O) run-test-file
(U) [
{ t } [ AAPL 1234 <stock-spread> ~array~ 1&& ] \ (unit-test)
21 experiment
{ 1000 } [ 1000 <ct1> a>> ] \ (unit-test) 36 experiment
{ 0 } [ 0 0 <ct2> a>> ] \ (unit-test) 37 experiment =>
{ 0 } [ 0 0 0 <ct3> a>> ] \ (unit-test) 38 experiment
{ 0 } [ 0 0 0 0 <ct4> a>> ] \ (unit-test) 39 experiment
{ 20 } [ "Norm" 10 10 <a-monster> computed>> ] \ (unit-test)
64 experiment
{ 18 } [ "Norm" 10 10 <a-monster> stop>> ] \ (unit-test) 65
experiment
{ 22 } [ "Phil" 11 11 <b-monster> computed>> ] \ (unit-test)
67 experiment
{ 18 } [ "Phil" 11 11 <b-monster> stop>> ] \ (unit-test) 68
experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> repeated-constructor-parameters? ]
\ (must-fail-with) 77 experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> unknown-constructor-parameters? ]
\ (must-fail-with) 86 experiment
]
(U) [
2 load-locals -1 get-local <experiment> load-local
silent-tests? get 0 get-local
[ load-local 0 get-local experiment. 1 drop-locals ] curry
unless -2 get-local execute => 0 get-local -1 get-local [
2 load-locals -1 get-local 0 get-local ~quotation~ curry
curry ~quotation~ if 2 drop-locals
] curry curry [ 2drop "Warning: test skipped!" print ] if
3 drop-locals
]
experiment
(O) (unit-test)
(U) [
[ ~quotation~ dip swap ~quotation~ dip ] dip swap
[ call get-datastack ] dip => swap [ set-datastack ] dip
]
(U) [ call => get-datastack ]
(U) [ 0 0 <ct2> => a>> ]
(O) <ct2>
(O) assoc-union-as
(O) M\ immutable-assoc new-assoc
(O) immutable-assoc-error
(O) M\ object throw
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
resource:extra/constructors/constructors-tests.factor: 38
Unit Test: { { 0 } [ 0 0 0 <ct3> a>> ] }
immutable-assoc-error
assoc AL{ { ~array~ f } { ~array~ f } { ~array~ f } }
(U) [ c-to-factor => ]
c-to-factor
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) command-line-startup
(O) do-all
(O) do-tests
(O) test-vocabs
(O) test-vocab
(O) run-test-file
(U) [
{ t } [ AAPL 1234 <stock-spread> ~array~ 1&& ] \ (unit-test)
21 experiment
{ 1000 } [ 1000 <ct1> a>> ] \ (unit-test) 36 experiment
{ 0 } [ 0 0 <ct2> a>> ] \ (unit-test) 37 experiment
{ 0 } [ 0 0 0 <ct3> a>> ] \ (unit-test) 38 experiment =>
{ 0 } [ 0 0 0 0 <ct4> a>> ] \ (unit-test) 39 experiment
{ 20 } [ "Norm" 10 10 <a-monster> computed>> ] \ (unit-test)
64 experiment
{ 18 } [ "Norm" 10 10 <a-monster> stop>> ] \ (unit-test) 65
experiment
{ 22 } [ "Phil" 11 11 <b-monster> computed>> ] \ (unit-test)
67 experiment
{ 18 } [ "Phil" 11 11 <b-monster> stop>> ] \ (unit-test) 68
experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> repeated-constructor-parameters? ]
\ (must-fail-with) 77 experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> unknown-constructor-parameters? ]
\ (must-fail-with) 86 experiment
]
(U) [
2 load-locals -1 get-local <experiment> load-local
silent-tests? get 0 get-local
[ load-local 0 get-local experiment. 1 drop-locals ] curry
unless -2 get-local execute => 0 get-local -1 get-local [
2 load-locals -1 get-local 0 get-local ~quotation~ curry
curry ~quotation~ if 2 drop-locals
] curry curry [ 2drop "Warning: test skipped!" print ] if
3 drop-locals
]
experiment
(O) (unit-test)
(U) [
[ ~quotation~ dip swap ~quotation~ dip ] dip swap
[ call get-datastack ] dip => swap [ set-datastack ] dip
]
(U) [ call => get-datastack ]
(U) [ 0 0 0 <ct3> => a>> ]
(O) <ct3>
(O) assoc-union-as
(O) M\ immutable-assoc new-assoc
(O) immutable-assoc-error
(O) M\ object throw
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
resource:extra/constructors/constructors-tests.factor: 39
Unit Test: { { 0 } [ 0 0 0 0 <ct4> a>> ] }
immutable-assoc-error
assoc AL{ { ~array~ f } { ~array~ f } { ~array~ f } { ~array~ f } }
(U) [ c-to-factor => ]
c-to-factor
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) command-line-startup
(O) do-all
(O) do-tests
(O) test-vocabs
(O) test-vocab
(O) run-test-file
(U) [
{ t } [ AAPL 1234 <stock-spread> ~array~ 1&& ] \ (unit-test)
21 experiment
{ 1000 } [ 1000 <ct1> a>> ] \ (unit-test) 36 experiment
{ 0 } [ 0 0 <ct2> a>> ] \ (unit-test) 37 experiment
{ 0 } [ 0 0 0 <ct3> a>> ] \ (unit-test) 38 experiment
{ 0 } [ 0 0 0 0 <ct4> a>> ] \ (unit-test) 39 experiment =>
{ 20 } [ "Norm" 10 10 <a-monster> computed>> ] \ (unit-test)
64 experiment
{ 18 } [ "Norm" 10 10 <a-monster> stop>> ] \ (unit-test) 65
experiment
{ 22 } [ "Phil" 11 11 <b-monster> computed>> ] \ (unit-test)
67 experiment
{ 18 } [ "Phil" 11 11 <b-monster> stop>> ] \ (unit-test) 68
experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> repeated-constructor-parameters? ]
\ (must-fail-with) 77 experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> unknown-constructor-parameters? ]
\ (must-fail-with) 86 experiment
]
(U) [
2 load-locals -1 get-local <experiment> load-local
silent-tests? get 0 get-local
[ load-local 0 get-local experiment. 1 drop-locals ] curry
unless -2 get-local execute => 0 get-local -1 get-local [
2 load-locals -1 get-local 0 get-local ~quotation~ curry
curry ~quotation~ if 2 drop-locals
] curry curry [ 2drop "Warning: test skipped!" print ] if
3 drop-locals
]
experiment
(O) (unit-test)
(U) [
[ ~quotation~ dip swap ~quotation~ dip ] dip swap
[ call get-datastack ] dip => swap [ set-datastack ] dip
]
(U) [ call => get-datastack ]
(U) [ 0 0 0 0 <ct4> => a>> ]
(O) <ct4>
(O) assoc-union-as
(O) M\ immutable-assoc new-assoc
(O) immutable-assoc-error
(O) M\ object throw
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
resource:extra/constructors/constructors-tests.factor: 64
Unit Test: { { 20 } [ "Norm" 10 10 <a-monster> computed>> ] }
immutable-assoc-error
assoc AL{ { ~array~ "" } { ~array~ 0 } { ~array~ 0 } { ~array~ 0 } { ...
(U) [ c-to-factor => ]
c-to-factor
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) command-line-startup
(O) do-all
(O) do-tests
(O) test-vocabs
(O) test-vocab
(O) run-test-file
(U) [
{ t } [ AAPL 1234 <stock-spread> ~array~ 1&& ] \ (unit-test)
21 experiment
{ 1000 } [ 1000 <ct1> a>> ] \ (unit-test) 36 experiment
{ 0 } [ 0 0 <ct2> a>> ] \ (unit-test) 37 experiment
{ 0 } [ 0 0 0 <ct3> a>> ] \ (unit-test) 38 experiment
{ 0 } [ 0 0 0 0 <ct4> a>> ] \ (unit-test) 39 experiment
{ 20 } [ "Norm" 10 10 <a-monster> computed>> ] \ (unit-test)
64 experiment =>
{ 18 } [ "Norm" 10 10 <a-monster> stop>> ] \ (unit-test) 65
experiment
{ 22 } [ "Phil" 11 11 <b-monster> computed>> ] \ (unit-test)
67 experiment
{ 18 } [ "Phil" 11 11 <b-monster> stop>> ] \ (unit-test) 68
experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> repeated-constructor-parameters? ]
\ (must-fail-with) 77 experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> unknown-constructor-parameters? ]
\ (must-fail-with) 86 experiment
]
(U) [
2 load-locals -1 get-local <experiment> load-local
silent-tests? get 0 get-local
[ load-local 0 get-local experiment. 1 drop-locals ] curry
unless -2 get-local execute => 0 get-local -1 get-local [
2 load-locals -1 get-local 0 get-local ~quotation~ curry
curry ~quotation~ if 2 drop-locals
] curry curry [ 2drop "Warning: test skipped!" print ] if
3 drop-locals
]
experiment
(O) (unit-test)
(U) [
[ ~quotation~ dip swap ~quotation~ dip ] dip swap
[ call get-datastack ] dip => swap [ set-datastack ] dip
]
(U) [ call => get-datastack ]
(U) [ "Norm" 10 10 <a-monster> => computed>> ]
(O) <a-monster>
(O) assoc-union-as
(O) M\ immutable-assoc new-assoc
(O) immutable-assoc-error
(O) M\ object throw
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
resource:extra/constructors/constructors-tests.factor: 65
Unit Test: { { 18 } [ "Norm" 10 10 <a-monster> stop>> ] }
immutable-assoc-error
assoc AL{ { ~array~ "" } { ~array~ 0 } { ~array~ 0 } { ~array~ 0 } { ...
(U) [ c-to-factor => ]
c-to-factor
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) command-line-startup
(O) do-all
(O) do-tests
(O) test-vocabs
(O) test-vocab
(O) run-test-file
(U) [
{ t } [ AAPL 1234 <stock-spread> ~array~ 1&& ] \ (unit-test)
21 experiment
{ 1000 } [ 1000 <ct1> a>> ] \ (unit-test) 36 experiment
{ 0 } [ 0 0 <ct2> a>> ] \ (unit-test) 37 experiment
{ 0 } [ 0 0 0 <ct3> a>> ] \ (unit-test) 38 experiment
{ 0 } [ 0 0 0 0 <ct4> a>> ] \ (unit-test) 39 experiment
{ 20 } [ "Norm" 10 10 <a-monster> computed>> ] \ (unit-test)
64 experiment
{ 18 } [ "Norm" 10 10 <a-monster> stop>> ] \ (unit-test) 65
experiment =>
{ 22 } [ "Phil" 11 11 <b-monster> computed>> ] \ (unit-test)
67 experiment
{ 18 } [ "Phil" 11 11 <b-monster> stop>> ] \ (unit-test) 68
experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> repeated-constructor-parameters? ]
\ (must-fail-with) 77 experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> unknown-constructor-parameters? ]
\ (must-fail-with) 86 experiment
]
(U) [
2 load-locals -1 get-local <experiment> load-local
silent-tests? get 0 get-local
[ load-local 0 get-local experiment. 1 drop-locals ] curry
unless -2 get-local execute => 0 get-local -1 get-local [
2 load-locals -1 get-local 0 get-local ~quotation~ curry
curry ~quotation~ if 2 drop-locals
] curry curry [ 2drop "Warning: test skipped!" print ] if
3 drop-locals
]
experiment
(O) (unit-test)
(U) [
[ ~quotation~ dip swap ~quotation~ dip ] dip swap
[ call get-datastack ] dip => swap [ set-datastack ] dip
]
(U) [ call => get-datastack ]
(U) [ "Norm" 10 10 <a-monster> => stop>> ]
(O) <a-monster>
(O) assoc-union-as
(O) M\ immutable-assoc new-assoc
(O) immutable-assoc-error
(O) M\ object throw
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
resource:extra/constructors/constructors-tests.factor: 67
Unit Test: { { 22 } [ "Phil" 11 11 <b-monster> computed>> ] }
immutable-assoc-error
assoc AL{ { ~array~ "" } { ~array~ 0 } { ~array~ 0 } { ~array~ 0 } { ...
(U) [ c-to-factor => ]
c-to-factor
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) command-line-startup
(O) do-all
(O) do-tests
(O) test-vocabs
(O) test-vocab
(O) run-test-file
(U) [
{ t } [ AAPL 1234 <stock-spread> ~array~ 1&& ] \ (unit-test)
21 experiment
{ 1000 } [ 1000 <ct1> a>> ] \ (unit-test) 36 experiment
{ 0 } [ 0 0 <ct2> a>> ] \ (unit-test) 37 experiment
{ 0 } [ 0 0 0 <ct3> a>> ] \ (unit-test) 38 experiment
{ 0 } [ 0 0 0 0 <ct4> a>> ] \ (unit-test) 39 experiment
{ 20 } [ "Norm" 10 10 <a-monster> computed>> ] \ (unit-test)
64 experiment
{ 18 } [ "Norm" 10 10 <a-monster> stop>> ] \ (unit-test) 65
experiment
{ 22 } [ "Phil" 11 11 <b-monster> computed>> ] \ (unit-test)
67 experiment =>
{ 18 } [ "Phil" 11 11 <b-monster> stop>> ] \ (unit-test) 68
experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> repeated-constructor-parameters? ]
\ (must-fail-with) 77 experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> unknown-constructor-parameters? ]
\ (must-fail-with) 86 experiment
]
(U) [
2 load-locals -1 get-local <experiment> load-local
silent-tests? get 0 get-local
[ load-local 0 get-local experiment. 1 drop-locals ] curry
unless -2 get-local execute => 0 get-local -1 get-local [
2 load-locals -1 get-local 0 get-local ~quotation~ curry
curry ~quotation~ if 2 drop-locals
] curry curry [ 2drop "Warning: test skipped!" print ] if
3 drop-locals
]
experiment
(O) (unit-test)
(U) [
[ ~quotation~ dip swap ~quotation~ dip ] dip swap
[ call get-datastack ] dip => swap [ set-datastack ] dip
]
(U) [ call => get-datastack ]
(U) [ "Phil" 11 11 <b-monster> => computed>> ]
(O) <b-monster>
(O) assoc-union-as
(O) M\ immutable-assoc new-assoc
(O) immutable-assoc-error
(O) M\ object throw
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
resource:extra/constructors/constructors-tests.factor: 68
Unit Test: { { 18 } [ "Phil" 11 11 <b-monster> stop>> ] }
immutable-assoc-error
assoc AL{ { ~array~ "" } { ~array~ 0 } { ~array~ 0 } { ~array~ 0 } { ...
(U) [ c-to-factor => ]
c-to-factor
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) command-line-startup
(O) do-all
(O) do-tests
(O) test-vocabs
(O) test-vocab
(O) run-test-file
(U) [
{ t } [ AAPL 1234 <stock-spread> ~array~ 1&& ] \ (unit-test)
21 experiment
{ 1000 } [ 1000 <ct1> a>> ] \ (unit-test) 36 experiment
{ 0 } [ 0 0 <ct2> a>> ] \ (unit-test) 37 experiment
{ 0 } [ 0 0 0 <ct3> a>> ] \ (unit-test) 38 experiment
{ 0 } [ 0 0 0 0 <ct4> a>> ] \ (unit-test) 39 experiment
{ 20 } [ "Norm" 10 10 <a-monster> computed>> ] \ (unit-test)
64 experiment
{ 18 } [ "Norm" 10 10 <a-monster> stop>> ] \ (unit-test) 65
experiment
{ 22 } [ "Phil" 11 11 <b-monster> computed>> ] \ (unit-test)
67 experiment
{ 18 } [ "Phil" 11 11 <b-monster> stop>> ] \ (unit-test) 68
experiment => [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> repeated-constructor-parameters? ]
\ (must-fail-with) 77 experiment [
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
] [ error>> unknown-constructor-parameters? ]
\ (must-fail-with) 86 experiment
]
(U) [
2 load-locals -1 get-local <experiment> load-local
silent-tests? get 0 get-local
[ load-local 0 get-local experiment. 1 drop-locals ] curry
unless -2 get-local execute => 0 get-local -1 get-local [
2 load-locals -1 get-local 0 get-local ~quotation~ curry
curry ~quotation~ if 2 drop-locals
] curry curry [ 2drop "Warning: test skipped!" print ] if
3 drop-locals
]
experiment
(O) (unit-test)
(U) [
[ ~quotation~ dip swap ~quotation~ dip ] dip swap
[ call get-datastack ] dip => swap [ set-datastack ] dip
]
(U) [ call => get-datastack ]
(U) [ "Phil" 11 11 <b-monster> => stop>> ]
(O) <b-monster>
(O) assoc-union-as
(O) M\ immutable-assoc new-assoc
(O) immutable-assoc-error
(O) M\ object throw
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
==== resource:extra/tools/image/analyzer/gc-info/gc-info-tests.factor
resource:extra/tools/image/analyzer/gc-info/gc-info-tests.factor: 115
Unit Test: { { { } } [ \ word>gc-maps word>gc-maps ] }
=== Expected:
{ }
=== Got:
AL{ }
(U) [ c-to-factor => ]
c-to-factor
(U) [ [ (get-catchstack) push ] dip call => (get-catchstack) pop* ]
(O) command-line-startup
(O) do-all
(O) do-tests
(O) test-vocabs
(O) test-vocab
(O) run-test-file
(U) [
{ ~bit-array~ } [ ~byte-array~ byte-array>bit-array ]
\ (unit-test) 83 experiment
{ ~bit-array~ } [ ~byte-array~ byte-array>bit-array ]
\ (unit-test) 85 experiment
{ f } [ \ <effect> word>gc-maps empty? ] \ (unit-test) 90
experiment cpu x86.64? [
os windows? ~quotation~ ~quotation~ if
~quotation~ \ (unit-test) 106 experiment
] when
{ f } [ \ + word>gc-maps empty? ] \ (unit-test) 111
experiment
{ ~array~ } [ \ word>gc-maps word>gc-maps ] \ (unit-test)
115 experiment =>
{ ~array~ }
[ all-words ~quotation~ filter ~quotation~ reject ]
\ (unit-test) 121 experiment os unix?
[ ~array~ ~quotation~ \ (unit-test) 126 experiment ] when
{ t } [ \ resolve-types ~quotation~ ~quotation~ bi = ]
\ (unit-test) 145 experiment
{ t }
[ \ resolve-types ~quotation~ ~quotation~ bi same-gc-info? ]
\ (unit-test) 151 experiment
{ t } [
\ cl-queue-kernel ~quotation~ ~quotation~ bi
same-gc-info?
] \ (unit-test) 156 experiment
{ t }
[ \ bytes>words ~quotation~ ~quotation~ bi same-gc-info? ]
\ (unit-test) 161 experiment
{ t }
[ \ opengl-main ~quotation~ ~quotation~ bi same-gc-info? ]
\ (unit-test) 172 experiment
{ t } [ \ cl-queue-kernel deterministic-gc-info? ]
\ (unit-test) 186 experiment os unix?
[ ~array~ ~quotation~ \ (unit-test) 191 experiment ] when
]
(U) [
2 load-locals -1 get-local <experiment> load-local
silent-tests? get 0 get-local
[ load-local 0 get-local experiment. 1 drop-locals ] curry
unless -2 get-local execute => 0 get-local -1 get-local [
2 load-locals -1 get-local 0 get-local ~quotation~ curry
curry ~quotation~ if 2 drop-locals
] curry curry [ 2drop "Warning: test skipped!" print ] if
3 drop-locals
]
experiment
(O) (unit-test)
(O) assert-sequence=
(O) assert-sequence
(O) M\ object throw
(U) [
OBJ-CURRENT-THREAD special-object error-thread set-global
current-continuation => error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]
Benchmarks
| Benchmark | Time (seconds) |
| benchmark.3d-matrix-scalar | 0.269 |
| benchmark.3d-matrix-vector | 0.009 |
| benchmark.ant | 0.038 |
| benchmark.backtrack | 0.039 |
| benchmark.base16 | 0.120 |
| benchmark.base32 | 0.102 |
| benchmark.base58 | 0.359 |
| benchmark.base64 | 0.018 |
| benchmark.base85 | 0.073 |
| benchmark.base91 | 0.056 |
| benchmark.beust1 | 0.173 |
| benchmark.beust2 | 0.169 |
| benchmark.binary-search | 0.054 |
| benchmark.binary-trees | 0.285 |
| benchmark.bloom-filters | 0.047 |
| benchmark.bootstrap1 | 3.663 |
| benchmark.busy-loop | 1.774 |
| benchmark.chameneos-redux | 0.064 |
| benchmark.combinatorics | 0.018 |
| benchmark.completion | 0.148 |
| benchmark.continuations | 0.103 |
| benchmark.crc32 | 0.056 |
| benchmark.csv | 0.023 |
| benchmark.cuckoo-filters | 1.233 |
| benchmark.dawes | 0.027 |
| benchmark.dispatch1 | 0.248 |
| benchmark.dispatch2 | 0.349 |
| benchmark.dispatch3 | 0.390 |
| benchmark.dispatch4 | 0.625 |
| benchmark.dispatch5 | 0.182 |
| benchmark.dispatch6 | 1.205 |
| benchmark.dlists | 0.130 |
| benchmark.e-decimals | 0.108 |
| benchmark.e-ratios | 0.015 |
| benchmark.empty-loop-0 | 0.054 |
| benchmark.empty-loop-1 | 0.083 |
| benchmark.empty-loop-2 | 0.056 |
| benchmark.euler150 | 1.072 |
| benchmark.fannkuch | 0.182 |
| benchmark.farkup | 0.070 |
| benchmark.fasta | 0.707 |
| benchmark.fib1 | 0.013 |
| benchmark.fib2 | 0.014 |
| benchmark.fib3 | 0.042 |
| benchmark.fib4 | 0.025 |
| benchmark.fib5 | 0.064 |
| benchmark.fib6 | 0.776 |
| benchmark.fib7 | 0.107 |
| benchmark.fib8 | 0.083 |
| benchmark.find-pi | 0.219 |
| benchmark.flip | 0.135 |
| benchmark.futures1 | 0.122 |
| benchmark.futures2 | 0.079 |
| benchmark.gc0 | 0.420 |
| benchmark.gc1 | 0.008 |
| benchmark.gc2 | 2.346 |
| benchmark.gc3 | 0.055 |
| benchmark.hash-sets | 0.303 |
| benchmark.hashtables | 0.233 |
| benchmark.heaps | 0.071 |
| benchmark.interval-sets | 0.302 |
| benchmark.iteration | 0.332 |
| benchmark.json | 0.070 |
| benchmark.k-nn | 2.221 |
| benchmark.knucleotide | 0.534 |
| benchmark.lcs | 0.101 |
| benchmark.lexer | 1.959 |
| benchmark.linked-assocs | 0.239 |
| benchmark.mailbox | 0.011 |
| benchmark.make | 0.354 |
| benchmark.mandel | 0.025 |
| benchmark.matrix-exponential-scalar | 0.917 |
| benchmark.matrix-exponential-simd | 0.023 |
| benchmark.md5 | 0.029 |
| benchmark.memoize | 0.115 |
| benchmark.msgpack | 0.348 |
| benchmark.mt | 0.046 |
| benchmark.namespaces | 0.186 |
| benchmark.nbody | 0.699 |
| benchmark.nbody-simd | 0.079 |
| benchmark.neon | 0.204 |
| benchmark.nested-empty-loop-1 | 0.194 |
| benchmark.nested-empty-loop-2 | 0.094 |
| benchmark.nsieve | 0.066 |
| benchmark.nsieve-bits | 0.226 |
| benchmark.nsieve-bytes | 0.061 |
| benchmark.parse-bignum | 0.152 |
| benchmark.parse-fixnum | 0.137 |
| benchmark.parse-float | 0.127 |
| benchmark.parse-ratio | 0.069 |
| benchmark.partial-sums | 0.167 |
| benchmark.pidigits | 0.077 |
| benchmark.random | 0.042 |
| benchmark.randomize | 0.415 |
| benchmark.raytracer | 0.419 |
| benchmark.raytracer-simd | 0.062 |
| benchmark.recursive | 0.285 |
| benchmark.regex-dna | 0.226 |
| benchmark.regexp | 0.069 |
| benchmark.reverse-complement | 0.509 |
| benchmark.ring | 0.096 |
| benchmark.sfmt | 0.031 |
| benchmark.sha1 | 0.038 |
| benchmark.sieve | 0.532 |
| benchmark.simd-1 | 0.068 |
| benchmark.sockets | 0.986 |
| benchmark.sort | 0.416 |
| benchmark.spawn-cat | 1.519 |
| benchmark.spectral-norm | 0.448 |
| benchmark.spectral-norm-simd | 0.131 |
| benchmark.splay | 0.070 |
| benchmark.splitting | 0.144 |
| benchmark.stack | 0.195 |
| benchmark.struct-arrays | 0.071 |
| benchmark.sum-file | 0.124 |
| benchmark.tasks | 2.221 |
| benchmark.tcp-echo0 | 0.016 |
| benchmark.tcp-echo1 | 0.204 |
| benchmark.tcp-echo2 | 0.208 |
| benchmark.terrain-generation | 0.096 |
| benchmark.timers | 0.004 |
| benchmark.tuple-arrays | 0.131 |
| benchmark.typecheck1 | 0.210 |
| benchmark.typecheck2 | 0.205 |
| benchmark.typecheck3 | 0.235 |
| benchmark.udp-echo0 | 0.223 |
| benchmark.udp-echo1 | 0.233 |
| benchmark.udp-echo2 | 0.327 |
| benchmark.ui-panes | 0.014 |
| benchmark.unicode | 0.083 |
| benchmark.utf16 | 4.050 |
| benchmark.utf8 | 6.954 |
| benchmark.wrap | 0.040 |
| benchmark.xml | 0.141 |
| benchmark.yield | 0.009 |
| benchmark.yuv-to-rgb | 0.021 |