blob: e62af2485fc11472e5f1bb7bd70ddaef9081af66 [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": [
James E. King, III37aac3b2017-02-21 14:01:09 -05009 "test_server",
10 "--lt-debug"
Roger Meier41ad4342015-03-24 22:30:40 +010011 ]
12 },
13 "client": {
14 "command": [
James E. King, III37aac3b2017-02-21 14:01:09 -050015 "test_client",
16 "--lt-debug"
James E. King, III36628a22017-02-13 15:25:41 -050017 ],
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +010018 "protocols": [
James E. King, III37aac3b2017-02-21 14:01:09 -050019 "multi",
20 "multic",
21 "multi:binary",
22 "multic:compact"
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +010023 ],
James E. King, III36628a22017-02-13 15:25:41 -050024 "sockets": [
25 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +010026 ]
27 },
28 "transports": [
29 "buffered",
30 "framed"
31 ],
32 "sockets": [
33 "ip"
34 ],
35 "protocols": [
Chandler May6dde90b2016-01-10 06:01:10 +000036 "binary",
37 "compact"
Roger Meier41ad4342015-03-24 22:30:40 +010038 ],
39 "workdir": "c_glib"
40 },
41 {
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090042 "name": "d",
43 "server": {
44 "command": [
45 "thrift_test_server"
46 ]
47 },
48 "client": {
49 "command": [
50 "thrift_test_client"
51 ]
52 },
53 "transports": [
54 "http",
55 "buffered",
56 "framed"
57 ],
58 "sockets": [
59 "ip",
60 "ip-ssl"
61 ],
62 "protocols": [
63 "binary",
64 "compact",
65 "json"
66 ],
67 "workdir": "../lib/d/test"
68 },
69 {
Roger Meier41ad4342015-03-24 22:30:40 +010070 "name": "go",
71 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +010072 "command": [
73 "testserver",
74 "--certPath=../../keys"
75 ]
76 },
77 "client": {
78 "timeout": 6,
79 "command": [
80 "testclient"
81 ]
82 },
83 "transports": [
84 "buffered",
claudemirof8ca0552016-01-10 23:31:30 -020085 "framed",
86 "http"
Roger Meier41ad4342015-03-24 22:30:40 +010087 ],
88 "sockets": [
89 "ip",
90 "ip-ssl"
91 ],
92 "protocols": [
93 "binary",
94 "compact",
95 "json"
96 ],
97 "workdir": "go/bin"
98 },
99 {
100 "name": "java",
101 "join_args": true,
102 "command": [
103 "ant",
104 "-f",
105 "build.xml",
106 "-Dno-gen-thrift=\"\"",
107 "-Dtestargs"
108 ],
109 "prepare": [
110 "ant",
111 "-f",
112 "build.xml",
113 "compile-test"
114 ],
115 "server": {
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900116 "delay": 10,
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100117 "extra_args": ["run-testserver"],
118 "protocols": [
James E. King, III37aac3b2017-02-21 14:01:09 -0500119 "binary:multi",
120 "compact:multic",
121 "json:multij",
122 "multi",
123 "multic",
124 "multij"
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100125 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100126 },
127 "client": {
128 "timeout": 13,
129 "extra_args": ["run-testclient"],
130 "transports": [
131 "http"
132 ]
133 },
134 "transports": [
135 "buffered",
136 "framed",
137 "framed:fastframed"
138 ],
139 "sockets": [
James E. King, III06190872017-02-20 08:52:11 -0500140 "ip",
141 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100142 ],
143 "protocols": [
Roger Meier41ad4342015-03-24 22:30:40 +0100144 "binary",
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100145 "compact",
Roger Meier41ad4342015-03-24 22:30:40 +0100146 "json"
147 ],
148 "workdir": "../lib/java"
149 },
150 {
151 "name": "nodejs",
152 "env": {
153 "NODE_PATH": "../lib"
154 },
155 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100156 "command": [
157 "node",
158 "server.js",
159 "--type=tcp"
160 ]
161 },
162 "client": {
James E. King, IIId7142b72017-09-01 13:00:36 -0700163 "timeout": 6,
Roger Meier41ad4342015-03-24 22:30:40 +0100164 "command": [
165 "node",
166 "client.js",
167 "--type=tcp"
168 ]
169 },
170 "transports": [
171 "buffered",
James E. King, III375bfee2017-10-26 00:09:34 -0400172 "framed",
173 "http"
Roger Meier41ad4342015-03-24 22:30:40 +0100174 ],
175 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400176 "ip",
177 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100178 ],
179 "protocols": [
180 "compact",
181 "binary",
182 "json"
183 ],
184 "workdir": "../lib/nodejs/test"
185 },
186 {
187 "name": "hs",
188 "server": {
189 "command": [
190 "TestServer"
191 ]
192 },
193 "client": {
194 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200195 "transports": [
196 "http"
197 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100198 "command": [
199 "TestClient"
200 ]
201 },
202 "transports": [
203 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200204 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100205 ],
206 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200207 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100208 ],
209 "protocols": [
210 "compact",
211 "binary",
212 "json"
213 ],
214 "workdir": "hs"
215 },
216 {
217 "name": "py",
218 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100219 "extra_args": ["TSimpleServer"],
220 "command": [
221 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200222 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100223 "--genpydir=gen-py"
224 ]
225 },
226 "client": {
227 "timeout": 10,
228 "command": [
229 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900230 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100231 "--host=localhost",
232 "--genpydir=gen-py"
233 ]
234 },
235 "transports": [
236 "buffered",
237 "framed"
238 ],
239 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400240 "ip",
241 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100242 ],
243 "protocols": [
244 "compact",
245 "binary",
246 "json",
Nobuaki Sukegawa6525f6a2016-02-11 13:58:39 +0900247 "binary:accel",
248 "compact:accelc"
Roger Meier41ad4342015-03-24 22:30:40 +0100249 ],
250 "workdir": "py"
251 },
252 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900253 "comment": "Using 'python3' executable to test py2 and 3 at once",
254 "name": "py3",
255 "server": {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900256 "extra_args": ["TSimpleServer"],
257 "command": [
258 "python3",
259 "TestServer.py",
260 "--verbose",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900261 "--genpydir=gen-py"
262 ]
263 },
264 "client": {
265 "timeout": 10,
266 "command": [
267 "python3",
268 "TestClient.py",
269 "--host=localhost",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900270 "--genpydir=gen-py"
271 ]
272 },
273 "transports": [
274 "buffered",
275 "framed"
276 ],
277 "sockets": [
278 "ip-ssl",
279 "ip"
280 ],
281 "protocols": [
282 "compact",
283 "binary",
Nobuaki Sukegawa7af189a2016-02-11 16:21:01 +0900284 "json",
285 "binary:accel",
286 "compact:accelc"
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900287 ],
288 "workdir": "py"
289 },
290 {
Roger Meier41ad4342015-03-24 22:30:40 +0100291 "name": "cpp",
292 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100293 "command": [
294 "TestServer"
295 ]
296 },
297 "client": {
298 "timeout": 8,
299 "command": [
300 "TestClient"
301 ]
302 },
303 "transports": [
304 "buffered",
305 "http",
306 "framed"
307 ],
308 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100309 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400310 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100311 "domain"
312 ],
313 "protocols": [
314 "compact",
315 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800316 "json",
317 "header"
Roger Meier41ad4342015-03-24 22:30:40 +0100318 ],
319 "workdir": "cpp"
320 },
321 {
322 "name": "rb",
323 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100324 "command": [
325 "ruby",
326 "../integration/TestServer.rb"
327 ]
328 },
329 "client": {
330 "timeout": 5,
331 "command": [
332 "ruby",
Nobuaki Sukegawae1e09c72016-02-18 01:03:07 +0900333 "../integration/TestClient.rb"
Roger Meier41ad4342015-03-24 22:30:40 +0100334 ]
335 },
336 "transports": [
337 "buffered",
338 "framed"
339 ],
340 "sockets": [
341 "ip"
342 ],
343 "protocols": [
344 "compact",
345 "binary",
346 "json",
347 "binary:accel"
348 ],
349 "workdir": "rb/gen-rb"
350 },
351 {
352 "name": "csharp",
353 "env": {
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900354 "MONO_PATH": "../../lib/csharp/"
Roger Meier41ad4342015-03-24 22:30:40 +0100355 },
356 "transports": [
357 "buffered",
358 "framed"
359 ],
360 "sockets": [
361 "ip",
362 "ip-ssl"
363 ],
364 "protocols": [
365 "binary",
366 "compact",
367 "json"
368 ],
369 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100370 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900371 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100372 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200373 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100374 ]
375 },
376 "client": {
377 "timeout": 9,
378 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900379 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100380 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200381 "client"
Roger Meier41ad4342015-03-24 22:30:40 +0100382 ]
383 },
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900384 "workdir": "csharp"
Roger Meier41ad4342015-03-24 22:30:40 +0100385 },
386 {
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500387 "name": "netcore",
388 "transports": [
389 "buffered",
390 "framed"
391 ],
392 "sockets": [
393 "ip",
394 "ip-ssl"
395 ],
396 "protocols": [
397 "binary",
398 "compact",
399 "json"
400 ],
James E. King, IIIb6287362017-09-28 11:57:42 +0000401 "server-disabled": {
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500402 "command": [
James E. King, IIIb6287362017-09-28 11:57:42 +0000403 "dotnet",
404 "run",
405 "--no-build",
406 "--no-restore",
407 "--",
408 "server"
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500409 ]
410 },
411 "client": {
412 "timeout": 10,
413 "command": [
James E. King, IIIb6287362017-09-28 11:57:42 +0000414 "dotnet",
415 "run",
416 "--no-build",
417 "--no-restore",
418 "--",
419 "client"
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500420 ]
421 },
422 "workdir": "netcore/ThriftTest"
423 },
424 {
Roger Meier41ad4342015-03-24 22:30:40 +0100425 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400426 "transports": [
427 "buffered",
428 "framed"
429 ],
430 "sockets": [
431 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400432 "ip-ssl",
433 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400434 ],
435 "protocols": [
436 "binary"
437 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100438 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100439 "command": [
440 "perl",
441 "-Igen-perl/",
442 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400443 "TestClient.pl",
James E. King, III377719c2017-02-15 14:33:20 -0500444 "--ca=../keys/CA.pem",
James E. King, III06190872017-02-20 08:52:11 -0500445 "--cert=../keys/client.crt",
James E. King, III377719c2017-02-15 14:33:20 -0500446 "--key=../keys/client.key"
Jim Kingf5f1b352015-06-24 13:47:24 -0400447 ]
448 },
449 "server": {
450 "command": [
451 "perl",
452 "-Igen-perl/",
453 "-I../../lib/perl/lib/",
454 "TestServer.pl",
James E. King, III06190872017-02-20 08:52:11 -0500455 "--cert=../keys/server.crt",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900456 "--key=../keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100457 ]
458 },
459 "workdir": "perl"
460 },
461 {
462 "name": "php",
463 "client": {
464 "timeout": 6,
465 "transports": [
466 "buffered",
467 "framed"
468 ],
469 "sockets": [
470 "ip"
471 ],
472 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400473 "binary",
474 "compact",
475 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100476 ],
477 "command": [
478 "php",
HÃ¥kon Hitland9462edb2017-07-25 16:38:26 +0200479 "-dextension_dir=php_ext_dir",
480 "--php-ini=test_php.ini",
HÃ¥kon Hitlandf39d4c82016-11-17 16:18:03 +0100481 "--no-php-ini",
482 "-ddisplay_errors=stderr",
483 "-dlog_errors=0",
484 "-derror_reporting=E_ALL",
Roger Meier41ad4342015-03-24 22:30:40 +0100485 "TestClient.php"
486 ]
487 },
488 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500489 },
490 {
491 "name": "dart",
492 "client": {
493 "transports": [
494 "buffered",
495 "framed",
496 "http"
497 ],
498 "sockets": [
499 "ip"
500 ],
501 "protocols": [
502 "binary",
Mark Ericksonb5f126f2016-02-29 15:27:59 -0600503 "compact",
Mark Erickson932c4702015-08-29 10:46:51 -0500504 "json"
505 ],
506 "command": [
507 "dart",
508 "test_client/bin/main.dart"
509 ]
510 },
511 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900512 },
513 {
514 "name": "erl",
515 "transports": [
516 "buffered",
517 "framed"
518 ],
519 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900520 "ip",
521 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900522 ],
523 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900524 "binary",
525 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900526 ],
527 "client": {
528 "command": [
529 "erl",
530 "+K",
531 "true",
532 "-noshell",
533 "-pa",
534 "../../lib/erl/ebin/",
535 "-pa",
536 "./ebin",
537 "-s",
538 "test_client",
539 "-s",
540 "init",
541 "stop",
542 "-extra"
543 ]
544 },
545 "server": {
546 "command": [
547 "erl",
548 "+K",
549 "true",
550 "-noshell",
551 "-pa",
552 "../../lib/erl/ebin/",
553 "-pa",
554 "./ebin",
555 "-s",
556 "test_thrift_server",
557 "-extra"
558 ]
559 },
560 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900561 },
562 {
563 "name": "js",
564 "transports": [
565 "http"
566 ],
567 "sockets": [
568 "ip"
569 ],
570 "protocols": [
571 "json"
572 ],
573 "client": {
574 "command": [
575 "phantomjs",
576 "test/phantom-client.js"
577 ]
578 },
579 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900580 },
581 {
582 "name": "lua",
583 "TODO": "Add dll to LUA_CPATH",
584 "env": {
585 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
586 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
587 },
588 "client": {
589 "timeout": 5,
590 "transports": [
591 "buffered",
Wang Yaofue432c6b2016-03-09 16:39:03 +0800592 "framed",
593 "http"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900594 ],
595 "sockets": [
596 "ip"
597 ],
598 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900599 "binary",
Wang Yaofu19a3a272016-02-14 18:15:45 +0800600 "compact",
601 "json"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900602 ],
603 "command": [
604 "lua",
605 "test_basic_client.lua"
606 ]
607 },
608 "workdir": "lua"
Allen George8b96bfb2016-11-02 08:01:08 -0400609 },
610 {
611 "name": "rs",
Allen Georgebc1344d2017-04-28 10:22:03 -0400612 "env": {
613 "RUST_BACKTRACE": "1",
614 "RUST_LOG": "info"
615 },
Allen George8b96bfb2016-11-02 08:01:08 -0400616 "server": {
617 "command": [
618 "test_server"
619 ]
620 },
621 "client": {
622 "timeout": 6,
623 "command": [
624 "test_client"
625 ]
626 },
Allen Georgebc1344d2017-04-28 10:22:03 -0400627 "sockets": [
628 "ip"
629 ],
Allen George8b96bfb2016-11-02 08:01:08 -0400630 "transports": [
631 "buffered",
632 "framed"
633 ],
Allen George8b96bfb2016-11-02 08:01:08 -0400634 "protocols": [
635 "binary",
Allen Georgebc1344d2017-04-28 10:22:03 -0400636 "compact",
637 "multi",
638 "multic"
Allen George8b96bfb2016-11-02 08:01:08 -0400639 ],
640 "workdir": "rs/bin"
Roger Meier41ad4342015-03-24 22:30:40 +0100641 }
642]