blob: acede24dc6019a528bca2355a8743ed9b2a034a4 [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": [
35 "ip"
36 ],
37 "protocols": [
38 "binary",
39 "compact",
40 "multi",
41 "multic"
42 ],
43 "workdir": "c_glib"
44 },
45 {
Tomek Kurcze93a9012017-09-19 09:16:43 +020046 "name": "cl",
47 "server": {
48 "command": ["TestServer"],
49 "workdir": "cl",
50 "protocols": ["binary", "multi"],
51 "transports": ["buffered", "framed"],
52 "sockets": ["ip"]
53 },
54 "client": {
55 "command": ["TestClient"],
56 "workdir": "cl",
57 "protocols": ["binary", "multi"],
58 "transports": ["buffered", "framed"],
59 "sockets": ["ip"]
60 }
61 },
62 {
Alex Volanis7004a612018-01-24 10:30:13 -050063 "name": "d",
64 "server": {
65 "command": [
James E. King III9bea32f2018-03-16 16:07:42 -040066 "thrift_test_server",
James E. King III6f8c99e2018-03-24 16:32:02 -040067 "--trace"
Alex Volanis7004a612018-01-24 10:30:13 -050068 ]
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090069 },
Alex Volanis7004a612018-01-24 10:30:13 -050070 "client": {
71 "command": [
72 "thrift_test_client"
73 ]
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090074 },
Alex Volanis7004a612018-01-24 10:30:13 -050075 "transports": [
76 "http",
77 "buffered",
78 "framed"
79 ],
80 "sockets": [
81 "ip",
82 "ip-ssl"
83 ],
84 "protocols": [
85 "binary",
86 "compact",
87 "json"
88 ],
89 "workdir": "../lib/d/test"
90 },
91 {
92 "name": "go",
93 "server": {
94 "command": [
95 "testserver",
96 "--certPath=../../keys"
97 ]
Roger Meier41ad4342015-03-24 22:30:40 +010098 },
Alex Volanis7004a612018-01-24 10:30:13 -050099 "client": {
100 "timeout": 6,
101 "command": [
102 "testclient"
103 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100104 },
Alex Volanis7004a612018-01-24 10:30:13 -0500105 "transports": [
106 "buffered",
107 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000108 "http",
109 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500110 ],
111 "sockets": [
112 "ip",
113 "ip-ssl"
114 ],
115 "protocols": [
116 "binary",
117 "compact",
118 "json"
119 ],
120 "workdir": "go/bin"
121 },
122 {
123 "name": "java",
124 "join_args": false,
125 "server": {
126 "delay": 15,
127 "command": [
128 "build/runserver"
129 ],
130 "protocols": [
131 "binary:multi",
132 "compact:multic",
133 "json:multij"
134 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100135 },
Alex Volanis7004a612018-01-24 10:30:13 -0500136 "client": {
137 "timeout": 13,
138 "command": [
139 "build/runclient"
140 ],
141 "transports": [
142 "http"
143 ],
144 "protocols": [
145 "multi:binary",
146 "multic:compact",
147 "multij:json"
148 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100149 },
Alex Volanis7004a612018-01-24 10:30:13 -0500150 "transports": [
151 "buffered",
152 "framed",
153 "framed:fastframed"
154 ],
155 "sockets": [
156 "ip",
157 "ip-ssl"
158 ],
159 "protocols": [
160 "binary",
161 "compact",
162 "json",
163 "multi",
164 "multic",
165 "multij"
166 ],
167 "workdir": "../lib/java"
168 },
169 {
170 "name": "nodejs",
171 "env": {
172 "NODE_PATH": "../lib"
Roger Meier41ad4342015-03-24 22:30:40 +0100173 },
Alex Volanis7004a612018-01-24 10:30:13 -0500174 "server": {
175 "command": [
176 "node",
177 "server.js",
178 "--type=tcp"
179 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100180 },
Alex Volanis7004a612018-01-24 10:30:13 -0500181 "client": {
182 "timeout": 6,
183 "command": [
184 "node",
185 "client.js",
186 "--type=tcp"
187 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100188 },
Alex Volanis7004a612018-01-24 10:30:13 -0500189 "transports": [
190 "buffered",
191 "framed",
192 "http"
193 ],
194 "sockets": [
195 "ip",
Daniel Shihe41de0f2018-03-21 08:28:38 +0800196 "ip-ssl",
197 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500198 ],
199 "protocols": [
200 "compact",
201 "binary",
202 "json"
203 ],
204 "workdir": "../lib/nodejs/test"
205 },
206 {
207 "name": "hs",
208 "server": {
209 "command": [
210 "TestServer"
211 ]
212 },
213 "client": {
214 "timeout": 6,
215 "transports": [
216 "http"
217 ],
218 "command": [
219 "TestClient"
220 ]
221 },
222 "transports": [
223 "buffered",
224 "framed"
225 ],
226 "sockets": [
227 "ip"
228 ],
229 "protocols": [
230 "header",
231 "compact",
232 "binary",
233 "json"
234 ],
235 "workdir": "hs"
236 },
237 {
238 "name": "py",
239 "server": {
240 "extra_args": ["TSimpleServer"],
241 "command": [
242 "TestServer.py",
243 "--verbose",
244 "--genpydir=gen-py"
245 ]
246 },
247 "client": {
248 "timeout": 10,
249 "command": [
250 "TestClient.py",
251 "--verbose",
252 "--host=localhost",
253 "--genpydir=gen-py"
254 ]
255 },
256 "transports": [
257 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400258 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000259 "http",
260 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500261 ],
262 "sockets": [
263 "ip",
264 "ip-ssl"
265 ],
266 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500267 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500268 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500269 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700270 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500271 "header",
272 "json",
273 "multi",
274 "multi:multia",
275 "multia",
276 "multiac",
277 "multic",
278 "multic:multiac",
279 "multih",
280 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500281 ],
282 "workdir": "py"
283 },
284 {
285 "comment": "Using 'python3' executable to test py2 and 3 at once",
286 "name": "py3",
287 "server": {
288 "extra_args": ["TSimpleServer"],
289 "command": [
290 "python3",
291 "TestServer.py",
292 "--verbose",
293 "--genpydir=gen-py"
294 ]
295 },
296 "client": {
297 "timeout": 10,
298 "command": [
299 "python3",
300 "TestClient.py",
301 "--host=localhost",
302 "--genpydir=gen-py"
303 ]
304 },
305 "transports": [
306 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400307 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000308 "http",
309 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500310 ],
311 "sockets": [
James E. King III6f8c99e2018-03-24 16:32:02 -0400312 "ip",
313 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500314 ],
315 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500316 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500317 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500318 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700319 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500320 "header",
321 "json",
322 "multi",
323 "multi:multia",
324 "multia",
325 "multiac",
326 "multic",
327 "multic:multiac",
328 "multih",
329 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500330 ],
331 "workdir": "py"
332 },
333 {
334 "name": "cpp",
335 "server": {
336 "command": [
337 "TestServer"
338 ],
339 "protocols": [
340 "binary:multi",
341 "compact:multic",
342 "header:multih",
343 "json:multij"
344 ]
345 },
346 "client": {
347 "timeout": 8,
348 "command": [
349 "TestClient"
350 ],
351 "protocols": [
352 "multi:binary",
353 "multic:compact",
354 "multih:header",
355 "multij:json"
356 ]
357 },
358 "transports": [
359 "buffered",
360 "http",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000361 "framed",
362 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500363 ],
364 "sockets": [
365 "ip",
366 "ip-ssl",
367 "domain"
368 ],
369 "protocols": [
370 "compact",
371 "binary",
372 "json",
373 "header",
374 "multi",
375 "multic",
376 "multih",
377 "multij"
378 ],
379 "workdir": "cpp"
380 },
381 {
382 "name": "rb",
383 "server": {
384 "command": [
385 "ruby",
386 "../integration/TestServer.rb"
387 ]
388 },
389 "client": {
James E. King IIIef9405f2019-02-01 16:14:19 -0500390 "timeout": 10,
Alex Volanis7004a612018-01-24 10:30:13 -0500391 "command": [
392 "ruby",
James E. King III714c77c2018-03-20 19:58:38 -0400393 "../integration/TestClient.rb",
394 "--"
Alex Volanis7004a612018-01-24 10:30:13 -0500395 ]
396 },
397 "transports": [
398 "buffered",
399 "framed"
400 ],
401 "sockets": [
James E. King III9aaf2952018-03-20 15:06:08 -0400402 "domain",
James E. King III714c77c2018-03-20 19:58:38 -0400403 "ip",
404 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500405 ],
406 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500407 "binary",
James E. King III9aaf2952018-03-20 15:06:08 -0400408 "binary:accel",
409 "compact",
410 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500411 ],
412 "workdir": "rb/gen-rb"
413 },
414 {
415 "name": "csharp",
416 "env": {
417 "MONO_PATH": "../../lib/csharp/"
418 },
419 "transports": [
420 "buffered",
421 "framed"
422 ],
423 "sockets": [
424 "ip",
425 "ip-ssl"
426 ],
427 "protocols": [
428 "binary",
429 "compact",
430 "json"
431 ],
432 "server": {
433 "command": [
434 "mono",
435 "TestClientServer.exe",
436 "server"
437 ]
438 },
439 "client": {
440 "timeout": 9,
441 "command": [
442 "mono",
443 "TestClientServer.exe",
444 "client"
445 ],
446 "protocols": [
447 "multi",
448 "multic",
449 "multi:binary",
450 "multic:compact"
451 ]
452 },
453 "workdir": "csharp"
454 },
455 {
456 "name": "netcore",
457 "transports": [
458 "buffered",
459 "framed"
460 ],
461 "sockets": [
462 "ip",
463 "ip-ssl"
464 ],
465 "protocols": [
466 "binary",
467 "compact",
468 "json"
469 ],
James E. King III9bea32f2018-03-16 16:07:42 -0400470 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500471 "command": [
472 "dotnet",
473 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400474 "--no-build",
475 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500476 "server"
477 ]
478 },
479 "client": {
480 "timeout": 10,
481 "command": [
482 "dotnet",
483 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400484 "--no-build",
485 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500486 "client"
487 ]
488 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200489 "workdir": "netcore"
Alex Volanis7004a612018-01-24 10:30:13 -0500490 },
491 {
492 "name": "perl",
493 "transports": [
494 "buffered",
495 "framed"
496 ],
497 "sockets": [
498 "ip",
499 "ip-ssl",
500 "domain"
501 ],
502 "protocols": [
503 "binary",
504 "multi"
505 ],
506 "client": {
507 "command": [
508 "perl",
509 "-Igen-perl/",
510 "-I../../lib/perl/lib/",
511 "TestClient.pl",
512 "--ca=../keys/CA.pem",
513 "--cert=../keys/client.crt",
514 "--key=../keys/client.key"
515 ],
516 "protocols": [
517 "multi:binary"
518 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100519 },
Alex Volanis7004a612018-01-24 10:30:13 -0500520 "server": {
521 "command": [
522 "perl",
523 "-Igen-perl/",
524 "-I../../lib/perl/lib/",
525 "TestServer.pl",
526 "--cert=../keys/server.crt",
527 "--key=../keys/server.key"
528 ],
529 "protocols": [
530 "binary:multi"
531 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100532 },
Alex Volanis7004a612018-01-24 10:30:13 -0500533 "workdir": "perl"
534 },
535 {
536 "name": "php",
537 "client": {
538 "timeout": 6,
539 "transports": [
540 "buffered",
541 "framed"
542 ],
543 "sockets": [
544 "ip"
545 ],
546 "protocols": [
547 "binary",
James E. King IIIe53d23c2019-02-10 11:13:23 -0500548 "binary:accel",
Alex Volanis7004a612018-01-24 10:30:13 -0500549 "compact",
James E. King IIIe53d23c2019-02-10 11:13:23 -0500550 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500551 ],
552 "command": [
553 "php",
554 "-dextension_dir=php_ext_dir",
555 "--php-ini=test_php.ini",
556 "--no-php-ini",
557 "-ddisplay_errors=stderr",
558 "-dlog_errors=0",
559 "-derror_reporting=E_ALL",
560 "TestClient.php"
561 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100562 },
Alex Volanis7004a612018-01-24 10:30:13 -0500563 "workdir": "php"
564 },
565 {
566 "name": "dart",
567 "client": {
James E. King IIIb1d63e72019-01-22 14:16:39 -0500568 "timeout": 30,
Alex Volanis7004a612018-01-24 10:30:13 -0500569 "transports": [
570 "buffered",
571 "framed",
572 "http"
573 ],
574 "sockets": [
575 "ip"
576 ],
577 "protocols": [
578 "binary",
579 "compact",
580 "json"
581 ],
582 "command": [
583 "dart",
James E. King III98f379e2019-01-22 09:22:04 -0500584 "--checked",
585 "test_client/bin/main.dart",
586 "--verbose"
Alex Volanis7004a612018-01-24 10:30:13 -0500587 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100588 },
Alex Volanis7004a612018-01-24 10:30:13 -0500589 "workdir": "dart"
590 },
591 {
592 "name": "erl",
593 "transports": [
594 "buffered",
595 "framed"
596 ],
597 "sockets": [
598 "ip",
599 "ip-ssl"
600 ],
601 "protocols": [
602 "binary",
603 "compact"
604 ],
605 "client": {
606 "command": [
607 "erl",
608 "+K",
609 "true",
610 "-noshell",
611 "-pa",
612 "../../lib/erl/ebin/",
613 "-pa",
614 "./ebin",
615 "-s",
616 "test_client",
617 "-s",
618 "init",
619 "stop",
620 "-extra"
621 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900622 },
Alex Volanis7004a612018-01-24 10:30:13 -0500623 "server": {
624 "command": [
625 "erl",
626 "+K",
627 "true",
628 "-noshell",
629 "-pa",
630 "../../lib/erl/ebin/",
631 "-pa",
632 "./ebin",
633 "-s",
634 "test_thrift_server",
635 "-extra"
636 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900637 },
Alex Volanis7004a612018-01-24 10:30:13 -0500638 "workdir": "erl"
639 },
640 {
641 "name": "js",
642 "transports": [
643 "http"
644 ],
645 "sockets": [
646 "ip"
647 ],
648 "protocols": [
649 "json"
650 ],
651 "client": {
652 "command": [
653 "phantomjs",
654 "test/phantom-client.js"
655 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100656 },
Alex Volanis7004a612018-01-24 10:30:13 -0500657 "workdir": "../lib/js"
658 },
659 {
660 "name": "lua",
661 "TODO": "Add dll to LUA_CPATH",
662 "env": {
663 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
664 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
665 },
666 "client": {
667 "timeout": 5,
668 "transports": [
669 "buffered",
670 "framed",
671 "http"
672 ],
673 "sockets": [
674 "ip"
675 ],
676 "protocols": [
677 "binary",
678 "compact",
679 "json"
680 ],
681 "command": [
682 "lua",
683 "test_basic_client.lua"
684 ]
685 },
686 "workdir": "lua"
687 },
688 {
689 "name": "rs",
690 "env": {
691 "RUST_BACKTRACE": "1",
692 "RUST_LOG": "info"
693 },
694 "server": {
695 "command": [
696 "test_server"
697 ],
698 "protocols": [
699 "binary:multi",
700 "compact:multic"
701 ]
702 },
703 "client": {
704 "timeout": 6,
705 "command": [
706 "test_client"
707 ],
708 "protocols": [
709 "multi:binary",
710 "multic:compact"
711 ]
712 },
713 "sockets": [
714 "ip"
715 ],
716 "transports": [
717 "buffered",
718 "framed"
719 ],
720 "protocols": [
721 "binary",
722 "compact",
723 "multi",
724 "multic"
725 ],
726 "workdir": "rs/bin"
wilfrem2c69b5a2015-04-20 19:24:50 +0900727 },
728 {
729 "name": "nodets",
730 "env": {
731 "NODE_PATH": "../lib"
732 },
733 "server": {
734 "command": [
735 "runServer.sh"
736 ]
737 },
738 "client": {
Mustafa Senol Cosardd965c12018-11-30 20:02:00 +0300739 "timeout": 6,
wilfrem2c69b5a2015-04-20 19:24:50 +0900740 "command": [
741 "runClient.sh"
742 ]
743 },
744 "protocols": [
745 "binary"
746 ],
747 "sockets": [
748 "ip"
749 ],
750 "transports": [
751 "buffered"
752 ],
753 "workdir": "../lib/nodets/test"
Alex Volanis7004a612018-01-24 10:30:13 -0500754 }
755]