blob: b8b85be73a885ec516bdb78029f0254465a6bb3b [file] [log] [blame]
Alex Volanis7004a612018-01-24 10:30:13 -05001[
2 {
3 "name": "c_glib",
4 "platforms": [
5 "Linux"
6 ],
7 "server": {
8 "command": [
9 "test_server",
10 "--lt-debug"
11 ],
12 "protocols": [
13 "binary:multi",
14 "compact:multic"
15 ]
Roger Meier41ad4342015-03-24 22:30:40 +010016 },
Alex Volanis7004a612018-01-24 10:30:13 -050017 "client": {
18 "command": [
19 "test_client",
20 "--lt-debug"
21 ],
22 "protocols": [
23 "multi:binary",
24 "multic:compact"
25 ],
26 "sockets": [
27 "ip-ssl"
28 ]
Roger Meier41ad4342015-03-24 22:30:40 +010029 },
Alex Volanis7004a612018-01-24 10:30:13 -050030 "transports": [
31 "buffered",
32 "framed"
33 ],
34 "sockets": [
Kevin Wojniak6c847d22019-07-01 17:11:56 -070035 "ip",
36 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -050037 ],
38 "protocols": [
39 "binary",
40 "compact",
41 "multi",
42 "multic"
43 ],
44 "workdir": "c_glib"
45 },
46 {
Tomek Kurcze93a9012017-09-19 09:16:43 +020047 "name": "cl",
48 "server": {
49 "command": ["TestServer"],
50 "workdir": "cl",
51 "protocols": ["binary", "multi"],
52 "transports": ["buffered", "framed"],
53 "sockets": ["ip"]
54 },
55 "client": {
56 "command": ["TestClient"],
57 "workdir": "cl",
58 "protocols": ["binary", "multi"],
59 "transports": ["buffered", "framed"],
60 "sockets": ["ip"]
61 }
62 },
63 {
Alex Volanis7004a612018-01-24 10:30:13 -050064 "name": "d",
65 "server": {
66 "command": [
James E. King III9bea32f2018-03-16 16:07:42 -040067 "thrift_test_server",
James E. King III6f8c99e2018-03-24 16:32:02 -040068 "--trace"
Alex Volanis7004a612018-01-24 10:30:13 -050069 ]
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090070 },
Alex Volanis7004a612018-01-24 10:30:13 -050071 "client": {
72 "command": [
73 "thrift_test_client"
74 ]
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090075 },
Alex Volanis7004a612018-01-24 10:30:13 -050076 "transports": [
77 "http",
78 "buffered",
79 "framed"
80 ],
81 "sockets": [
82 "ip",
83 "ip-ssl"
84 ],
85 "protocols": [
86 "binary",
87 "compact",
88 "json"
89 ],
90 "workdir": "../lib/d/test"
91 },
92 {
93 "name": "go",
94 "server": {
95 "command": [
96 "testserver",
97 "--certPath=../../keys"
98 ]
Roger Meier41ad4342015-03-24 22:30:40 +010099 },
Alex Volanis7004a612018-01-24 10:30:13 -0500100 "client": {
101 "timeout": 6,
102 "command": [
103 "testclient"
104 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100105 },
Alex Volanis7004a612018-01-24 10:30:13 -0500106 "transports": [
107 "buffered",
108 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000109 "http",
110 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500111 ],
112 "sockets": [
113 "ip",
114 "ip-ssl"
115 ],
116 "protocols": [
117 "binary",
118 "compact",
Yuxuan 'fishy' Wang4d46c112019-06-07 20:47:18 +0800119 "json",
120 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500121 ],
122 "workdir": "go/bin"
123 },
124 {
125 "name": "java",
126 "join_args": false,
127 "server": {
128 "delay": 15,
129 "command": [
130 "build/runserver"
131 ],
132 "protocols": [
133 "binary:multi",
134 "compact:multic",
135 "json:multij"
136 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100137 },
Alex Volanis7004a612018-01-24 10:30:13 -0500138 "client": {
139 "timeout": 13,
140 "command": [
141 "build/runclient"
142 ],
143 "transports": [
144 "http"
145 ],
146 "protocols": [
147 "multi:binary",
148 "multic:compact",
149 "multij:json"
150 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100151 },
Alex Volanis7004a612018-01-24 10:30:13 -0500152 "transports": [
153 "buffered",
154 "framed",
155 "framed:fastframed"
156 ],
157 "sockets": [
158 "ip",
159 "ip-ssl"
160 ],
161 "protocols": [
162 "binary",
163 "compact",
164 "json",
165 "multi",
166 "multic",
167 "multij"
168 ],
169 "workdir": "../lib/java"
170 },
171 {
172 "name": "nodejs",
173 "env": {
174 "NODE_PATH": "../lib"
Roger Meier41ad4342015-03-24 22:30:40 +0100175 },
Alex Volanis7004a612018-01-24 10:30:13 -0500176 "server": {
177 "command": [
178 "node",
179 "server.js",
180 "--type=tcp"
181 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100182 },
Alex Volanis7004a612018-01-24 10:30:13 -0500183 "client": {
184 "timeout": 6,
185 "command": [
186 "node",
187 "client.js",
188 "--type=tcp"
189 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100190 },
Alex Volanis7004a612018-01-24 10:30:13 -0500191 "transports": [
192 "buffered",
193 "framed",
194 "http"
195 ],
196 "sockets": [
197 "ip",
Daniel Shihe41de0f2018-03-21 08:28:38 +0800198 "ip-ssl",
199 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500200 ],
201 "protocols": [
202 "compact",
203 "binary",
David Maiddd22242019-02-22 03:37:49 -0800204 "json",
205 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500206 ],
207 "workdir": "../lib/nodejs/test"
208 },
209 {
210 "name": "hs",
211 "server": {
212 "command": [
213 "TestServer"
214 ]
215 },
216 "client": {
217 "timeout": 6,
218 "transports": [
219 "http"
220 ],
221 "command": [
222 "TestClient"
223 ]
224 },
225 "transports": [
226 "buffered",
227 "framed"
228 ],
229 "sockets": [
230 "ip"
231 ],
232 "protocols": [
233 "header",
234 "compact",
235 "binary",
236 "json"
237 ],
238 "workdir": "hs"
239 },
240 {
241 "name": "py",
242 "server": {
243 "extra_args": ["TSimpleServer"],
244 "command": [
245 "TestServer.py",
246 "--verbose",
247 "--genpydir=gen-py"
248 ]
249 },
250 "client": {
251 "timeout": 10,
252 "command": [
253 "TestClient.py",
254 "--verbose",
255 "--host=localhost",
256 "--genpydir=gen-py"
257 ]
258 },
259 "transports": [
260 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400261 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000262 "http",
263 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500264 ],
265 "sockets": [
266 "ip",
Kengo Sekif1c53412019-12-13 08:09:36 +0900267 "ip-ssl",
268 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500269 ],
270 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500271 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500272 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500273 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700274 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500275 "header",
276 "json",
277 "multi",
278 "multi:multia",
279 "multia",
280 "multiac",
281 "multic",
282 "multic:multiac",
283 "multih",
284 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500285 ],
286 "workdir": "py"
287 },
288 {
289 "comment": "Using 'python3' executable to test py2 and 3 at once",
290 "name": "py3",
291 "server": {
292 "extra_args": ["TSimpleServer"],
293 "command": [
294 "python3",
295 "TestServer.py",
296 "--verbose",
297 "--genpydir=gen-py"
298 ]
299 },
300 "client": {
301 "timeout": 10,
302 "command": [
303 "python3",
304 "TestClient.py",
305 "--host=localhost",
306 "--genpydir=gen-py"
307 ]
308 },
309 "transports": [
310 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400311 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000312 "http",
313 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500314 ],
315 "sockets": [
James E. King III6f8c99e2018-03-24 16:32:02 -0400316 "ip",
Kengo Sekif1c53412019-12-13 08:09:36 +0900317 "ip-ssl",
318 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500319 ],
320 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500321 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500322 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500323 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700324 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500325 "header",
326 "json",
327 "multi",
328 "multi:multia",
329 "multia",
330 "multiac",
331 "multic",
332 "multic:multiac",
333 "multih",
334 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500335 ],
336 "workdir": "py"
337 },
338 {
339 "name": "cpp",
340 "server": {
341 "command": [
342 "TestServer"
343 ],
344 "protocols": [
345 "binary:multi",
346 "compact:multic",
347 "header:multih",
348 "json:multij"
349 ]
350 },
351 "client": {
352 "timeout": 8,
353 "command": [
354 "TestClient"
355 ],
356 "protocols": [
357 "multi:binary",
358 "multic:compact",
359 "multih:header",
360 "multij:json"
361 ]
362 },
363 "transports": [
364 "buffered",
365 "http",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000366 "framed",
367 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500368 ],
369 "sockets": [
370 "ip",
371 "ip-ssl",
372 "domain"
373 ],
374 "protocols": [
375 "compact",
376 "binary",
377 "json",
378 "header",
379 "multi",
380 "multic",
381 "multih",
382 "multij"
383 ],
384 "workdir": "cpp"
385 },
386 {
387 "name": "rb",
388 "server": {
389 "command": [
390 "ruby",
391 "../integration/TestServer.rb"
392 ]
393 },
394 "client": {
James E. King IIIef9405f2019-02-01 16:14:19 -0500395 "timeout": 10,
Alex Volanis7004a612018-01-24 10:30:13 -0500396 "command": [
397 "ruby",
James E. King III714c77c2018-03-20 19:58:38 -0400398 "../integration/TestClient.rb",
399 "--"
Alex Volanis7004a612018-01-24 10:30:13 -0500400 ]
401 },
402 "transports": [
403 "buffered",
404 "framed"
405 ],
406 "sockets": [
James E. King III9aaf2952018-03-20 15:06:08 -0400407 "domain",
James E. King III714c77c2018-03-20 19:58:38 -0400408 "ip",
409 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500410 ],
411 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500412 "binary",
James E. King III9aaf2952018-03-20 15:06:08 -0400413 "binary:accel",
414 "compact",
415 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500416 ],
417 "workdir": "rb/gen-rb"
418 },
419 {
420 "name": "csharp",
421 "env": {
422 "MONO_PATH": "../../lib/csharp/"
423 },
424 "transports": [
425 "buffered",
426 "framed"
427 ],
428 "sockets": [
429 "ip",
430 "ip-ssl"
431 ],
432 "protocols": [
433 "binary",
434 "compact",
435 "json"
436 ],
437 "server": {
438 "command": [
439 "mono",
440 "TestClientServer.exe",
441 "server"
442 ]
443 },
444 "client": {
445 "timeout": 9,
446 "command": [
447 "mono",
448 "TestClientServer.exe",
449 "client"
450 ],
451 "protocols": [
452 "multi",
453 "multic",
454 "multi:binary",
455 "multic:compact"
456 ]
457 },
458 "workdir": "csharp"
459 },
460 {
461 "name": "netcore",
462 "transports": [
463 "buffered",
464 "framed"
465 ],
466 "sockets": [
467 "ip",
468 "ip-ssl"
469 ],
470 "protocols": [
471 "binary",
472 "compact",
473 "json"
474 ],
James E. King III9bea32f2018-03-16 16:07:42 -0400475 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500476 "command": [
477 "dotnet",
478 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400479 "--no-build",
480 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500481 "server"
482 ]
483 },
484 "client": {
485 "timeout": 10,
486 "command": [
487 "dotnet",
488 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400489 "--no-build",
490 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500491 "client"
492 ]
493 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200494 "workdir": "netcore"
Alex Volanis7004a612018-01-24 10:30:13 -0500495 },
496 {
497 "name": "perl",
498 "transports": [
499 "buffered",
500 "framed"
501 ],
502 "sockets": [
503 "ip",
504 "ip-ssl",
505 "domain"
506 ],
507 "protocols": [
508 "binary",
509 "multi"
510 ],
511 "client": {
512 "command": [
513 "perl",
514 "-Igen-perl/",
515 "-I../../lib/perl/lib/",
516 "TestClient.pl",
517 "--ca=../keys/CA.pem",
518 "--cert=../keys/client.crt",
519 "--key=../keys/client.key"
520 ],
521 "protocols": [
522 "multi:binary"
523 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100524 },
Alex Volanis7004a612018-01-24 10:30:13 -0500525 "server": {
526 "command": [
527 "perl",
528 "-Igen-perl/",
529 "-I../../lib/perl/lib/",
530 "TestServer.pl",
531 "--cert=../keys/server.crt",
532 "--key=../keys/server.key"
533 ],
534 "protocols": [
535 "binary:multi"
536 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100537 },
Alex Volanis7004a612018-01-24 10:30:13 -0500538 "workdir": "perl"
539 },
540 {
541 "name": "php",
542 "client": {
543 "timeout": 6,
544 "transports": [
545 "buffered",
546 "framed"
547 ],
548 "sockets": [
549 "ip"
550 ],
551 "protocols": [
552 "binary",
James E. King IIIe53d23c2019-02-10 11:13:23 -0500553 "binary:accel",
Alex Volanis7004a612018-01-24 10:30:13 -0500554 "compact",
James E. King IIIe53d23c2019-02-10 11:13:23 -0500555 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500556 ],
557 "command": [
558 "php",
559 "-dextension_dir=php_ext_dir",
560 "--php-ini=test_php.ini",
561 "--no-php-ini",
562 "-ddisplay_errors=stderr",
563 "-dlog_errors=0",
564 "-derror_reporting=E_ALL",
565 "TestClient.php"
566 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100567 },
Alex Volanis7004a612018-01-24 10:30:13 -0500568 "workdir": "php"
569 },
570 {
571 "name": "dart",
572 "client": {
James E. King IIIb1d63e72019-01-22 14:16:39 -0500573 "timeout": 30,
Alex Volanis7004a612018-01-24 10:30:13 -0500574 "transports": [
575 "buffered",
576 "framed",
577 "http"
578 ],
579 "sockets": [
580 "ip"
581 ],
582 "protocols": [
583 "binary",
584 "compact",
585 "json"
586 ],
587 "command": [
588 "dart",
James E. King III93ff9b02019-06-21 17:50:34 -0400589 "--enable-asserts",
James E. King III98f379e2019-01-22 09:22:04 -0500590 "test_client/bin/main.dart",
James E. King III93ff9b02019-06-21 17:50:34 -0400591 "--verbose"
Alex Volanis7004a612018-01-24 10:30:13 -0500592 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100593 },
Alex Volanis7004a612018-01-24 10:30:13 -0500594 "workdir": "dart"
595 },
596 {
597 "name": "erl",
598 "transports": [
599 "buffered",
600 "framed"
601 ],
602 "sockets": [
603 "ip",
604 "ip-ssl"
605 ],
606 "protocols": [
607 "binary",
608 "compact"
609 ],
610 "client": {
611 "command": [
612 "erl",
613 "+K",
614 "true",
615 "-noshell",
616 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400617 "../../lib/erl/_build/default/lib/thrift/ebin/",
Alex Volanis7004a612018-01-24 10:30:13 -0500618 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400619 "./_build/default/lib/thrift_test/ebin",
Alex Volanis7004a612018-01-24 10:30:13 -0500620 "-s",
621 "test_client",
622 "-s",
623 "init",
624 "stop",
625 "-extra"
626 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900627 },
Alex Volanis7004a612018-01-24 10:30:13 -0500628 "server": {
629 "command": [
630 "erl",
631 "+K",
632 "true",
633 "-noshell",
634 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400635 "../../lib/erl/_build/default/lib/thrift/ebin/",
Alex Volanis7004a612018-01-24 10:30:13 -0500636 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400637 "./_build/default/lib/thrift_test/ebin",
Alex Volanis7004a612018-01-24 10:30:13 -0500638 "-s",
639 "test_thrift_server",
640 "-extra"
641 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900642 },
Alex Volanis7004a612018-01-24 10:30:13 -0500643 "workdir": "erl"
644 },
645 {
646 "name": "js",
647 "transports": [
648 "http"
649 ],
650 "sockets": [
651 "ip"
652 ],
653 "protocols": [
654 "json"
655 ],
656 "client": {
657 "command": [
658 "phantomjs",
659 "test/phantom-client.js"
660 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100661 },
Alex Volanis7004a612018-01-24 10:30:13 -0500662 "workdir": "../lib/js"
663 },
664 {
665 "name": "lua",
666 "TODO": "Add dll to LUA_CPATH",
667 "env": {
668 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
669 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
670 },
671 "client": {
672 "timeout": 5,
673 "transports": [
674 "buffered",
675 "framed",
676 "http"
677 ],
678 "sockets": [
679 "ip"
680 ],
681 "protocols": [
682 "binary",
683 "compact",
684 "json"
685 ],
686 "command": [
687 "lua",
688 "test_basic_client.lua"
689 ]
690 },
691 "workdir": "lua"
692 },
693 {
694 "name": "rs",
695 "env": {
696 "RUST_BACKTRACE": "1",
697 "RUST_LOG": "info"
698 },
699 "server": {
700 "command": [
701 "test_server"
702 ],
703 "protocols": [
704 "binary:multi",
705 "compact:multic"
706 ]
707 },
708 "client": {
709 "timeout": 6,
710 "command": [
711 "test_client"
712 ],
713 "protocols": [
714 "multi:binary",
715 "multic:compact"
716 ]
717 },
718 "sockets": [
719 "ip"
720 ],
721 "transports": [
722 "buffered",
723 "framed"
724 ],
725 "protocols": [
726 "binary",
727 "compact",
728 "multi",
729 "multic"
730 ],
731 "workdir": "rs/bin"
wilfrem2c69b5a2015-04-20 19:24:50 +0900732 },
733 {
734 "name": "nodets",
735 "env": {
736 "NODE_PATH": "../lib"
737 },
738 "server": {
739 "command": [
740 "runServer.sh"
741 ]
742 },
743 "client": {
Mustafa Senol Cosardd965c12018-11-30 20:02:00 +0300744 "timeout": 6,
wilfrem2c69b5a2015-04-20 19:24:50 +0900745 "command": [
746 "runClient.sh"
747 ]
748 },
749 "protocols": [
750 "binary"
751 ],
752 "sockets": [
753 "ip"
754 ],
755 "transports": [
756 "buffered"
757 ],
758 "workdir": "../lib/nodets/test"
Alex Volanis7004a612018-01-24 10:30:13 -0500759 }
760]