blob: 6a416399538dc4f770742ccd3486688369ba6009 [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",
267 "ip-ssl"
268 ],
269 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500270 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500271 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500272 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700273 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500274 "header",
275 "json",
276 "multi",
277 "multi:multia",
278 "multia",
279 "multiac",
280 "multic",
281 "multic:multiac",
282 "multih",
283 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500284 ],
285 "workdir": "py"
286 },
287 {
288 "comment": "Using 'python3' executable to test py2 and 3 at once",
289 "name": "py3",
290 "server": {
291 "extra_args": ["TSimpleServer"],
292 "command": [
293 "python3",
294 "TestServer.py",
295 "--verbose",
296 "--genpydir=gen-py"
297 ]
298 },
299 "client": {
300 "timeout": 10,
301 "command": [
302 "python3",
303 "TestClient.py",
304 "--host=localhost",
305 "--genpydir=gen-py"
306 ]
307 },
308 "transports": [
309 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400310 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000311 "http",
312 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500313 ],
314 "sockets": [
James E. King III6f8c99e2018-03-24 16:32:02 -0400315 "ip",
316 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500317 ],
318 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500319 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500320 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500321 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700322 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500323 "header",
324 "json",
325 "multi",
326 "multi:multia",
327 "multia",
328 "multiac",
329 "multic",
330 "multic:multiac",
331 "multih",
332 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500333 ],
334 "workdir": "py"
335 },
336 {
337 "name": "cpp",
338 "server": {
339 "command": [
340 "TestServer"
341 ],
342 "protocols": [
343 "binary:multi",
344 "compact:multic",
345 "header:multih",
346 "json:multij"
347 ]
348 },
349 "client": {
350 "timeout": 8,
351 "command": [
352 "TestClient"
353 ],
354 "protocols": [
355 "multi:binary",
356 "multic:compact",
357 "multih:header",
358 "multij:json"
359 ]
360 },
361 "transports": [
362 "buffered",
363 "http",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000364 "framed",
365 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500366 ],
367 "sockets": [
368 "ip",
369 "ip-ssl",
370 "domain"
371 ],
372 "protocols": [
373 "compact",
374 "binary",
375 "json",
376 "header",
377 "multi",
378 "multic",
379 "multih",
380 "multij"
381 ],
382 "workdir": "cpp"
383 },
384 {
385 "name": "rb",
386 "server": {
387 "command": [
388 "ruby",
389 "../integration/TestServer.rb"
390 ]
391 },
392 "client": {
James E. King IIIef9405f2019-02-01 16:14:19 -0500393 "timeout": 10,
Alex Volanis7004a612018-01-24 10:30:13 -0500394 "command": [
395 "ruby",
James E. King III714c77c2018-03-20 19:58:38 -0400396 "../integration/TestClient.rb",
397 "--"
Alex Volanis7004a612018-01-24 10:30:13 -0500398 ]
399 },
400 "transports": [
401 "buffered",
402 "framed"
403 ],
404 "sockets": [
James E. King III9aaf2952018-03-20 15:06:08 -0400405 "domain",
James E. King III714c77c2018-03-20 19:58:38 -0400406 "ip",
407 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500408 ],
409 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500410 "binary",
James E. King III9aaf2952018-03-20 15:06:08 -0400411 "binary:accel",
412 "compact",
413 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500414 ],
415 "workdir": "rb/gen-rb"
416 },
417 {
418 "name": "csharp",
419 "env": {
420 "MONO_PATH": "../../lib/csharp/"
421 },
422 "transports": [
423 "buffered",
424 "framed"
425 ],
426 "sockets": [
427 "ip",
428 "ip-ssl"
429 ],
430 "protocols": [
431 "binary",
432 "compact",
433 "json"
434 ],
435 "server": {
436 "command": [
437 "mono",
438 "TestClientServer.exe",
439 "server"
440 ]
441 },
442 "client": {
443 "timeout": 9,
444 "command": [
445 "mono",
446 "TestClientServer.exe",
447 "client"
448 ],
449 "protocols": [
450 "multi",
451 "multic",
452 "multi:binary",
453 "multic:compact"
454 ]
455 },
456 "workdir": "csharp"
457 },
458 {
459 "name": "netcore",
460 "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 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200492 "workdir": "netcore"
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 III98f379e2019-01-22 09:22:04 -0500587 "--checked",
588 "test_client/bin/main.dart",
589 "--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",
615 "../../lib/erl/ebin/",
616 "-pa",
617 "./ebin",
618 "-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",
633 "../../lib/erl/ebin/",
634 "-pa",
635 "./ebin",
636 "-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": [
717 "ip"
718 ],
719 "transports": [
720 "buffered",
721 "framed"
722 ],
723 "protocols": [
724 "binary",
725 "compact",
726 "multi",
727 "multic"
728 ],
729 "workdir": "rs/bin"
wilfrem2c69b5a2015-04-20 19:24:50 +0900730 },
731 {
732 "name": "nodets",
733 "env": {
734 "NODE_PATH": "../lib"
735 },
736 "server": {
737 "command": [
738 "runServer.sh"
739 ]
740 },
741 "client": {
Mustafa Senol Cosardd965c12018-11-30 20:02:00 +0300742 "timeout": 6,
wilfrem2c69b5a2015-04-20 19:24:50 +0900743 "command": [
744 "runClient.sh"
745 ]
746 },
747 "protocols": [
748 "binary"
749 ],
750 "sockets": [
751 "ip"
752 ],
753 "transports": [
754 "buffered"
755 ],
756 "workdir": "../lib/nodets/test"
Alex Volanis7004a612018-01-24 10:30:13 -0500757 }
758]