blob: c9f357a600b9773026ae6c70022d32fac2b3b45e [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 {
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090031 "name": "d",
32 "server": {
33 "command": [
34 "thrift_test_server"
35 ]
36 },
37 "client": {
38 "command": [
39 "thrift_test_client"
40 ]
41 },
42 "transports": [
43 "http",
44 "buffered",
45 "framed"
46 ],
47 "sockets": [
48 "ip",
49 "ip-ssl"
50 ],
51 "protocols": [
52 "binary",
53 "compact",
54 "json"
55 ],
56 "workdir": "../lib/d/test"
57 },
58 {
Roger Meier41ad4342015-03-24 22:30:40 +010059 "name": "go",
60 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +010061 "command": [
62 "testserver",
63 "--certPath=../../keys"
64 ]
65 },
66 "client": {
67 "timeout": 6,
68 "command": [
69 "testclient"
70 ]
71 },
72 "transports": [
73 "buffered",
claudemirof8ca0552016-01-10 23:31:30 -020074 "framed",
75 "http"
Roger Meier41ad4342015-03-24 22:30:40 +010076 ],
77 "sockets": [
78 "ip",
79 "ip-ssl"
80 ],
81 "protocols": [
82 "binary",
83 "compact",
84 "json"
85 ],
86 "workdir": "go/bin"
87 },
88 {
89 "name": "java",
90 "join_args": true,
91 "command": [
92 "ant",
93 "-f",
94 "build.xml",
95 "-Dno-gen-thrift=\"\"",
96 "-Dtestargs"
97 ],
98 "prepare": [
99 "ant",
100 "-f",
101 "build.xml",
102 "compile-test"
103 ],
104 "server": {
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900105 "delay": 10,
Roger Meier41ad4342015-03-24 22:30:40 +0100106 "extra_args": ["run-testserver"]
107 },
108 "client": {
109 "timeout": 13,
110 "extra_args": ["run-testclient"],
111 "transports": [
112 "http"
113 ]
114 },
115 "transports": [
116 "buffered",
117 "framed",
118 "framed:fastframed"
119 ],
120 "sockets": [
121 "ip-ssl",
122 "ip"
123 ],
124 "protocols": [
125 "compact",
126 "binary",
127 "json"
128 ],
129 "workdir": "../lib/java"
130 },
131 {
132 "name": "nodejs",
133 "env": {
134 "NODE_PATH": "../lib"
135 },
136 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100137 "command": [
138 "node",
139 "server.js",
140 "--type=tcp"
141 ]
142 },
143 "client": {
144 "timeout": 2.9,
145 "command": [
146 "node",
147 "client.js",
148 "--type=tcp"
149 ]
150 },
151 "transports": [
152 "buffered",
153 "framed"
154 ],
155 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400156 "ip",
157 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100158 ],
159 "protocols": [
160 "compact",
161 "binary",
162 "json"
163 ],
164 "workdir": "../lib/nodejs/test"
165 },
166 {
167 "name": "hs",
168 "server": {
169 "command": [
170 "TestServer"
171 ]
172 },
173 "client": {
174 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200175 "transports": [
176 "http"
177 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100178 "command": [
179 "TestClient"
180 ]
181 },
182 "transports": [
183 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200184 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100185 ],
186 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200187 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100188 ],
189 "protocols": [
190 "compact",
191 "binary",
192 "json"
193 ],
194 "workdir": "hs"
195 },
196 {
197 "name": "py",
198 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100199 "extra_args": ["TSimpleServer"],
200 "command": [
201 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200202 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100203 "--genpydir=gen-py"
204 ]
205 },
206 "client": {
207 "timeout": 10,
208 "command": [
209 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900210 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100211 "--host=localhost",
212 "--genpydir=gen-py"
213 ]
214 },
215 "transports": [
216 "buffered",
217 "framed"
218 ],
219 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400220 "ip",
221 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100222 ],
223 "protocols": [
224 "compact",
225 "binary",
226 "json",
Nobuaki Sukegawa6525f6a2016-02-11 13:58:39 +0900227 "binary:accel",
228 "compact:accelc"
Roger Meier41ad4342015-03-24 22:30:40 +0100229 ],
230 "workdir": "py"
231 },
232 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900233 "comment": "Using 'python3' executable to test py2 and 3 at once",
234 "name": "py3",
235 "server": {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900236 "extra_args": ["TSimpleServer"],
237 "command": [
238 "python3",
239 "TestServer.py",
240 "--verbose",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900241 "--genpydir=gen-py"
242 ]
243 },
244 "client": {
245 "timeout": 10,
246 "command": [
247 "python3",
248 "TestClient.py",
249 "--host=localhost",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900250 "--genpydir=gen-py"
251 ]
252 },
253 "transports": [
254 "buffered",
255 "framed"
256 ],
257 "sockets": [
258 "ip-ssl",
259 "ip"
260 ],
261 "protocols": [
262 "compact",
263 "binary",
Nobuaki Sukegawa7af189a2016-02-11 16:21:01 +0900264 "json",
265 "binary:accel",
266 "compact:accelc"
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900267 ],
268 "workdir": "py"
269 },
270 {
Roger Meier41ad4342015-03-24 22:30:40 +0100271 "name": "cpp",
272 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100273 "command": [
274 "TestServer"
275 ]
276 },
277 "client": {
278 "timeout": 8,
279 "command": [
280 "TestClient"
281 ]
282 },
283 "transports": [
284 "buffered",
285 "http",
286 "framed"
287 ],
288 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100289 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400290 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100291 "domain"
292 ],
293 "protocols": [
294 "compact",
295 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800296 "json",
297 "header"
Roger Meier41ad4342015-03-24 22:30:40 +0100298 ],
299 "workdir": "cpp"
300 },
301 {
302 "name": "rb",
303 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100304 "command": [
305 "ruby",
306 "../integration/TestServer.rb"
307 ]
308 },
309 "client": {
310 "timeout": 5,
311 "command": [
312 "ruby",
Nobuaki Sukegawae1e09c72016-02-18 01:03:07 +0900313 "../integration/TestClient.rb"
Roger Meier41ad4342015-03-24 22:30:40 +0100314 ]
315 },
316 "transports": [
317 "buffered",
318 "framed"
319 ],
320 "sockets": [
321 "ip"
322 ],
323 "protocols": [
324 "compact",
325 "binary",
326 "json",
327 "binary:accel"
328 ],
329 "workdir": "rb/gen-rb"
330 },
331 {
332 "name": "csharp",
333 "env": {
334 "MONO_PATH": "../.."
335 },
336 "transports": [
337 "buffered",
338 "framed"
339 ],
340 "sockets": [
341 "ip",
342 "ip-ssl"
343 ],
344 "protocols": [
345 "binary",
346 "compact",
347 "json"
348 ],
349 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100350 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900351 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100352 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200353 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100354 ]
355 },
356 "client": {
357 "timeout": 9,
358 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900359 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100360 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200361 "client"
Roger Meier41ad4342015-03-24 22:30:40 +0100362 ]
363 },
364 "workdir": "../lib/csharp/test/ThriftTest"
365 },
366 {
367 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400368 "transports": [
369 "buffered",
370 "framed"
371 ],
372 "sockets": [
373 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400374 "ip-ssl",
375 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400376 ],
377 "protocols": [
378 "binary"
379 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100380 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100381 "command": [
382 "perl",
383 "-Igen-perl/",
384 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400385 "TestClient.pl",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900386 "--cert=../keys/client.pem"
Jim Kingf5f1b352015-06-24 13:47:24 -0400387 ]
388 },
389 "server": {
390 "command": [
391 "perl",
392 "-Igen-perl/",
393 "-I../../lib/perl/lib/",
394 "TestServer.pl",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900395 "--cert=../keys/server.pem",
396 "--key=../keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100397 ]
398 },
399 "workdir": "perl"
400 },
401 {
402 "name": "php",
403 "client": {
404 "timeout": 6,
405 "transports": [
406 "buffered",
407 "framed"
408 ],
409 "sockets": [
410 "ip"
411 ],
412 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400413 "binary",
414 "compact",
415 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100416 ],
417 "command": [
418 "php",
419 "TestClient.php"
420 ]
421 },
422 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500423 },
424 {
425 "name": "dart",
426 "client": {
427 "transports": [
428 "buffered",
429 "framed",
430 "http"
431 ],
432 "sockets": [
433 "ip"
434 ],
435 "protocols": [
436 "binary",
Mark Ericksonb5f126f2016-02-29 15:27:59 -0600437 "compact",
Mark Erickson932c4702015-08-29 10:46:51 -0500438 "json"
439 ],
440 "command": [
441 "dart",
442 "test_client/bin/main.dart"
443 ]
444 },
445 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900446 },
447 {
448 "name": "erl",
449 "transports": [
450 "buffered",
451 "framed"
452 ],
453 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900454 "ip",
455 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900456 ],
457 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900458 "binary",
459 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900460 ],
461 "client": {
462 "command": [
463 "erl",
464 "+K",
465 "true",
466 "-noshell",
467 "-pa",
468 "../../lib/erl/ebin/",
469 "-pa",
470 "./ebin",
471 "-s",
472 "test_client",
473 "-s",
474 "init",
475 "stop",
476 "-extra"
477 ]
478 },
479 "server": {
480 "command": [
481 "erl",
482 "+K",
483 "true",
484 "-noshell",
485 "-pa",
486 "../../lib/erl/ebin/",
487 "-pa",
488 "./ebin",
489 "-s",
490 "test_thrift_server",
491 "-extra"
492 ]
493 },
494 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900495 },
496 {
497 "name": "js",
498 "transports": [
499 "http"
500 ],
501 "sockets": [
502 "ip"
503 ],
504 "protocols": [
505 "json"
506 ],
507 "client": {
508 "command": [
509 "phantomjs",
510 "test/phantom-client.js"
511 ]
512 },
513 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900514 },
515 {
516 "name": "lua",
517 "TODO": "Add dll to LUA_CPATH",
518 "env": {
519 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
520 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
521 },
522 "client": {
523 "timeout": 5,
524 "transports": [
525 "buffered",
526 "framed"
527 ],
528 "sockets": [
529 "ip"
530 ],
531 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900532 "binary",
Wang Yaofu19a3a272016-02-14 18:15:45 +0800533 "compact",
534 "json"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900535 ],
536 "command": [
537 "lua",
538 "test_basic_client.lua"
539 ]
540 },
541 "workdir": "lua"
Roger Meier41ad4342015-03-24 22:30:40 +0100542 }
543]