Skip to content

Commit 276b6a9

Browse files
committed
test suite
1 parent f475bf9 commit 276b6a9

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

script/testga.ijs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ ECHOFILENAME=: 1 NB. echo file name
1414

1515
stdout LF ,~ 9!:14''
1616

17-
ddall=: ddall -. blacklist=: blacklist, ('OpenBSD'-:UNAME)#(<testpath),each <'gstack.ijs' NB. temporarily disable
18-
ddall=: ddall -. blacklist=: blacklist, ('FreeBSD'-:UNAME)#(<testpath),each 'gtdot.ijs';'gtdot1.ijs';'gtdot2.ijs';'gtdot3.ijs';'g13x.ijs';'g7x.ijs' NB. temporarily disable
17+
NB. ddall=: ddall -. blacklist=: blacklist, ('OpenBSD'-:UNAME)#(<testpath),each <'gstack.ijs' NB. temporarily disable
18+
NB. ddall=: ddall -. blacklist=: blacklist, ('FreeBSD'-:UNAME)#(<testpath),each 'gtdot.ijs';'gtdot1.ijs';'gtdot2.ijs';'gtdot3.ijs';'g13x.ijs';'g7x.ijs' NB. temporarily disable
1919
ddall=: ~. ddall ,~ (IF64*.(<UNAME)e.'Win';'Darwin')#(<testpath),each <'gcip1.ijs'
2020
ddall=: ~. ddall ,~ ((<UNAME)e.'Win';'Darwin')#(<testpath),each <'glapack.ijs'
2121

test/gtdot3.ijs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ assert. remote_stuff=3
4646

4747
f =: 3 : 0
4848
chk=. ('FreeBSD'-:UNAME)
49+
granularity=. 2e_13
4950
try.
5051
while. 2 > 1 T. '' do. 0 T. '' end. NB. make sure we have 2 worker threads
5152
catch.
@@ -130,11 +131,11 @@ techo^:chk 'gtdot3 a32b'
130131
NB. the following line hang on freebsd
131132
assert. 1 = 11 T. mtx;2.0
132133
techo^:chk 'gtdot3 a32c'
133-
assert. GITHUBCI +. (2.3 > dly) *. 2 <: dly =. tod-~6!:1'' NB. verify delay
134+
assert. GITHUBCI +. (2.3 > dly) *. (2-granularity) <: dly =. tod-~6!:1'' NB. verify delay
134135
techo^:chk 'gtdot3 a32d'
135136
tod =. 6!:1''
136137
assert. 1 = 11 T. mtx;0.1
137-
assert. GITHUBCI +. (0.3 > dly) *. 0.1 <: dly =. tod-~6!:1'' NB. verify delay
138+
assert. GITHUBCI +. (0.3 > dly) *. (0.1-granularity) <: dly =. tod-~6!:1'' NB. verify delay
138139
tod =. 6!:1''
139140
assert. 1 = 11 T. mtx;0
140141
assert. GITHUBCI +. (0.3 > dly) *. 0 <: dly =. tod-~6!:1'' NB. verify no delay

test/tsu.ijs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ blacklist=: blacklist, ('Wasm'-:UNAME)#(<testpath),each <'gstack.ijs' NB. crash
5555
blacklist=: blacklist, (IFQT*.'Wasm'-:UNAME)#(<testpath),each 'g331ps.ijs';'gsp422.ijs';'gsp432.ijs' NB. crash
5656
blacklist=: blacklist, IFIOS#(<testpath),each <'gipht.ijs' NB. crash if included in the whole suite, but ok if running alone
5757
NB. temp workaround
58-
blacklist=: blacklist, (UNAME-:'OpenBSD')#(<testpath),each <'gtdot.ijs'
59-
blacklist=: blacklist, (UNAME-:'FreeBSD')#(<testpath),each 'gsp.ijs';'gsp111.ijs';'gss.ijs'
58+
NB. blacklist=: blacklist, (UNAME-:'OpenBSD')#(<testpath),each <'gtdot.ijs'
59+
NB. blacklist=: blacklist, (UNAME-:'FreeBSD')#(<testpath),each 'gsp.ijs';'gsp111.ijs';'gss.ijs'
6060

6161
blacklist=: ~.blacklist
6262
ddall =: blacklist -.~ testfiles 'g'

0 commit comments

Comments
 (0)