blob: 04caaa099ae92f36215ab3138de452cf919a692e [file] [log] [blame]
Roger Meier41ad4342015-03-24 22:30:40 +01001[
2 {
3 "name": "c_glib",
4 "platforms": [
5 "Linux"
Roger Meier40cc2322014-06-11 11:09:14 +02006 ],
Roger Meier41ad4342015-03-24 22:30:40 +01007 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +01008 "command": [
9 "test_server"
10 ]
11 },
12 "client": {
13 "command": [
14 "test_client"
15 ]
16 },
17 "transports": [
18 "buffered",
19 "framed"
20 ],
21 "sockets": [
22 "ip"
23 ],
24 "protocols": [
Chandler May6dde90b2016-01-10 06:01:10 +000025 "binary",
26 "compact"
Roger Meier41ad4342015-03-24 22:30:40 +010027 ],
28 "workdir": "c_glib"
29 },
30 {
31 "name": "go",
32 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +010033 "command": [
34 "testserver",
35 "--certPath=../../keys"
36 ]
37 },
38 "client": {
39 "timeout": 6,
40 "command": [
41 "testclient"
42 ]
43 },
44 "transports": [
45 "buffered",
claudemirof8ca0552016-01-10 23:31:30 -020046 "framed",
47 "http"
Roger Meier41ad4342015-03-24 22:30:40 +010048 ],
49 "sockets": [
50 "ip",
51 "ip-ssl"
52 ],
53 "protocols": [
54 "binary",
55 "compact",
56 "json"
57 ],
58 "workdir": "go/bin"
59 },
60 {
61 "name": "java",
62 "join_args": true,
63 "command": [
64 "ant",
65 "-f",
66 "build.xml",
67 "-Dno-gen-thrift=\"\"",
68 "-Dtestargs"
69 ],
70 "prepare": [
71 "ant",
72 "-f",
73 "build.xml",
74 "compile-test"
75 ],
76 "server": {
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +090077 "delay": 10,
Roger Meier41ad4342015-03-24 22:30:40 +010078 "extra_args": ["run-testserver"]
79 },
80 "client": {
81 "timeout": 13,
82 "extra_args": ["run-testclient"],
83 "transports": [
84 "http"
85 ]
86 },
87 "transports": [
88 "buffered",
89 "framed",
90 "framed:fastframed"
91 ],
92 "sockets": [
93 "ip-ssl",
94 "ip"
95 ],
96 "protocols": [
97 "compact",
98 "binary",
99 "json"
100 ],
101 "workdir": "../lib/java"
102 },
103 {
104 "name": "nodejs",
105 "env": {
106 "NODE_PATH": "../lib"
107 },
108 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100109 "command": [
110 "node",
111 "server.js",
112 "--type=tcp"
113 ]
114 },
115 "client": {
116 "timeout": 2.9,
117 "command": [
118 "node",
119 "client.js",
120 "--type=tcp"
121 ]
122 },
123 "transports": [
124 "buffered",
125 "framed"
126 ],
127 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400128 "ip",
129 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100130 ],
131 "protocols": [
132 "compact",
133 "binary",
134 "json"
135 ],
136 "workdir": "../lib/nodejs/test"
137 },
138 {
139 "name": "hs",
140 "server": {
141 "command": [
142 "TestServer"
143 ]
144 },
145 "client": {
146 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200147 "transports": [
148 "http"
149 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100150 "command": [
151 "TestClient"
152 ]
153 },
154 "transports": [
155 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200156 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100157 ],
158 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200159 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100160 ],
161 "protocols": [
162 "compact",
163 "binary",
164 "json"
165 ],
166 "workdir": "hs"
167 },
168 {
169 "name": "py",
170 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100171 "extra_args": ["TSimpleServer"],
172 "command": [
173 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200174 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100175 "--genpydir=gen-py"
176 ]
177 },
178 "client": {
179 "timeout": 10,
180 "command": [
181 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900182 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100183 "--host=localhost",
184 "--genpydir=gen-py"
185 ]
186 },
187 "transports": [
188 "buffered",
189 "framed"
190 ],
191 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400192 "ip",
193 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100194 ],
195 "protocols": [
196 "compact",
197 "binary",
198 "json",
Nobuaki Sukegawa6525f6a2016-02-11 13:58:39 +0900199 "binary:accel",
200 "compact:accelc"
Roger Meier41ad4342015-03-24 22:30:40 +0100201 ],
202 "workdir": "py"
203 },
204 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900205 "comment": "Using 'python3' executable to test py2 and 3 at once",
206 "name": "py3",
207 "server": {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900208 "extra_args": ["TSimpleServer"],
209 "command": [
210 "python3",
211 "TestServer.py",
212 "--verbose",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900213 "--genpydir=gen-py"
214 ]
215 },
216 "client": {
217 "timeout": 10,
218 "command": [
219 "python3",
220 "TestClient.py",
221 "--host=localhost",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900222 "--genpydir=gen-py"
223 ]
224 },
225 "transports": [
226 "buffered",
227 "framed"
228 ],
229 "sockets": [
230 "ip-ssl",
231 "ip"
232 ],
233 "protocols": [
234 "compact",
235 "binary",
Nobuaki Sukegawa7af189a2016-02-11 16:21:01 +0900236 "json",
237 "binary:accel",
238 "compact:accelc"
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900239 ],
240 "workdir": "py"
241 },
242 {
Roger Meier41ad4342015-03-24 22:30:40 +0100243 "name": "cpp",
244 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100245 "command": [
246 "TestServer"
247 ]
248 },
249 "client": {
250 "timeout": 8,
251 "command": [
252 "TestClient"
253 ]
254 },
255 "transports": [
256 "buffered",
257 "http",
258 "framed"
259 ],
260 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100261 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400262 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100263 "domain"
264 ],
265 "protocols": [
266 "compact",
267 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800268 "json",
269 "header"
Roger Meier41ad4342015-03-24 22:30:40 +0100270 ],
271 "workdir": "cpp"
272 },
273 {
274 "name": "rb",
275 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100276 "command": [
277 "ruby",
278 "../integration/TestServer.rb"
279 ]
280 },
281 "client": {
282 "timeout": 5,
283 "command": [
284 "ruby",
Nobuaki Sukegawae1e09c72016-02-18 01:03:07 +0900285 "../integration/TestClient.rb"
Roger Meier41ad4342015-03-24 22:30:40 +0100286 ]
287 },
288 "transports": [
289 "buffered",
290 "framed"
291 ],
292 "sockets": [
293 "ip"
294 ],
295 "protocols": [
296 "compact",
297 "binary",
298 "json",
299 "binary:accel"
300 ],
301 "workdir": "rb/gen-rb"
302 },
303 {
304 "name": "csharp",
305 "env": {
306 "MONO_PATH": "../.."
307 },
308 "transports": [
309 "buffered",
310 "framed"
311 ],
312 "sockets": [
313 "ip",
314 "ip-ssl"
315 ],
316 "protocols": [
317 "binary",
318 "compact",
319 "json"
320 ],
321 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100322 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900323 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100324 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200325 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100326 ]
327 },
328 "client": {
329 "timeout": 9,
330 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900331 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100332 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200333 "client"
Roger Meier41ad4342015-03-24 22:30:40 +0100334 ]
335 },
336 "workdir": "../lib/csharp/test/ThriftTest"
337 },
338 {
339 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400340 "transports": [
341 "buffered",
342 "framed"
343 ],
344 "sockets": [
345 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400346 "ip-ssl",
347 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400348 ],
349 "protocols": [
350 "binary"
351 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100352 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100353 "command": [
354 "perl",
355 "-Igen-perl/",
356 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400357 "TestClient.pl",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900358 "--cert=../keys/client.pem"
Jim Kingf5f1b352015-06-24 13:47:24 -0400359 ]
360 },
361 "server": {
362 "command": [
363 "perl",
364 "-Igen-perl/",
365 "-I../../lib/perl/lib/",
366 "TestServer.pl",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900367 "--cert=../keys/server.pem",
368 "--key=../keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100369 ]
370 },
371 "workdir": "perl"
372 },
373 {
374 "name": "php",
375 "client": {
376 "timeout": 6,
377 "transports": [
378 "buffered",
379 "framed"
380 ],
381 "sockets": [
382 "ip"
383 ],
384 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400385 "binary",
386 "compact",
387 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100388 ],
389 "command": [
390 "php",
391 "TestClient.php"
392 ]
393 },
394 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500395 },
396 {
397 "name": "dart",
398 "client": {
399 "transports": [
400 "buffered",
401 "framed",
402 "http"
403 ],
404 "sockets": [
405 "ip"
406 ],
407 "protocols": [
408 "binary",
409 "json"
410 ],
411 "command": [
412 "dart",
413 "test_client/bin/main.dart"
414 ]
415 },
416 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900417 },
418 {
419 "name": "erl",
420 "transports": [
421 "buffered",
422 "framed"
423 ],
424 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900425 "ip",
426 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900427 ],
428 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900429 "binary",
430 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900431 ],
432 "client": {
433 "command": [
434 "erl",
435 "+K",
436 "true",
437 "-noshell",
438 "-pa",
439 "../../lib/erl/ebin/",
440 "-pa",
441 "./ebin",
442 "-s",
443 "test_client",
444 "-s",
445 "init",
446 "stop",
447 "-extra"
448 ]
449 },
450 "server": {
451 "command": [
452 "erl",
453 "+K",
454 "true",
455 "-noshell",
456 "-pa",
457 "../../lib/erl/ebin/",
458 "-pa",
459 "./ebin",
460 "-s",
461 "test_thrift_server",
462 "-extra"
463 ]
464 },
465 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900466 },
467 {
468 "name": "js",
469 "transports": [
470 "http"
471 ],
472 "sockets": [
473 "ip"
474 ],
475 "protocols": [
476 "json"
477 ],
478 "client": {
479 "command": [
480 "phantomjs",
481 "test/phantom-client.js"
482 ]
483 },
484 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900485 },
486 {
487 "name": "lua",
488 "TODO": "Add dll to LUA_CPATH",
489 "env": {
490 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
491 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
492 },
493 "client": {
494 "timeout": 5,
495 "transports": [
496 "buffered",
497 "framed"
498 ],
499 "sockets": [
500 "ip"
501 ],
502 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900503 "binary",
Wang Yaofu19a3a272016-02-14 18:15:45 +0800504 "compact",
505 "json"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900506 ],
507 "command": [
508 "lua",
509 "test_basic_client.lua"
510 ]
511 },
512 "workdir": "lua"
Roger Meier41ad4342015-03-24 22:30:40 +0100513 }
514]