blob: 1d4ba66d158d35b8ffd5d972e49916c2f7ac9c98 [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"
James E. King III20685442018-04-10 10:30:51 -0400254 ],
255 "protocols": [
256 "multi",
257 "multi:multia",
258 "multic",
259 "multic:multiac",
260 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500261 ]
262 },
263 "transports": [
264 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400265 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000266 "http",
267 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500268 ],
269 "sockets": [
270 "ip",
271 "ip-ssl"
272 ],
273 "protocols": [
274 "compact",
275 "binary",
276 "json",
277 "binary:accel",
Neil Williams66a44c52018-08-13 16:12:24 -0700278 "compact:accelc",
279 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500280 ],
281 "workdir": "py"
282 },
283 {
284 "comment": "Using 'python3' executable to test py2 and 3 at once",
285 "name": "py3",
286 "server": {
287 "extra_args": ["TSimpleServer"],
288 "command": [
289 "python3",
290 "TestServer.py",
291 "--verbose",
292 "--genpydir=gen-py"
293 ]
294 },
295 "client": {
296 "timeout": 10,
297 "command": [
298 "python3",
299 "TestClient.py",
300 "--host=localhost",
301 "--genpydir=gen-py"
James E. King III20685442018-04-10 10:30:51 -0400302 ],
303 "protocols": [
304 "multi",
305 "multi:multia",
306 "multic",
307 "multic:multiac",
308 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500309 ]
310 },
311 "transports": [
312 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400313 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000314 "http",
315 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500316 ],
317 "sockets": [
James E. King III6f8c99e2018-03-24 16:32:02 -0400318 "ip",
319 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500320 ],
321 "protocols": [
322 "compact",
323 "binary",
324 "json",
325 "binary:accel",
Neil Williams66a44c52018-08-13 16:12:24 -0700326 "compact:accelc",
327 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500328 ],
329 "workdir": "py"
330 },
331 {
332 "name": "cpp",
333 "server": {
334 "command": [
335 "TestServer"
336 ],
337 "protocols": [
338 "binary:multi",
339 "compact:multic",
340 "header:multih",
341 "json:multij"
342 ]
343 },
344 "client": {
345 "timeout": 8,
346 "command": [
347 "TestClient"
348 ],
349 "protocols": [
350 "multi:binary",
351 "multic:compact",
352 "multih:header",
353 "multij:json"
354 ]
355 },
356 "transports": [
357 "buffered",
358 "http",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000359 "framed",
360 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500361 ],
362 "sockets": [
363 "ip",
364 "ip-ssl",
365 "domain"
366 ],
367 "protocols": [
368 "compact",
369 "binary",
370 "json",
371 "header",
372 "multi",
373 "multic",
374 "multih",
375 "multij"
376 ],
377 "workdir": "cpp"
378 },
379 {
380 "name": "rb",
381 "server": {
382 "command": [
383 "ruby",
384 "../integration/TestServer.rb"
385 ]
386 },
387 "client": {
388 "timeout": 5,
389 "command": [
390 "ruby",
James E. King III714c77c2018-03-20 19:58:38 -0400391 "../integration/TestClient.rb",
392 "--"
Alex Volanis7004a612018-01-24 10:30:13 -0500393 ]
394 },
395 "transports": [
396 "buffered",
397 "framed"
398 ],
399 "sockets": [
James E. King III9aaf2952018-03-20 15:06:08 -0400400 "domain",
James E. King III714c77c2018-03-20 19:58:38 -0400401 "ip",
402 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500403 ],
404 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500405 "binary",
James E. King III9aaf2952018-03-20 15:06:08 -0400406 "binary:accel",
407 "compact",
408 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500409 ],
410 "workdir": "rb/gen-rb"
411 },
412 {
413 "name": "csharp",
414 "env": {
415 "MONO_PATH": "../../lib/csharp/"
416 },
417 "transports": [
418 "buffered",
419 "framed"
420 ],
421 "sockets": [
422 "ip",
423 "ip-ssl"
424 ],
425 "protocols": [
426 "binary",
427 "compact",
428 "json"
429 ],
430 "server": {
431 "command": [
432 "mono",
433 "TestClientServer.exe",
434 "server"
435 ]
436 },
437 "client": {
438 "timeout": 9,
439 "command": [
440 "mono",
441 "TestClientServer.exe",
442 "client"
443 ],
444 "protocols": [
445 "multi",
446 "multic",
447 "multi:binary",
448 "multic:compact"
449 ]
450 },
451 "workdir": "csharp"
452 },
453 {
454 "name": "netcore",
455 "transports": [
456 "buffered",
457 "framed"
458 ],
459 "sockets": [
460 "ip",
461 "ip-ssl"
462 ],
463 "protocols": [
464 "binary",
465 "compact",
466 "json"
467 ],
James E. King III9bea32f2018-03-16 16:07:42 -0400468 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500469 "command": [
470 "dotnet",
471 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400472 "--no-build",
473 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500474 "server"
475 ]
476 },
477 "client": {
478 "timeout": 10,
479 "command": [
480 "dotnet",
481 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400482 "--no-build",
483 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500484 "client"
485 ]
486 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200487 "workdir": "netcore"
Alex Volanis7004a612018-01-24 10:30:13 -0500488 },
489 {
490 "name": "perl",
491 "transports": [
492 "buffered",
493 "framed"
494 ],
495 "sockets": [
496 "ip",
497 "ip-ssl",
498 "domain"
499 ],
500 "protocols": [
501 "binary",
502 "multi"
503 ],
504 "client": {
505 "command": [
506 "perl",
507 "-Igen-perl/",
508 "-I../../lib/perl/lib/",
509 "TestClient.pl",
510 "--ca=../keys/CA.pem",
511 "--cert=../keys/client.crt",
512 "--key=../keys/client.key"
513 ],
514 "protocols": [
515 "multi:binary"
516 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100517 },
Alex Volanis7004a612018-01-24 10:30:13 -0500518 "server": {
519 "command": [
520 "perl",
521 "-Igen-perl/",
522 "-I../../lib/perl/lib/",
523 "TestServer.pl",
524 "--cert=../keys/server.crt",
525 "--key=../keys/server.key"
526 ],
527 "protocols": [
528 "binary:multi"
529 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100530 },
Alex Volanis7004a612018-01-24 10:30:13 -0500531 "workdir": "perl"
532 },
533 {
534 "name": "php",
535 "client": {
536 "timeout": 6,
537 "transports": [
538 "buffered",
539 "framed"
540 ],
541 "sockets": [
542 "ip"
543 ],
544 "protocols": [
545 "binary",
546 "compact",
547 "binary:accel"
548 ],
549 "command": [
550 "php",
551 "-dextension_dir=php_ext_dir",
552 "--php-ini=test_php.ini",
553 "--no-php-ini",
554 "-ddisplay_errors=stderr",
555 "-dlog_errors=0",
556 "-derror_reporting=E_ALL",
557 "TestClient.php"
558 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100559 },
Alex Volanis7004a612018-01-24 10:30:13 -0500560 "workdir": "php"
561 },
562 {
563 "name": "dart",
564 "client": {
James E. King III98f379e2019-01-22 09:22:04 -0500565 "timeout": 20,
Alex Volanis7004a612018-01-24 10:30:13 -0500566 "transports": [
567 "buffered",
568 "framed",
569 "http"
570 ],
571 "sockets": [
572 "ip"
573 ],
574 "protocols": [
575 "binary",
576 "compact",
577 "json"
578 ],
579 "command": [
580 "dart",
James E. King III98f379e2019-01-22 09:22:04 -0500581 "--checked",
582 "test_client/bin/main.dart",
583 "--verbose"
Alex Volanis7004a612018-01-24 10:30:13 -0500584 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100585 },
Alex Volanis7004a612018-01-24 10:30:13 -0500586 "workdir": "dart"
587 },
588 {
589 "name": "erl",
590 "transports": [
591 "buffered",
592 "framed"
593 ],
594 "sockets": [
595 "ip",
596 "ip-ssl"
597 ],
598 "protocols": [
599 "binary",
600 "compact"
601 ],
602 "client": {
603 "command": [
604 "erl",
605 "+K",
606 "true",
607 "-noshell",
608 "-pa",
609 "../../lib/erl/ebin/",
610 "-pa",
611 "./ebin",
612 "-s",
613 "test_client",
614 "-s",
615 "init",
616 "stop",
617 "-extra"
618 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900619 },
Alex Volanis7004a612018-01-24 10:30:13 -0500620 "server": {
621 "command": [
622 "erl",
623 "+K",
624 "true",
625 "-noshell",
626 "-pa",
627 "../../lib/erl/ebin/",
628 "-pa",
629 "./ebin",
630 "-s",
631 "test_thrift_server",
632 "-extra"
633 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900634 },
Alex Volanis7004a612018-01-24 10:30:13 -0500635 "workdir": "erl"
636 },
637 {
638 "name": "js",
639 "transports": [
640 "http"
641 ],
642 "sockets": [
643 "ip"
644 ],
645 "protocols": [
646 "json"
647 ],
648 "client": {
649 "command": [
650 "phantomjs",
651 "test/phantom-client.js"
652 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100653 },
Alex Volanis7004a612018-01-24 10:30:13 -0500654 "workdir": "../lib/js"
655 },
656 {
657 "name": "lua",
658 "TODO": "Add dll to LUA_CPATH",
659 "env": {
660 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
661 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
662 },
663 "client": {
664 "timeout": 5,
665 "transports": [
666 "buffered",
667 "framed",
668 "http"
669 ],
670 "sockets": [
671 "ip"
672 ],
673 "protocols": [
674 "binary",
675 "compact",
676 "json"
677 ],
678 "command": [
679 "lua",
680 "test_basic_client.lua"
681 ]
682 },
683 "workdir": "lua"
684 },
685 {
686 "name": "rs",
687 "env": {
688 "RUST_BACKTRACE": "1",
689 "RUST_LOG": "info"
690 },
691 "server": {
692 "command": [
693 "test_server"
694 ],
695 "protocols": [
696 "binary:multi",
697 "compact:multic"
698 ]
699 },
700 "client": {
701 "timeout": 6,
702 "command": [
703 "test_client"
704 ],
705 "protocols": [
706 "multi:binary",
707 "multic:compact"
708 ]
709 },
710 "sockets": [
711 "ip"
712 ],
713 "transports": [
714 "buffered",
715 "framed"
716 ],
717 "protocols": [
718 "binary",
719 "compact",
720 "multi",
721 "multic"
722 ],
723 "workdir": "rs/bin"
wilfrem2c69b5a2015-04-20 19:24:50 +0900724 },
725 {
726 "name": "nodets",
727 "env": {
728 "NODE_PATH": "../lib"
729 },
730 "server": {
731 "command": [
732 "runServer.sh"
733 ]
734 },
735 "client": {
Mustafa Senol Cosardd965c12018-11-30 20:02:00 +0300736 "timeout": 6,
wilfrem2c69b5a2015-04-20 19:24:50 +0900737 "command": [
738 "runClient.sh"
739 ]
740 },
741 "protocols": [
742 "binary"
743 ],
744 "sockets": [
745 "ip"
746 ],
747 "transports": [
748 "buffered"
749 ],
750 "workdir": "../lib/nodets/test"
Alex Volanis7004a612018-01-24 10:30:13 -0500751 }
752]