blob: 2ab2e1da5b60c1197039817420cf1effcd63adee [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"
James E. King, III36628a22017-02-13 15:25:41 -050015 ],
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +010016 "protocols": [
17 "multiplexed"
18 ],
James E. King, III36628a22017-02-13 15:25:41 -050019 "sockets": [
20 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +010021 ]
22 },
23 "transports": [
24 "buffered",
25 "framed"
26 ],
27 "sockets": [
28 "ip"
29 ],
30 "protocols": [
Chandler May6dde90b2016-01-10 06:01:10 +000031 "binary",
32 "compact"
Roger Meier41ad4342015-03-24 22:30:40 +010033 ],
34 "workdir": "c_glib"
35 },
36 {
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090037 "name": "d",
38 "server": {
39 "command": [
40 "thrift_test_server"
41 ]
42 },
43 "client": {
44 "command": [
45 "thrift_test_client"
46 ]
47 },
48 "transports": [
49 "http",
50 "buffered",
51 "framed"
52 ],
53 "sockets": [
54 "ip",
55 "ip-ssl"
56 ],
57 "protocols": [
58 "binary",
59 "compact",
60 "json"
61 ],
62 "workdir": "../lib/d/test"
63 },
64 {
Roger Meier41ad4342015-03-24 22:30:40 +010065 "name": "go",
66 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +010067 "command": [
68 "testserver",
69 "--certPath=../../keys"
70 ]
71 },
72 "client": {
73 "timeout": 6,
74 "command": [
75 "testclient"
76 ]
77 },
78 "transports": [
79 "buffered",
claudemirof8ca0552016-01-10 23:31:30 -020080 "framed",
81 "http"
Roger Meier41ad4342015-03-24 22:30:40 +010082 ],
83 "sockets": [
84 "ip",
85 "ip-ssl"
86 ],
87 "protocols": [
88 "binary",
89 "compact",
90 "json"
91 ],
92 "workdir": "go/bin"
93 },
94 {
95 "name": "java",
96 "join_args": true,
97 "command": [
98 "ant",
99 "-f",
100 "build.xml",
101 "-Dno-gen-thrift=\"\"",
102 "-Dtestargs"
103 ],
104 "prepare": [
105 "ant",
106 "-f",
107 "build.xml",
108 "compile-test"
109 ],
110 "server": {
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900111 "delay": 10,
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100112 "extra_args": ["run-testserver"],
113 "protocols": [
114 "multiplexed"
115 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100116 },
117 "client": {
118 "timeout": 13,
119 "extra_args": ["run-testclient"],
120 "transports": [
121 "http"
122 ]
123 },
124 "transports": [
125 "buffered",
126 "framed",
127 "framed:fastframed"
128 ],
129 "sockets": [
James E. King, III06190872017-02-20 08:52:11 -0500130 "ip",
131 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100132 ],
133 "protocols": [
Roger Meier41ad4342015-03-24 22:30:40 +0100134 "binary",
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100135 "compact",
Roger Meier41ad4342015-03-24 22:30:40 +0100136 "json"
137 ],
138 "workdir": "../lib/java"
139 },
140 {
141 "name": "nodejs",
142 "env": {
143 "NODE_PATH": "../lib"
144 },
145 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100146 "command": [
147 "node",
148 "server.js",
149 "--type=tcp"
150 ]
151 },
152 "client": {
153 "timeout": 2.9,
154 "command": [
155 "node",
156 "client.js",
157 "--type=tcp"
158 ]
159 },
160 "transports": [
161 "buffered",
162 "framed"
163 ],
164 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400165 "ip",
166 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100167 ],
168 "protocols": [
169 "compact",
170 "binary",
171 "json"
172 ],
173 "workdir": "../lib/nodejs/test"
174 },
175 {
176 "name": "hs",
177 "server": {
178 "command": [
179 "TestServer"
180 ]
181 },
182 "client": {
183 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200184 "transports": [
185 "http"
186 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100187 "command": [
188 "TestClient"
189 ]
190 },
191 "transports": [
192 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200193 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100194 ],
195 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200196 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100197 ],
198 "protocols": [
199 "compact",
200 "binary",
201 "json"
202 ],
203 "workdir": "hs"
204 },
205 {
206 "name": "py",
207 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100208 "extra_args": ["TSimpleServer"],
209 "command": [
210 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200211 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100212 "--genpydir=gen-py"
213 ]
214 },
215 "client": {
216 "timeout": 10,
217 "command": [
218 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900219 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100220 "--host=localhost",
221 "--genpydir=gen-py"
222 ]
223 },
224 "transports": [
225 "buffered",
226 "framed"
227 ],
228 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400229 "ip",
230 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100231 ],
232 "protocols": [
233 "compact",
234 "binary",
235 "json",
Nobuaki Sukegawa6525f6a2016-02-11 13:58:39 +0900236 "binary:accel",
237 "compact:accelc"
Roger Meier41ad4342015-03-24 22:30:40 +0100238 ],
239 "workdir": "py"
240 },
241 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900242 "comment": "Using 'python3' executable to test py2 and 3 at once",
243 "name": "py3",
244 "server": {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900245 "extra_args": ["TSimpleServer"],
246 "command": [
247 "python3",
248 "TestServer.py",
249 "--verbose",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900250 "--genpydir=gen-py"
251 ]
252 },
253 "client": {
254 "timeout": 10,
255 "command": [
256 "python3",
257 "TestClient.py",
258 "--host=localhost",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900259 "--genpydir=gen-py"
260 ]
261 },
262 "transports": [
263 "buffered",
264 "framed"
265 ],
266 "sockets": [
267 "ip-ssl",
268 "ip"
269 ],
270 "protocols": [
271 "compact",
272 "binary",
Nobuaki Sukegawa7af189a2016-02-11 16:21:01 +0900273 "json",
274 "binary:accel",
275 "compact:accelc"
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900276 ],
277 "workdir": "py"
278 },
279 {
Roger Meier41ad4342015-03-24 22:30:40 +0100280 "name": "cpp",
281 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100282 "command": [
283 "TestServer"
284 ]
285 },
286 "client": {
287 "timeout": 8,
288 "command": [
289 "TestClient"
290 ]
291 },
292 "transports": [
293 "buffered",
294 "http",
295 "framed"
296 ],
297 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100298 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400299 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100300 "domain"
301 ],
302 "protocols": [
303 "compact",
304 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800305 "json",
306 "header"
Roger Meier41ad4342015-03-24 22:30:40 +0100307 ],
308 "workdir": "cpp"
309 },
310 {
311 "name": "rb",
312 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100313 "command": [
314 "ruby",
315 "../integration/TestServer.rb"
316 ]
317 },
318 "client": {
319 "timeout": 5,
320 "command": [
321 "ruby",
Nobuaki Sukegawae1e09c72016-02-18 01:03:07 +0900322 "../integration/TestClient.rb"
Roger Meier41ad4342015-03-24 22:30:40 +0100323 ]
324 },
325 "transports": [
326 "buffered",
327 "framed"
328 ],
329 "sockets": [
330 "ip"
331 ],
332 "protocols": [
333 "compact",
334 "binary",
335 "json",
336 "binary:accel"
337 ],
338 "workdir": "rb/gen-rb"
339 },
340 {
341 "name": "csharp",
342 "env": {
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900343 "MONO_PATH": "../../lib/csharp/"
Roger Meier41ad4342015-03-24 22:30:40 +0100344 },
345 "transports": [
346 "buffered",
347 "framed"
348 ],
349 "sockets": [
350 "ip",
351 "ip-ssl"
352 ],
353 "protocols": [
354 "binary",
355 "compact",
356 "json"
357 ],
358 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100359 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900360 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100361 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200362 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100363 ]
364 },
365 "client": {
366 "timeout": 9,
367 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900368 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100369 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200370 "client"
Roger Meier41ad4342015-03-24 22:30:40 +0100371 ]
372 },
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900373 "workdir": "csharp"
Roger Meier41ad4342015-03-24 22:30:40 +0100374 },
375 {
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500376 "name": "netcore",
377 "transports": [
378 "buffered",
379 "framed"
380 ],
381 "sockets": [
382 "ip",
383 "ip-ssl"
384 ],
385 "protocols": [
386 "binary",
387 "compact",
388 "json"
389 ],
390 "server": {
391 "command": [
392 "dotnet restore && dotnet run server"
393 ]
394 },
395 "client": {
396 "timeout": 10,
397 "command": [
398 "dotnet run client"
399 ]
400 },
401 "workdir": "netcore/ThriftTest"
402 },
403 {
Roger Meier41ad4342015-03-24 22:30:40 +0100404 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400405 "transports": [
406 "buffered",
407 "framed"
408 ],
409 "sockets": [
410 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400411 "ip-ssl",
412 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400413 ],
414 "protocols": [
415 "binary"
416 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100417 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100418 "command": [
419 "perl",
420 "-Igen-perl/",
421 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400422 "TestClient.pl",
James E. King, III377719c2017-02-15 14:33:20 -0500423 "--ca=../keys/CA.pem",
James E. King, III06190872017-02-20 08:52:11 -0500424 "--cert=../keys/client.crt",
James E. King, III377719c2017-02-15 14:33:20 -0500425 "--key=../keys/client.key"
Jim Kingf5f1b352015-06-24 13:47:24 -0400426 ]
427 },
428 "server": {
429 "command": [
430 "perl",
431 "-Igen-perl/",
432 "-I../../lib/perl/lib/",
433 "TestServer.pl",
James E. King, III06190872017-02-20 08:52:11 -0500434 "--cert=../keys/server.crt",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900435 "--key=../keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100436 ]
437 },
438 "workdir": "perl"
439 },
440 {
441 "name": "php",
442 "client": {
443 "timeout": 6,
444 "transports": [
445 "buffered",
446 "framed"
447 ],
448 "sockets": [
449 "ip"
450 ],
451 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400452 "binary",
453 "compact",
454 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100455 ],
456 "command": [
457 "php",
HÃ¥kon Hitlandf39d4c82016-11-17 16:18:03 +0100458 "-dextension_dir=../../lib/php/src/ext/thrift_protocol/modules/",
459 "--php-ini=../../lib/php/thrift_protocol.ini",
460 "--no-php-ini",
461 "-ddisplay_errors=stderr",
462 "-dlog_errors=0",
463 "-derror_reporting=E_ALL",
Roger Meier41ad4342015-03-24 22:30:40 +0100464 "TestClient.php"
465 ]
466 },
467 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500468 },
469 {
470 "name": "dart",
471 "client": {
472 "transports": [
473 "buffered",
474 "framed",
475 "http"
476 ],
477 "sockets": [
478 "ip"
479 ],
480 "protocols": [
481 "binary",
Mark Ericksonb5f126f2016-02-29 15:27:59 -0600482 "compact",
Mark Erickson932c4702015-08-29 10:46:51 -0500483 "json"
484 ],
485 "command": [
486 "dart",
487 "test_client/bin/main.dart"
488 ]
489 },
490 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900491 },
492 {
493 "name": "erl",
494 "transports": [
495 "buffered",
496 "framed"
497 ],
498 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900499 "ip",
500 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900501 ],
502 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900503 "binary",
504 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900505 ],
506 "client": {
507 "command": [
508 "erl",
509 "+K",
510 "true",
511 "-noshell",
512 "-pa",
513 "../../lib/erl/ebin/",
514 "-pa",
515 "./ebin",
516 "-s",
517 "test_client",
518 "-s",
519 "init",
520 "stop",
521 "-extra"
522 ]
523 },
524 "server": {
525 "command": [
526 "erl",
527 "+K",
528 "true",
529 "-noshell",
530 "-pa",
531 "../../lib/erl/ebin/",
532 "-pa",
533 "./ebin",
534 "-s",
535 "test_thrift_server",
536 "-extra"
537 ]
538 },
539 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900540 },
541 {
542 "name": "js",
543 "transports": [
544 "http"
545 ],
546 "sockets": [
547 "ip"
548 ],
549 "protocols": [
550 "json"
551 ],
552 "client": {
553 "command": [
554 "phantomjs",
555 "test/phantom-client.js"
556 ]
557 },
558 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900559 },
560 {
561 "name": "lua",
562 "TODO": "Add dll to LUA_CPATH",
563 "env": {
564 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
565 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
566 },
567 "client": {
568 "timeout": 5,
569 "transports": [
570 "buffered",
Wang Yaofue432c6b2016-03-09 16:39:03 +0800571 "framed",
572 "http"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900573 ],
574 "sockets": [
575 "ip"
576 ],
577 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900578 "binary",
Wang Yaofu19a3a272016-02-14 18:15:45 +0800579 "compact",
580 "json"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900581 ],
582 "command": [
583 "lua",
584 "test_basic_client.lua"
585 ]
586 },
587 "workdir": "lua"
Allen George8b96bfb2016-11-02 08:01:08 -0400588 },
589 {
590 "name": "rs",
591 "server": {
592 "command": [
593 "test_server"
594 ]
595 },
596 "client": {
597 "timeout": 6,
598 "command": [
599 "test_client"
600 ]
601 },
602 "transports": [
603 "buffered",
604 "framed"
605 ],
606 "sockets": [
607 "ip"
608 ],
609 "protocols": [
610 "binary",
611 "compact"
612 ],
613 "workdir": "rs/bin"
Roger Meier41ad4342015-03-24 22:30:40 +0100614 }
615]