Skip to content

Commit f1e5953

Browse files
committed
shrink test suite on raspberry
1 parent 3f05477 commit f1e5953

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

test/g131.ijs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,16 @@ assert. (1e_1 > >./ | , b-minv a) *. 1e_1>>./|,(id a)-a X b=:%.a=:_50000+?10 10$
7676
assert. (1e_1 > >./ | , b-minv a) *. 1e_1>>./|,(id a)-a X b=:%.a=:0.01*_4000+?7 7$10000
7777
assert. (1e_1 > >./ | , b-minv a) *. 1e_1>>./|,(id a)-a X b=:%.a=:0.01*_4000+?35 35$10000
7878
assert. (1e_1 > >./ | , b-minv a) *. 1e_1>>./|,(id a)-a X b=:%.a=:0.01*_4000+?71 71$10000
79+
if. -.QKTEST do.
7980
assert. (1e_1 > >./ | , b-minv a) *. 1e_1>>./|,(id a)-a X b=:%.a=:0.01*_4000+?237 237$10000
8081
assert. (1e_1 > >./ | , b-minv a) *. 1e_1>>./|,(id a)-a X b=:%.a=:0.01*_4000+?399 399$10000
8182
assert. (1e_1 > >./ | , b-minv a) *. 1e_1>>./|,(id a)-a X b=:%.a=:0.01*_4000+?400 400$10000
8283
assert. (1e_1 > >./ | , b-minv a) *. 1e_1>>./|,(id a)-a X b=:%.a=:0.01*_4000+?413 413$10000
8384
assert. (b-:minv a) *. 1e_5>>./|,(id a)-a X b=:%.a=:j./?2 8 8$1300
8485
assert. (1e_1 > >./ | , b-minv a) *. 1e_1>>./|,(id a)-a X b=:%.a=:0.01*_4000+?237 237$10000
86+
end.
8587
test =: 3 : '(1e_1 > >./ | , b-minv y) *. 1e_1>>./|,(id y)-y X b=:%.a=:y'
86-
assert. 13!:8@8^:-.@test@> (0.01 * _4000 + 100000 ?@$~ ,~)&.> 35 + i. 64
88+
assert. 13!:8@8^:-.@test@> (0.01 * _4000 + 100000 ?@$~ ,~)&.> 35 + i. QKTEST{64 32
8789

8890
assert. (b-:minv a) *. (1=+/a*b) *. (+/a*+a)-:%+/b*+b =:%.a=:1=?36$2
8991
assert. (b-:minv a) *. (1=+/a*b) *. (+/a*+a)-:%+/b*+b =:%.a=:_10+?17$20

test/gcip.ijs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ b=: 20 64 ?@$ 0
3333
assert. (a +/@(*"1 _) b) -: a X b
3434
end. 1 }} ''
3535

36-
a=: 1024 1024 ?@$ 0
37-
b=: 1024 1024 ?@$ 0
36+
a=: (-:^:QKTEST 1024 1024) ?@$ 0
37+
b=: (-:^:QKTEST 1024 1024) ?@$ 0
3838
c=: a +/@(*"1 _)t.'' b NB.test against strawman approach
3939
d=: a {{ (<x X y) , (x XT y) , (<x X y) }}t.'' b NB. create user task while queue has internal tasks, and vice versa
4040
e=: a (XT , XT , XT , XT) b

test/gtdot.ijs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ wthr N
169169
N = 1 T.''
170170
wthr N
171171

172-
allowlongjobs =. 0 NB. some of these too long on Windows
172+
allowlongjobs =. -.QKTEST+.IFWIN NB. some of these too long on Windows
173173

174174
1 1:`f1@.allowlongjobs 45 NB. queued job stress test
175175

test/gtdot2.ijs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ TASK=: <: 1 { 8 T. '' NB. max # worker threads
1313
1: 0&T."1^:(0 < #) ''$~ (0 >. TASK-1 T. ''),0
1414

1515
STRIDE=: 3000 NB. stride between tasks
16-
NX=: 2000
16+
NX=: QKTEST{2000 500
1717

1818
18!:55 :: 1: "0 -.&' '&.> <"1 'loc',~"1 'f',"1 ": ,. i.TASK*STRIDE NB. clear all locales
1919

0 commit comments

Comments
 (0)