blob: a8dbef7d4c7f0df634fd687c2e8466dd8ec44f2d [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",
Kengo Sekif0c761e2020-01-09 18:48:29 +090079 "framed",
80 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -050081 ],
82 "sockets": [
83 "ip",
84 "ip-ssl"
85 ],
86 "protocols": [
87 "binary",
88 "compact",
89 "json"
90 ],
91 "workdir": "../lib/d/test"
92 },
93 {
94 "name": "go",
95 "server": {
96 "command": [
97 "testserver",
98 "--certPath=../../keys"
99 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100100 },
Alex Volanis7004a612018-01-24 10:30:13 -0500101 "client": {
102 "timeout": 6,
103 "command": [
104 "testclient"
105 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100106 },
Alex Volanis7004a612018-01-24 10:30:13 -0500107 "transports": [
108 "buffered",
109 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000110 "http",
111 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500112 ],
113 "sockets": [
114 "ip",
115 "ip-ssl"
116 ],
117 "protocols": [
118 "binary",
119 "compact",
Yuxuan 'fishy' Wang4d46c112019-06-07 20:47:18 +0800120 "json",
121 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500122 ],
123 "workdir": "go/bin"
124 },
125 {
126 "name": "java",
127 "join_args": false,
128 "server": {
129 "delay": 15,
130 "command": [
131 "build/runserver"
132 ],
133 "protocols": [
134 "binary:multi",
135 "compact:multic",
136 "json:multij"
137 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100138 },
Alex Volanis7004a612018-01-24 10:30:13 -0500139 "client": {
140 "timeout": 13,
141 "command": [
142 "build/runclient"
143 ],
144 "transports": [
145 "http"
146 ],
147 "protocols": [
148 "multi:binary",
149 "multic:compact",
150 "multij:json"
151 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100152 },
Alex Volanis7004a612018-01-24 10:30:13 -0500153 "transports": [
154 "buffered",
155 "framed",
Kengo Sekic97e6aa2020-01-10 01:11:15 +0900156 "framed:fastframed",
157 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500158 ],
159 "sockets": [
160 "ip",
161 "ip-ssl"
162 ],
163 "protocols": [
164 "binary",
165 "compact",
166 "json",
167 "multi",
168 "multic",
169 "multij"
170 ],
171 "workdir": "../lib/java"
172 },
173 {
174 "name": "nodejs",
175 "env": {
176 "NODE_PATH": "../lib"
Roger Meier41ad4342015-03-24 22:30:40 +0100177 },
Alex Volanis7004a612018-01-24 10:30:13 -0500178 "server": {
179 "command": [
180 "node",
181 "server.js",
182 "--type=tcp"
183 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100184 },
Alex Volanis7004a612018-01-24 10:30:13 -0500185 "client": {
186 "timeout": 6,
187 "command": [
188 "node",
189 "client.js",
190 "--type=tcp"
191 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100192 },
Alex Volanis7004a612018-01-24 10:30:13 -0500193 "transports": [
194 "buffered",
195 "framed",
penenin1ab096c2020-05-18 12:27:31 -0700196 "http",
197 "websocket"
Alex Volanis7004a612018-01-24 10:30:13 -0500198 ],
199 "sockets": [
200 "ip",
Daniel Shihe41de0f2018-03-21 08:28:38 +0800201 "ip-ssl",
202 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500203 ],
204 "protocols": [
205 "compact",
206 "binary",
David Maiddd22242019-02-22 03:37:49 -0800207 "json",
208 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500209 ],
210 "workdir": "../lib/nodejs/test"
211 },
212 {
213 "name": "hs",
214 "server": {
215 "command": [
216 "TestServer"
217 ]
218 },
219 "client": {
220 "timeout": 6,
221 "transports": [
222 "http"
223 ],
224 "command": [
225 "TestClient"
226 ]
227 },
228 "transports": [
229 "buffered",
230 "framed"
231 ],
232 "sockets": [
233 "ip"
234 ],
235 "protocols": [
236 "header",
237 "compact",
238 "binary",
239 "json"
240 ],
241 "workdir": "hs"
242 },
243 {
244 "name": "py",
245 "server": {
246 "extra_args": ["TSimpleServer"],
247 "command": [
248 "TestServer.py",
249 "--verbose",
250 "--genpydir=gen-py"
251 ]
252 },
253 "client": {
254 "timeout": 10,
255 "command": [
256 "TestClient.py",
257 "--verbose",
258 "--host=localhost",
259 "--genpydir=gen-py"
260 ]
261 },
262 "transports": [
263 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400264 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000265 "http",
266 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500267 ],
268 "sockets": [
269 "ip",
Kengo Sekif1c53412019-12-13 08:09:36 +0900270 "ip-ssl",
271 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500272 ],
273 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500274 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500275 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500276 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700277 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500278 "header",
279 "json",
280 "multi",
281 "multi:multia",
282 "multia",
283 "multiac",
284 "multic",
285 "multic:multiac",
286 "multih",
287 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500288 ],
289 "workdir": "py"
290 },
291 {
292 "comment": "Using 'python3' executable to test py2 and 3 at once",
293 "name": "py3",
294 "server": {
295 "extra_args": ["TSimpleServer"],
296 "command": [
297 "python3",
298 "TestServer.py",
299 "--verbose",
300 "--genpydir=gen-py"
301 ]
302 },
303 "client": {
304 "timeout": 10,
305 "command": [
306 "python3",
307 "TestClient.py",
308 "--host=localhost",
309 "--genpydir=gen-py"
310 ]
311 },
312 "transports": [
313 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400314 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000315 "http",
316 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500317 ],
318 "sockets": [
James E. King III6f8c99e2018-03-24 16:32:02 -0400319 "ip",
Kengo Sekif1c53412019-12-13 08:09:36 +0900320 "ip-ssl",
321 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500322 ],
323 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500324 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500325 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500326 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700327 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500328 "header",
329 "json",
330 "multi",
331 "multi:multia",
332 "multia",
333 "multiac",
334 "multic",
335 "multic:multiac",
336 "multih",
337 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500338 ],
339 "workdir": "py"
340 },
341 {
342 "name": "cpp",
343 "server": {
344 "command": [
345 "TestServer"
346 ],
347 "protocols": [
348 "binary:multi",
349 "compact:multic",
350 "header:multih",
351 "json:multij"
352 ]
353 },
354 "client": {
355 "timeout": 8,
356 "command": [
357 "TestClient"
358 ],
359 "protocols": [
360 "multi:binary",
361 "multic:compact",
362 "multih:header",
363 "multij:json"
364 ]
365 },
366 "transports": [
367 "buffered",
368 "http",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000369 "framed",
penenin1ab096c2020-05-18 12:27:31 -0700370 "zlib",
371 "websocket"
Alex Volanis7004a612018-01-24 10:30:13 -0500372 ],
373 "sockets": [
374 "ip",
375 "ip-ssl",
376 "domain"
377 ],
378 "protocols": [
379 "compact",
380 "binary",
381 "json",
382 "header",
383 "multi",
384 "multic",
385 "multih",
386 "multij"
387 ],
388 "workdir": "cpp"
389 },
390 {
391 "name": "rb",
392 "server": {
393 "command": [
394 "ruby",
395 "../integration/TestServer.rb"
396 ]
397 },
398 "client": {
James E. King IIIef9405f2019-02-01 16:14:19 -0500399 "timeout": 10,
Alex Volanis7004a612018-01-24 10:30:13 -0500400 "command": [
401 "ruby",
James E. King III714c77c2018-03-20 19:58:38 -0400402 "../integration/TestClient.rb",
403 "--"
Alex Volanis7004a612018-01-24 10:30:13 -0500404 ]
405 },
406 "transports": [
407 "buffered",
408 "framed"
409 ],
410 "sockets": [
James E. King III9aaf2952018-03-20 15:06:08 -0400411 "domain",
James E. King III714c77c2018-03-20 19:58:38 -0400412 "ip",
413 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500414 ],
415 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500416 "binary",
James E. King III9aaf2952018-03-20 15:06:08 -0400417 "binary:accel",
418 "compact",
419 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500420 ],
421 "workdir": "rb/gen-rb"
422 },
423 {
Jens Geyer56700e42020-02-22 16:51:51 +0100424 "name": "netstd",
Alex Volanis7004a612018-01-24 10:30:13 -0500425 "transports": [
426 "buffered",
427 "framed"
428 ],
429 "sockets": [
430 "ip",
431 "ip-ssl"
432 ],
433 "protocols": [
434 "binary",
435 "compact",
436 "json"
437 ],
James E. King III9bea32f2018-03-16 16:07:42 -0400438 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500439 "command": [
440 "dotnet",
441 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400442 "--no-build",
443 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500444 "server"
445 ]
446 },
447 "client": {
448 "timeout": 10,
449 "command": [
450 "dotnet",
451 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400452 "--no-build",
453 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500454 "client"
455 ]
456 },
Jens Geyer56700e42020-02-22 16:51:51 +0100457 "workdir": "netstd"
Alex Volanis7004a612018-01-24 10:30:13 -0500458 },
459 {
460 "name": "perl",
461 "transports": [
462 "buffered",
463 "framed"
464 ],
465 "sockets": [
466 "ip",
467 "ip-ssl",
468 "domain"
469 ],
470 "protocols": [
471 "binary",
472 "multi"
473 ],
474 "client": {
475 "command": [
476 "perl",
477 "-Igen-perl/",
478 "-I../../lib/perl/lib/",
479 "TestClient.pl",
480 "--ca=../keys/CA.pem",
481 "--cert=../keys/client.crt",
482 "--key=../keys/client.key"
483 ],
484 "protocols": [
485 "multi:binary"
486 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100487 },
Alex Volanis7004a612018-01-24 10:30:13 -0500488 "server": {
489 "command": [
490 "perl",
491 "-Igen-perl/",
492 "-I../../lib/perl/lib/",
493 "TestServer.pl",
494 "--cert=../keys/server.crt",
495 "--key=../keys/server.key"
496 ],
497 "protocols": [
498 "binary:multi"
499 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100500 },
Alex Volanis7004a612018-01-24 10:30:13 -0500501 "workdir": "perl"
502 },
503 {
504 "name": "php",
505 "client": {
506 "timeout": 6,
507 "transports": [
508 "buffered",
509 "framed"
510 ],
511 "sockets": [
512 "ip"
513 ],
514 "protocols": [
515 "binary",
James E. King IIIe53d23c2019-02-10 11:13:23 -0500516 "binary:accel",
Alex Volanis7004a612018-01-24 10:30:13 -0500517 "compact",
James E. King IIIe53d23c2019-02-10 11:13:23 -0500518 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500519 ],
520 "command": [
521 "php",
522 "-dextension_dir=php_ext_dir",
523 "--php-ini=test_php.ini",
524 "--no-php-ini",
525 "-ddisplay_errors=stderr",
526 "-dlog_errors=0",
527 "-derror_reporting=E_ALL",
528 "TestClient.php"
529 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100530 },
Alex Volanis7004a612018-01-24 10:30:13 -0500531 "workdir": "php"
532 },
533 {
534 "name": "dart",
535 "client": {
James E. King IIIb1d63e72019-01-22 14:16:39 -0500536 "timeout": 30,
Alex Volanis7004a612018-01-24 10:30:13 -0500537 "transports": [
538 "buffered",
539 "framed",
540 "http"
541 ],
542 "sockets": [
543 "ip"
544 ],
545 "protocols": [
546 "binary",
547 "compact",
548 "json"
549 ],
550 "command": [
551 "dart",
James E. King III93ff9b02019-06-21 17:50:34 -0400552 "--enable-asserts",
James E. King III98f379e2019-01-22 09:22:04 -0500553 "test_client/bin/main.dart",
James E. King III93ff9b02019-06-21 17:50:34 -0400554 "--verbose"
Alex Volanis7004a612018-01-24 10:30:13 -0500555 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100556 },
Alex Volanis7004a612018-01-24 10:30:13 -0500557 "workdir": "dart"
558 },
559 {
560 "name": "erl",
561 "transports": [
562 "buffered",
563 "framed"
564 ],
565 "sockets": [
566 "ip",
567 "ip-ssl"
568 ],
569 "protocols": [
570 "binary",
571 "compact"
572 ],
573 "client": {
574 "command": [
575 "erl",
576 "+K",
577 "true",
578 "-noshell",
579 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400580 "../../lib/erl/_build/default/lib/thrift/ebin/",
Alex Volanis7004a612018-01-24 10:30:13 -0500581 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400582 "./_build/default/lib/thrift_test/ebin",
Alex Volanis7004a612018-01-24 10:30:13 -0500583 "-s",
584 "test_client",
585 "-s",
586 "init",
587 "stop",
588 "-extra"
589 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900590 },
Alex Volanis7004a612018-01-24 10:30:13 -0500591 "server": {
592 "command": [
593 "erl",
594 "+K",
595 "true",
596 "-noshell",
597 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400598 "../../lib/erl/_build/default/lib/thrift/ebin/",
Alex Volanis7004a612018-01-24 10:30:13 -0500599 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400600 "./_build/default/lib/thrift_test/ebin",
Alex Volanis7004a612018-01-24 10:30:13 -0500601 "-s",
602 "test_thrift_server",
603 "-extra"
604 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900605 },
Alex Volanis7004a612018-01-24 10:30:13 -0500606 "workdir": "erl"
607 },
608 {
609 "name": "js",
610 "transports": [
611 "http"
612 ],
613 "sockets": [
614 "ip"
615 ],
616 "protocols": [
617 "json"
618 ],
619 "client": {
620 "command": [
621 "phantomjs",
622 "test/phantom-client.js"
623 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100624 },
Alex Volanis7004a612018-01-24 10:30:13 -0500625 "workdir": "../lib/js"
626 },
627 {
628 "name": "lua",
629 "TODO": "Add dll to LUA_CPATH",
630 "env": {
631 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
632 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
633 },
634 "client": {
635 "timeout": 5,
636 "transports": [
637 "buffered",
638 "framed",
639 "http"
640 ],
641 "sockets": [
642 "ip"
643 ],
644 "protocols": [
645 "binary",
646 "compact",
647 "json"
648 ],
649 "command": [
650 "lua",
651 "test_basic_client.lua"
652 ]
653 },
654 "workdir": "lua"
655 },
656 {
657 "name": "rs",
658 "env": {
659 "RUST_BACKTRACE": "1",
660 "RUST_LOG": "info"
661 },
662 "server": {
663 "command": [
664 "test_server"
665 ],
666 "protocols": [
667 "binary:multi",
668 "compact:multic"
669 ]
670 },
671 "client": {
672 "timeout": 6,
673 "command": [
674 "test_client"
675 ],
676 "protocols": [
677 "multi:binary",
678 "multic:compact"
679 ]
680 },
681 "sockets": [
682 "ip"
683 ],
684 "transports": [
685 "buffered",
686 "framed"
687 ],
688 "protocols": [
689 "binary",
690 "compact",
691 "multi",
692 "multic"
693 ],
694 "workdir": "rs/bin"
wilfrem2c69b5a2015-04-20 19:24:50 +0900695 },
696 {
697 "name": "nodets",
698 "env": {
699 "NODE_PATH": "../lib"
700 },
701 "server": {
702 "command": [
703 "runServer.sh"
704 ]
705 },
706 "client": {
Mustafa Senol Cosardd965c12018-11-30 20:02:00 +0300707 "timeout": 6,
wilfrem2c69b5a2015-04-20 19:24:50 +0900708 "command": [
709 "runClient.sh"
710 ]
711 },
712 "protocols": [
713 "binary"
714 ],
715 "sockets": [
716 "ip"
717 ],
718 "transports": [
719 "buffered"
720 ],
721 "workdir": "../lib/nodets/test"
Alex Volanis7004a612018-01-24 10:30:13 -0500722 }
723]