There was an error while loading. Please reload this page.
1 parent 5032222 commit 2ac652dCopy full SHA for 2ac652d
6 files changed
test/g420t.ijs
@@ -68,19 +68,19 @@ y=: timer 'f ',"1 ":,. x=: 2^8+i.12
68
THRESHOLD +. threshold < y rsq y (] +/ .* %.) x^/0 1
69
70
f=: 3 : ';/(y,4 3)$''a'''
71
-y=: timer 'f ',"1 ":,. x=: 2^8+i.12
+y=: timer 'f ',"1 ":,. x=: 2^8+i.QKTEST{12 8
72
73
74
f=: 3 : ';/(y,4 3)$u:''a'''
75
76
77
78
f=: 3 : ';/(y,4 3)$10&u:''a'''
79
80
81
82
f=: 3 : ';/(y,4 3)$s:@<"0 ''a'''
83
84
85
86
test/g421i.ijs
@@ -4,7 +4,7 @@ NB. x f//. y special code for + +. *. >. <. = ~: -----------------------
4
randuni''
5
bigval =: imax-1000
6
test=: 1 : 0
7
- n=. 1000
+ n=. QKTEST{1000 100
8
v=: 3 : ((5!:5 <'u'),'/y')
9
yy=: y {~ n ?@$ #y
10
assert. (xx=: ? n $2 ) (u//. -: v/.) yy
test/g430.ijs
@@ -562,8 +562,8 @@ f=: i.@:>:@:$
562
(5 +`%\1 2 3) -: 5 +`%\1 2 3x
563
564
NB. Verify that special forms are detected
565
-a =: 1e4 $ 'abc'
566
-THRESHOLD +. (10 (6!:2) '40 ]@<\ a') > 1.2 * 10 (6!:2) '40 <\ a'
+a =: (QKTEST{1e4 1e3) $ 'abc'
+THRESHOLD +. ((1) (6!:2) '40 ]@<\ a') > 1.2 * (1) (6!:2) '40 <\ a'
567
(40 <\ a) -: 40 ]@<\ a
568
569
(7!:2 '; 40 <\ a') > 1.2 * 7!:2 '40 ;@:(<\) a' NB. smaller because boxes contain (cloned) virtual blocks
@@ -572,7 +572,7 @@ THRESHOLD +. (10 (6!:2) '40 ]@<\ a') > 1.2 * 10 (6!:2) '40 <\ a'
572
(7!:2 '; 40 <\ a') > 1.2 * 7!:2 '40 ]@;@:(<\) a' NB. smaller because boxes contain (cloned) virtual blocks
573
(; 40 <\ a) -: 40 ]@;@:(<\) a
574
575
-THRESHOLD +. ((10) 6!:2 '_3 ,&]/\ a') > 1.5 * (10) 6!:2 '_2 ,&]/\ a' NB. special code for dyad
+THRESHOLD +. ((1) 6!:2 '_3 ,&]/\ a') > 1.5 * (1) 6!:2 '_2 ,&]/\ a' NB. special code for dyad
576
577
a =: i. 1000 1000
578
(7!:2 '; 2 (<@{.\) a') > 1.5 * 7!:2 '2 ;@:(<@{.\) a'
test/g431a.ijs
@@ -88,9 +88,9 @@ k (<\. -: < bsd) ,a [ k=:_4+?11
88
k (]\. -: ] bsd) a [ k=:_4+?11
89
90
NB. Verify special code for 2 irs/\ y
91
-THRESHOLD +. (6!:2 '2 +/\ a') < 0.4 * (6!:2 '2 +"+/\ a') [ a =: i. 100000
92
-THRESHOLD +. (6!:2 '2 ~:/\ a') < 0.4 * (6!:2 '2 ~:"+/\ a') [ a =: 100000 $ 'abcdefgh'
93
-THRESHOLD +. (6!:2 '2 */\ a') < 0.4 * (6!:2 '2 *"+/\ a') [ a =: i. 100000
+THRESHOLD +. (6!:2 '2 +/\ a') < 0.4 * (6!:2 '2 +"+/\ a') [ a =: i. (QKTEST{100000 1000)
+THRESHOLD +. (6!:2 '2 ~:/\ a') < 0.4 * (6!:2 '2 ~:"+/\ a') [ a =: (QKTEST{100000 1000) $ 'abcdefgh'
+THRESHOLD +. (6!:2 '2 */\ a') < 0.4 * (6!:2 '2 *"+/\ a') [ a =: i. (QKTEST{100000 1000)
94
95
96
NB. x f/\. y ------------------------------------------------------------
@@ -108,8 +108,8 @@ testa=: 1 : 0
108
1
109
)
110
111
-<. testa&> t , < sdot0{~ 100 ?@$ #sdot0
112
->. testa&> t , < sdot0{~ 100 ?@$ #sdot0
+<. testa&> t , < sdot0{~ (QKTEST{100 50) ?@$ #sdot0
+>. testa&> t , < sdot0{~ (QKTEST{100 50) ?@$ #sdot0
113
+ testa&> t , < j./ 2 100 ?@$ 1000
114
* testa&> t , < j./ 2 100 ?@$ 1000
115
+. testa&> 0 1; 100 ?@$ 1000
test/gebar.ijs
@@ -106,9 +106,9 @@ ystg =. (xstg,xstg) (, randpos +/ i.x)} ystg
106
assert. xstg (ebar -: E.) ystg [ xstgsav =: xstg [ ystgsav =: ystg
107
-(30 + 1000 ?@$ 10) f 5000 + 1000 ?@$ 100
+(30 + (QKTEST{1000 100) ?@$ 10) f 5000 + (QKTEST{1000 100) ?@$ 100
-2 f 64 + 2000 ?@$ 10
+2 f 64 + (QKTEST{2000 200) ?@$ 10
NB. literal2
adot3=: /:~ (#adot1){.~.(u:'ABCabc'),adot1,u: (#adot1)?65536
test/tsu.ijs
@@ -57,14 +57,36 @@ blacklist=: blacklist, IFIOS#(<testpath),each <'gipht.ijs' NB. crash if include
57
blacklist=: blacklist, (IFRASPI+.'OpenBSD'-:UNAME)#(<testpath),each <'g128x14.ijs' NB. raspberry crash; OpenBSD fail
58
59
NB. too slow
60
-blacklist=: blacklist, (0~:9!:56'MEMAUDIT')#(<testpath),each 'gco1.ijs';'gco1u.ijs';'gco1w.ijs';'gibs';'gstack.ijs'
+blacklist=: blacklist, (0~:9!:56'MEMAUDIT')#(<testpath),each 'g600ip.ijs';'gco1.ijs';'gco1u.ijs';'gco1w.ijs';'gibs.ijs';'gss.ijs';'gstack.ijs'
61
NB. crash
62
-blacklist=: blacklist, (0~:9!:56'MEMAUDIT')#(<testpath),each 'g0.ijs';'g128x19.ijs';'g128x5.ijs';'g320.ijs';'g320ip.ijs';'g421.ijs';'g422os.ijs';'g430a2.ijs';'g600.ijs';'g621.ijs';'g631.ijs';'gibs.ijs';'gipht.ijs';'gmean.ijs';'gnan.ijs';'gqco.ijs';'g601.ijs'
+blacklist=: blacklist, (0~:9!:56'MEMAUDIT')#(<testpath),each <@(,&'.ijs');._2 [ 0 : 0
63
+g0
64
+g128x19
65
+g128x5
66
+g220t
67
+g320
+g320ip
+g321
+g322
+g421
+g421c
+g421d
+g422os
+g430a2
+g600
+g601
+g621
+g631
+gipht
+gmean
+gnan
+gqco
+)
blacklist=: ~.blacklist
87
ddall =: testfiles 'g'
-3 : 0'' [ 'gsp420' NB. skip until
+3 : 0'' [ 'gt' NB. skip until
if. #y do.
y=. '/',y,'.ijs'
if. _1~: i=. {.!._1 I. (1 e. y&E.)&> ddall do. ddall=: i}.ddall end.
0 commit comments