blob: e897b391751a6e1ccdec120203382cccc1a3fe03 [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 {
Jiayu Liu49b2d6b2022-04-06 16:49:09 +0800174 "name": "kotlin",
175 "join_args": false,
176 "server": {
177 "delay": 15,
178 "command": [
179 "cross-test-server/build/install/TestServer/bin/TestServer"
180 ],
181 "protocols": [
182 "binary"
183 ]
184 },
185 "client": {
186 "timeout": 13,
187 "command": [
188 "cross-test-client/build/install/TestClient/bin/TestClient"
189 ],
190 "transports": [
191 "framed"
192 ],
193 "protocols": [
194 "binary"
195 ]
196 },
197 "transports": [
198 "framed"
199 ],
200 "sockets": [
201 "ip"
202 ],
203 "protocols": [
204 "binary"
205 ],
206 "workdir": "../lib/kotlin"
207 },
208 {
Alex Volanis7004a612018-01-24 10:30:13 -0500209 "name": "nodejs",
210 "env": {
211 "NODE_PATH": "../lib"
Roger Meier41ad4342015-03-24 22:30:40 +0100212 },
Alex Volanis7004a612018-01-24 10:30:13 -0500213 "server": {
214 "command": [
215 "node",
216 "server.js",
217 "--type=tcp"
218 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100219 },
Alex Volanis7004a612018-01-24 10:30:13 -0500220 "client": {
221 "timeout": 6,
222 "command": [
223 "node",
224 "client.js",
225 "--type=tcp"
226 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100227 },
Alex Volanis7004a612018-01-24 10:30:13 -0500228 "transports": [
229 "buffered",
230 "framed",
penenin1ab096c2020-05-18 12:27:31 -0700231 "http",
232 "websocket"
Alex Volanis7004a612018-01-24 10:30:13 -0500233 ],
234 "sockets": [
235 "ip",
Daniel Shihe41de0f2018-03-21 08:28:38 +0800236 "ip-ssl",
237 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500238 ],
239 "protocols": [
240 "compact",
241 "binary",
David Maiddd22242019-02-22 03:37:49 -0800242 "json",
243 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500244 ],
245 "workdir": "../lib/nodejs/test"
246 },
247 {
248 "name": "hs",
249 "server": {
250 "command": [
251 "TestServer"
252 ]
253 },
254 "client": {
255 "timeout": 6,
256 "transports": [
257 "http"
258 ],
259 "command": [
260 "TestClient"
261 ]
262 },
263 "transports": [
264 "buffered",
265 "framed"
266 ],
267 "sockets": [
268 "ip"
269 ],
270 "protocols": [
271 "header",
272 "compact",
273 "binary",
274 "json"
275 ],
276 "workdir": "hs"
277 },
278 {
279 "name": "py",
280 "server": {
281 "extra_args": ["TSimpleServer"],
282 "command": [
283 "TestServer.py",
284 "--verbose",
285 "--genpydir=gen-py"
286 ]
287 },
288 "client": {
289 "timeout": 10,
290 "command": [
291 "TestClient.py",
292 "--verbose",
293 "--host=localhost",
294 "--genpydir=gen-py"
295 ]
296 },
297 "transports": [
298 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400299 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000300 "http",
301 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500302 ],
303 "sockets": [
304 "ip",
Kengo Sekif1c53412019-12-13 08:09:36 +0900305 "ip-ssl",
306 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500307 ],
308 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500309 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500310 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500311 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700312 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500313 "header",
314 "json",
315 "multi",
316 "multi:multia",
317 "multia",
318 "multiac",
319 "multic",
320 "multic:multiac",
321 "multih",
322 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500323 ],
324 "workdir": "py"
325 },
326 {
327 "comment": "Using 'python3' executable to test py2 and 3 at once",
328 "name": "py3",
329 "server": {
330 "extra_args": ["TSimpleServer"],
331 "command": [
332 "python3",
333 "TestServer.py",
334 "--verbose",
335 "--genpydir=gen-py"
336 ]
337 },
338 "client": {
339 "timeout": 10,
340 "command": [
341 "python3",
342 "TestClient.py",
343 "--host=localhost",
344 "--genpydir=gen-py"
345 ]
346 },
347 "transports": [
348 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400349 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000350 "http",
351 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500352 ],
353 "sockets": [
James E. King III6f8c99e2018-03-24 16:32:02 -0400354 "ip",
Kengo Sekif1c53412019-12-13 08:09:36 +0900355 "ip-ssl",
356 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500357 ],
358 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500359 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500360 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500361 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700362 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500363 "header",
364 "json",
365 "multi",
366 "multi:multia",
367 "multia",
368 "multiac",
369 "multic",
370 "multic:multiac",
371 "multih",
372 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500373 ],
374 "workdir": "py"
375 },
376 {
377 "name": "cpp",
378 "server": {
379 "command": [
380 "TestServer"
381 ],
382 "protocols": [
383 "binary:multi",
384 "compact:multic",
385 "header:multih",
386 "json:multij"
387 ]
388 },
389 "client": {
390 "timeout": 8,
391 "command": [
392 "TestClient"
393 ],
394 "protocols": [
395 "multi:binary",
396 "multic:compact",
397 "multih:header",
398 "multij:json"
399 ]
400 },
401 "transports": [
402 "buffered",
403 "http",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000404 "framed",
penenin1ab096c2020-05-18 12:27:31 -0700405 "zlib",
406 "websocket"
Alex Volanis7004a612018-01-24 10:30:13 -0500407 ],
408 "sockets": [
409 "ip",
410 "ip-ssl",
411 "domain"
412 ],
413 "protocols": [
414 "compact",
415 "binary",
416 "json",
417 "header",
418 "multi",
419 "multic",
420 "multih",
421 "multij"
422 ],
423 "workdir": "cpp"
424 },
425 {
426 "name": "rb",
427 "server": {
428 "command": [
429 "ruby",
430 "../integration/TestServer.rb"
431 ]
432 },
433 "client": {
James E. King IIIef9405f2019-02-01 16:14:19 -0500434 "timeout": 10,
Alex Volanis7004a612018-01-24 10:30:13 -0500435 "command": [
436 "ruby",
James E. King III714c77c2018-03-20 19:58:38 -0400437 "../integration/TestClient.rb",
438 "--"
Alex Volanis7004a612018-01-24 10:30:13 -0500439 ]
440 },
441 "transports": [
442 "buffered",
443 "framed"
444 ],
445 "sockets": [
James E. King III9aaf2952018-03-20 15:06:08 -0400446 "domain",
James E. King III714c77c2018-03-20 19:58:38 -0400447 "ip",
448 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500449 ],
450 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500451 "binary",
James E. King III9aaf2952018-03-20 15:06:08 -0400452 "binary:accel",
453 "compact",
454 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500455 ],
456 "workdir": "rb/gen-rb"
457 },
458 {
Jens Geyer56700e42020-02-22 16:51:51 +0100459 "name": "netstd",
Alex Volanis7004a612018-01-24 10:30:13 -0500460 "transports": [
461 "buffered",
462 "framed"
463 ],
464 "sockets": [
465 "ip",
466 "ip-ssl"
467 ],
468 "protocols": [
469 "binary",
470 "compact",
471 "json"
472 ],
James E. King III9bea32f2018-03-16 16:07:42 -0400473 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500474 "command": [
475 "dotnet",
476 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400477 "--no-build",
478 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500479 "server"
480 ]
481 },
482 "client": {
483 "timeout": 10,
484 "command": [
485 "dotnet",
486 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400487 "--no-build",
488 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500489 "client"
490 ]
491 },
Jens Geyer56700e42020-02-22 16:51:51 +0100492 "workdir": "netstd"
Alex Volanis7004a612018-01-24 10:30:13 -0500493 },
494 {
495 "name": "perl",
496 "transports": [
497 "buffered",
498 "framed"
499 ],
500 "sockets": [
501 "ip",
502 "ip-ssl",
503 "domain"
504 ],
505 "protocols": [
506 "binary",
507 "multi"
508 ],
509 "client": {
510 "command": [
511 "perl",
512 "-Igen-perl/",
513 "-I../../lib/perl/lib/",
514 "TestClient.pl",
515 "--ca=../keys/CA.pem",
516 "--cert=../keys/client.crt",
517 "--key=../keys/client.key"
518 ],
519 "protocols": [
520 "multi:binary"
521 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100522 },
Alex Volanis7004a612018-01-24 10:30:13 -0500523 "server": {
524 "command": [
525 "perl",
526 "-Igen-perl/",
527 "-I../../lib/perl/lib/",
528 "TestServer.pl",
529 "--cert=../keys/server.crt",
530 "--key=../keys/server.key"
531 ],
532 "protocols": [
533 "binary:multi"
534 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100535 },
Alex Volanis7004a612018-01-24 10:30:13 -0500536 "workdir": "perl"
537 },
538 {
539 "name": "php",
540 "client": {
541 "timeout": 6,
542 "transports": [
543 "buffered",
544 "framed"
545 ],
546 "sockets": [
547 "ip"
548 ],
549 "protocols": [
550 "binary",
James E. King IIIe53d23c2019-02-10 11:13:23 -0500551 "binary:accel",
Alex Volanis7004a612018-01-24 10:30:13 -0500552 "compact",
James E. King IIIe53d23c2019-02-10 11:13:23 -0500553 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500554 ],
555 "command": [
556 "php",
557 "-dextension_dir=php_ext_dir",
558 "--php-ini=test_php.ini",
559 "--no-php-ini",
560 "-ddisplay_errors=stderr",
561 "-dlog_errors=0",
562 "-derror_reporting=E_ALL",
563 "TestClient.php"
564 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100565 },
Alex Volanis7004a612018-01-24 10:30:13 -0500566 "workdir": "php"
567 },
568 {
569 "name": "dart",
570 "client": {
James E. King IIIb1d63e72019-01-22 14:16:39 -0500571 "timeout": 30,
Alex Volanis7004a612018-01-24 10:30:13 -0500572 "transports": [
573 "buffered",
574 "framed",
575 "http"
576 ],
577 "sockets": [
578 "ip"
579 ],
580 "protocols": [
581 "binary",
582 "compact",
583 "json"
584 ],
585 "command": [
586 "dart",
James E. King III93ff9b02019-06-21 17:50:34 -0400587 "--enable-asserts",
James E. King III98f379e2019-01-22 09:22:04 -0500588 "test_client/bin/main.dart",
James E. King III93ff9b02019-06-21 17:50:34 -0400589 "--verbose"
Alex Volanis7004a612018-01-24 10:30:13 -0500590 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100591 },
Alex Volanis7004a612018-01-24 10:30:13 -0500592 "workdir": "dart"
593 },
594 {
595 "name": "erl",
596 "transports": [
597 "buffered",
598 "framed"
599 ],
600 "sockets": [
601 "ip",
602 "ip-ssl"
603 ],
604 "protocols": [
605 "binary",
606 "compact"
607 ],
608 "client": {
609 "command": [
610 "erl",
611 "+K",
612 "true",
613 "-noshell",
614 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400615 "../../lib/erl/_build/default/lib/thrift/ebin/",
Alex Volanis7004a612018-01-24 10:30:13 -0500616 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400617 "./_build/default/lib/thrift_test/ebin",
Alex Volanis7004a612018-01-24 10:30:13 -0500618 "-s",
619 "test_client",
620 "-s",
621 "init",
622 "stop",
623 "-extra"
624 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900625 },
Alex Volanis7004a612018-01-24 10:30:13 -0500626 "server": {
627 "command": [
628 "erl",
629 "+K",
630 "true",
631 "-noshell",
632 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400633 "../../lib/erl/_build/default/lib/thrift/ebin/",
Alex Volanis7004a612018-01-24 10:30:13 -0500634 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400635 "./_build/default/lib/thrift_test/ebin",
Alex Volanis7004a612018-01-24 10:30:13 -0500636 "-s",
637 "test_thrift_server",
638 "-extra"
639 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900640 },
Alex Volanis7004a612018-01-24 10:30:13 -0500641 "workdir": "erl"
642 },
643 {
644 "name": "js",
645 "transports": [
646 "http"
647 ],
648 "sockets": [
649 "ip"
650 ],
651 "protocols": [
652 "json"
653 ],
654 "client": {
655 "command": [
656 "phantomjs",
657 "test/phantom-client.js"
658 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100659 },
Alex Volanis7004a612018-01-24 10:30:13 -0500660 "workdir": "../lib/js"
661 },
662 {
663 "name": "lua",
664 "TODO": "Add dll to LUA_CPATH",
665 "env": {
666 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
667 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
668 },
669 "client": {
670 "timeout": 5,
671 "transports": [
672 "buffered",
673 "framed",
674 "http"
675 ],
676 "sockets": [
677 "ip"
678 ],
679 "protocols": [
680 "binary",
681 "compact",
682 "json"
683 ],
684 "command": [
685 "lua",
686 "test_basic_client.lua"
687 ]
688 },
689 "workdir": "lua"
690 },
691 {
692 "name": "rs",
693 "env": {
694 "RUST_BACKTRACE": "1",
695 "RUST_LOG": "info"
696 },
697 "server": {
698 "command": [
699 "test_server"
700 ],
701 "protocols": [
702 "binary:multi",
703 "compact:multic"
704 ]
705 },
706 "client": {
707 "timeout": 6,
708 "command": [
709 "test_client"
710 ],
711 "protocols": [
712 "multi:binary",
713 "multic:compact"
714 ]
715 },
716 "sockets": [
tokcumf0336412022-03-30 11:39:08 +0200717 "ip",
718 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500719 ],
720 "transports": [
721 "buffered",
722 "framed"
723 ],
724 "protocols": [
725 "binary",
726 "compact",
727 "multi",
728 "multic"
729 ],
730 "workdir": "rs/bin"
wilfrem2c69b5a2015-04-20 19:24:50 +0900731 },
732 {
733 "name": "nodets",
734 "env": {
735 "NODE_PATH": "../lib"
736 },
737 "server": {
738 "command": [
739 "runServer.sh"
740 ]
741 },
742 "client": {
Mustafa Senol Cosardd965c12018-11-30 20:02:00 +0300743 "timeout": 6,
wilfrem2c69b5a2015-04-20 19:24:50 +0900744 "command": [
745 "runClient.sh"
746 ]
747 },
748 "protocols": [
749 "binary"
750 ],
751 "sockets": [
752 "ip"
753 ],
754 "transports": [
755 "buffered"
756 ],
757 "workdir": "../lib/nodets/test"
Alex Volanis7004a612018-01-24 10:30:13 -0500758 }
759]