blob: 43d6dedae209d2c2d92937b41b0a57c4056f0c67 [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": {
565 "transports": [
566 "buffered",
567 "framed",
568 "http"
569 ],
570 "sockets": [
571 "ip"
572 ],
573 "protocols": [
574 "binary",
575 "compact",
576 "json"
577 ],
578 "command": [
579 "dart",
580 "test_client/bin/main.dart"
581 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100582 },
Alex Volanis7004a612018-01-24 10:30:13 -0500583 "workdir": "dart"
584 },
585 {
586 "name": "erl",
587 "transports": [
588 "buffered",
589 "framed"
590 ],
591 "sockets": [
592 "ip",
593 "ip-ssl"
594 ],
595 "protocols": [
596 "binary",
597 "compact"
598 ],
599 "client": {
600 "command": [
601 "erl",
602 "+K",
603 "true",
604 "-noshell",
605 "-pa",
606 "../../lib/erl/ebin/",
607 "-pa",
608 "./ebin",
609 "-s",
610 "test_client",
611 "-s",
612 "init",
613 "stop",
614 "-extra"
615 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900616 },
Alex Volanis7004a612018-01-24 10:30:13 -0500617 "server": {
618 "command": [
619 "erl",
620 "+K",
621 "true",
622 "-noshell",
623 "-pa",
624 "../../lib/erl/ebin/",
625 "-pa",
626 "./ebin",
627 "-s",
628 "test_thrift_server",
629 "-extra"
630 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900631 },
Alex Volanis7004a612018-01-24 10:30:13 -0500632 "workdir": "erl"
633 },
634 {
635 "name": "js",
636 "transports": [
637 "http"
638 ],
639 "sockets": [
640 "ip"
641 ],
642 "protocols": [
643 "json"
644 ],
645 "client": {
646 "command": [
647 "phantomjs",
648 "test/phantom-client.js"
649 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100650 },
Alex Volanis7004a612018-01-24 10:30:13 -0500651 "workdir": "../lib/js"
652 },
653 {
654 "name": "lua",
655 "TODO": "Add dll to LUA_CPATH",
656 "env": {
657 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
658 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
659 },
660 "client": {
661 "timeout": 5,
662 "transports": [
663 "buffered",
664 "framed",
665 "http"
666 ],
667 "sockets": [
668 "ip"
669 ],
670 "protocols": [
671 "binary",
672 "compact",
673 "json"
674 ],
675 "command": [
676 "lua",
677 "test_basic_client.lua"
678 ]
679 },
680 "workdir": "lua"
681 },
682 {
683 "name": "rs",
684 "env": {
685 "RUST_BACKTRACE": "1",
686 "RUST_LOG": "info"
687 },
688 "server": {
689 "command": [
690 "test_server"
691 ],
692 "protocols": [
693 "binary:multi",
694 "compact:multic"
695 ]
696 },
697 "client": {
698 "timeout": 6,
699 "command": [
700 "test_client"
701 ],
702 "protocols": [
703 "multi:binary",
704 "multic:compact"
705 ]
706 },
707 "sockets": [
708 "ip"
709 ],
710 "transports": [
711 "buffered",
712 "framed"
713 ],
714 "protocols": [
715 "binary",
716 "compact",
717 "multi",
718 "multic"
719 ],
720 "workdir": "rs/bin"
wilfrem2c69b5a2015-04-20 19:24:50 +0900721 },
722 {
723 "name": "nodets",
724 "env": {
725 "NODE_PATH": "../lib"
726 },
727 "server": {
728 "command": [
729 "runServer.sh"
730 ]
731 },
732 "client": {
Mustafa Senol Cosardd965c12018-11-30 20:02:00 +0300733 "timeout": 6,
wilfrem2c69b5a2015-04-20 19:24:50 +0900734 "command": [
735 "runClient.sh"
736 ]
737 },
738 "protocols": [
739 "binary"
740 ],
741 "sockets": [
742 "ip"
743 ],
744 "transports": [
745 "buffered"
746 ],
747 "workdir": "../lib/nodets/test"
Alex Volanis7004a612018-01-24 10:30:13 -0500748 }
749]