blob: 85a0c0797a2ed81c9c3fe18052811d4c22b6b5e4 [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",
108 "http"
109 ],
110 "sockets": [
111 "ip",
112 "ip-ssl"
113 ],
114 "protocols": [
115 "binary",
116 "compact",
117 "json"
118 ],
119 "workdir": "go/bin"
120 },
121 {
122 "name": "java",
123 "join_args": false,
124 "server": {
125 "delay": 15,
126 "command": [
127 "build/runserver"
128 ],
129 "protocols": [
130 "binary:multi",
131 "compact:multic",
132 "json:multij"
133 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100134 },
Alex Volanis7004a612018-01-24 10:30:13 -0500135 "client": {
136 "timeout": 13,
137 "command": [
138 "build/runclient"
139 ],
140 "transports": [
141 "http"
142 ],
143 "protocols": [
144 "multi:binary",
145 "multic:compact",
146 "multij:json"
147 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100148 },
Alex Volanis7004a612018-01-24 10:30:13 -0500149 "transports": [
150 "buffered",
151 "framed",
152 "framed:fastframed"
153 ],
154 "sockets": [
155 "ip",
156 "ip-ssl"
157 ],
158 "protocols": [
159 "binary",
160 "compact",
161 "json",
162 "multi",
163 "multic",
164 "multij"
165 ],
166 "workdir": "../lib/java"
167 },
168 {
169 "name": "nodejs",
170 "env": {
171 "NODE_PATH": "../lib"
Roger Meier41ad4342015-03-24 22:30:40 +0100172 },
Alex Volanis7004a612018-01-24 10:30:13 -0500173 "server": {
174 "command": [
175 "node",
176 "server.js",
177 "--type=tcp"
178 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100179 },
Alex Volanis7004a612018-01-24 10:30:13 -0500180 "client": {
181 "timeout": 6,
182 "command": [
183 "node",
184 "client.js",
185 "--type=tcp"
186 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100187 },
Alex Volanis7004a612018-01-24 10:30:13 -0500188 "transports": [
189 "buffered",
190 "framed",
191 "http"
192 ],
193 "sockets": [
194 "ip",
Daniel Shihe41de0f2018-03-21 08:28:38 +0800195 "ip-ssl",
196 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500197 ],
198 "protocols": [
199 "compact",
200 "binary",
201 "json"
202 ],
203 "workdir": "../lib/nodejs/test"
204 },
205 {
206 "name": "hs",
207 "server": {
208 "command": [
209 "TestServer"
210 ]
211 },
212 "client": {
213 "timeout": 6,
214 "transports": [
215 "http"
216 ],
217 "command": [
218 "TestClient"
219 ]
220 },
221 "transports": [
222 "buffered",
223 "framed"
224 ],
225 "sockets": [
226 "ip"
227 ],
228 "protocols": [
229 "header",
230 "compact",
231 "binary",
232 "json"
233 ],
234 "workdir": "hs"
235 },
236 {
237 "name": "py",
238 "server": {
239 "extra_args": ["TSimpleServer"],
240 "command": [
241 "TestServer.py",
242 "--verbose",
243 "--genpydir=gen-py"
244 ]
245 },
246 "client": {
247 "timeout": 10,
248 "command": [
249 "TestClient.py",
250 "--verbose",
251 "--host=localhost",
252 "--genpydir=gen-py"
James E. King III20685442018-04-10 10:30:51 -0400253 ],
254 "protocols": [
255 "multi",
256 "multi:multia",
257 "multic",
258 "multic:multiac",
259 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500260 ]
261 },
262 "transports": [
263 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400264 "framed",
265 "http"
Alex Volanis7004a612018-01-24 10:30:13 -0500266 ],
267 "sockets": [
268 "ip",
269 "ip-ssl"
270 ],
271 "protocols": [
272 "compact",
273 "binary",
274 "json",
275 "binary:accel",
Neil Williams66a44c52018-08-13 16:12:24 -0700276 "compact:accelc",
277 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500278 ],
279 "workdir": "py"
280 },
281 {
282 "comment": "Using 'python3' executable to test py2 and 3 at once",
283 "name": "py3",
284 "server": {
285 "extra_args": ["TSimpleServer"],
286 "command": [
287 "python3",
288 "TestServer.py",
289 "--verbose",
290 "--genpydir=gen-py"
291 ]
292 },
293 "client": {
294 "timeout": 10,
295 "command": [
296 "python3",
297 "TestClient.py",
298 "--host=localhost",
299 "--genpydir=gen-py"
James E. King III20685442018-04-10 10:30:51 -0400300 ],
301 "protocols": [
302 "multi",
303 "multi:multia",
304 "multic",
305 "multic:multiac",
306 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500307 ]
308 },
309 "transports": [
310 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400311 "framed",
312 "http"
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": [
319 "compact",
320 "binary",
321 "json",
322 "binary:accel",
Neil Williams66a44c52018-08-13 16:12:24 -0700323 "compact:accelc",
324 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500325 ],
326 "workdir": "py"
327 },
328 {
329 "name": "cpp",
330 "server": {
331 "command": [
332 "TestServer"
333 ],
334 "protocols": [
335 "binary:multi",
336 "compact:multic",
337 "header:multih",
338 "json:multij"
339 ]
340 },
341 "client": {
342 "timeout": 8,
343 "command": [
344 "TestClient"
345 ],
346 "protocols": [
347 "multi:binary",
348 "multic:compact",
349 "multih:header",
350 "multij:json"
351 ]
352 },
353 "transports": [
354 "buffered",
355 "http",
356 "framed"
357 ],
358 "sockets": [
359 "ip",
360 "ip-ssl",
361 "domain"
362 ],
363 "protocols": [
364 "compact",
365 "binary",
366 "json",
367 "header",
368 "multi",
369 "multic",
370 "multih",
371 "multij"
372 ],
373 "workdir": "cpp"
374 },
375 {
376 "name": "rb",
377 "server": {
378 "command": [
379 "ruby",
380 "../integration/TestServer.rb"
381 ]
382 },
383 "client": {
384 "timeout": 5,
385 "command": [
386 "ruby",
James E. King III714c77c2018-03-20 19:58:38 -0400387 "../integration/TestClient.rb",
388 "--"
Alex Volanis7004a612018-01-24 10:30:13 -0500389 ]
390 },
391 "transports": [
392 "buffered",
393 "framed"
394 ],
395 "sockets": [
James E. King III9aaf2952018-03-20 15:06:08 -0400396 "domain",
James E. King III714c77c2018-03-20 19:58:38 -0400397 "ip",
398 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500399 ],
400 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500401 "binary",
James E. King III9aaf2952018-03-20 15:06:08 -0400402 "binary:accel",
403 "compact",
404 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500405 ],
406 "workdir": "rb/gen-rb"
407 },
408 {
409 "name": "csharp",
410 "env": {
411 "MONO_PATH": "../../lib/csharp/"
412 },
413 "transports": [
414 "buffered",
415 "framed"
416 ],
417 "sockets": [
418 "ip",
419 "ip-ssl"
420 ],
421 "protocols": [
422 "binary",
423 "compact",
424 "json"
425 ],
426 "server": {
427 "command": [
428 "mono",
429 "TestClientServer.exe",
430 "server"
431 ]
432 },
433 "client": {
434 "timeout": 9,
435 "command": [
436 "mono",
437 "TestClientServer.exe",
438 "client"
439 ],
440 "protocols": [
441 "multi",
442 "multic",
443 "multi:binary",
444 "multic:compact"
445 ]
446 },
447 "workdir": "csharp"
448 },
449 {
450 "name": "netcore",
451 "transports": [
452 "buffered",
453 "framed"
454 ],
455 "sockets": [
456 "ip",
457 "ip-ssl"
458 ],
459 "protocols": [
460 "binary",
461 "compact",
462 "json"
463 ],
James E. King III9bea32f2018-03-16 16:07:42 -0400464 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500465 "command": [
466 "dotnet",
467 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400468 "--no-build",
469 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500470 "server"
471 ]
472 },
473 "client": {
474 "timeout": 10,
475 "command": [
476 "dotnet",
477 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400478 "--no-build",
479 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500480 "client"
481 ]
482 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200483 "workdir": "netcore"
Alex Volanis7004a612018-01-24 10:30:13 -0500484 },
485 {
486 "name": "perl",
487 "transports": [
488 "buffered",
489 "framed"
490 ],
491 "sockets": [
492 "ip",
493 "ip-ssl",
494 "domain"
495 ],
496 "protocols": [
497 "binary",
498 "multi"
499 ],
500 "client": {
501 "command": [
502 "perl",
503 "-Igen-perl/",
504 "-I../../lib/perl/lib/",
505 "TestClient.pl",
506 "--ca=../keys/CA.pem",
507 "--cert=../keys/client.crt",
508 "--key=../keys/client.key"
509 ],
510 "protocols": [
511 "multi:binary"
512 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100513 },
Alex Volanis7004a612018-01-24 10:30:13 -0500514 "server": {
515 "command": [
516 "perl",
517 "-Igen-perl/",
518 "-I../../lib/perl/lib/",
519 "TestServer.pl",
520 "--cert=../keys/server.crt",
521 "--key=../keys/server.key"
522 ],
523 "protocols": [
524 "binary:multi"
525 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100526 },
Alex Volanis7004a612018-01-24 10:30:13 -0500527 "workdir": "perl"
528 },
529 {
530 "name": "php",
531 "client": {
532 "timeout": 6,
533 "transports": [
534 "buffered",
535 "framed"
536 ],
537 "sockets": [
538 "ip"
539 ],
540 "protocols": [
541 "binary",
542 "compact",
543 "binary:accel"
544 ],
545 "command": [
546 "php",
547 "-dextension_dir=php_ext_dir",
548 "--php-ini=test_php.ini",
549 "--no-php-ini",
550 "-ddisplay_errors=stderr",
551 "-dlog_errors=0",
552 "-derror_reporting=E_ALL",
553 "TestClient.php"
554 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100555 },
Alex Volanis7004a612018-01-24 10:30:13 -0500556 "workdir": "php"
557 },
558 {
559 "name": "dart",
560 "client": {
561 "transports": [
562 "buffered",
563 "framed",
564 "http"
565 ],
566 "sockets": [
567 "ip"
568 ],
569 "protocols": [
570 "binary",
571 "compact",
572 "json"
573 ],
574 "command": [
575 "dart",
576 "test_client/bin/main.dart"
577 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100578 },
Alex Volanis7004a612018-01-24 10:30:13 -0500579 "workdir": "dart"
580 },
581 {
582 "name": "erl",
583 "transports": [
584 "buffered",
585 "framed"
586 ],
587 "sockets": [
588 "ip",
589 "ip-ssl"
590 ],
591 "protocols": [
592 "binary",
593 "compact"
594 ],
595 "client": {
596 "command": [
597 "erl",
598 "+K",
599 "true",
600 "-noshell",
601 "-pa",
602 "../../lib/erl/ebin/",
603 "-pa",
604 "./ebin",
605 "-s",
606 "test_client",
607 "-s",
608 "init",
609 "stop",
610 "-extra"
611 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900612 },
Alex Volanis7004a612018-01-24 10:30:13 -0500613 "server": {
614 "command": [
615 "erl",
616 "+K",
617 "true",
618 "-noshell",
619 "-pa",
620 "../../lib/erl/ebin/",
621 "-pa",
622 "./ebin",
623 "-s",
624 "test_thrift_server",
625 "-extra"
626 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900627 },
Alex Volanis7004a612018-01-24 10:30:13 -0500628 "workdir": "erl"
629 },
630 {
631 "name": "js",
632 "transports": [
633 "http"
634 ],
635 "sockets": [
636 "ip"
637 ],
638 "protocols": [
639 "json"
640 ],
641 "client": {
642 "command": [
643 "phantomjs",
644 "test/phantom-client.js"
645 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100646 },
Alex Volanis7004a612018-01-24 10:30:13 -0500647 "workdir": "../lib/js"
648 },
649 {
650 "name": "lua",
651 "TODO": "Add dll to LUA_CPATH",
652 "env": {
653 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
654 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
655 },
656 "client": {
657 "timeout": 5,
658 "transports": [
659 "buffered",
660 "framed",
661 "http"
662 ],
663 "sockets": [
664 "ip"
665 ],
666 "protocols": [
667 "binary",
668 "compact",
669 "json"
670 ],
671 "command": [
672 "lua",
673 "test_basic_client.lua"
674 ]
675 },
676 "workdir": "lua"
677 },
678 {
679 "name": "rs",
680 "env": {
681 "RUST_BACKTRACE": "1",
682 "RUST_LOG": "info"
683 },
684 "server": {
685 "command": [
686 "test_server"
687 ],
688 "protocols": [
689 "binary:multi",
690 "compact:multic"
691 ]
692 },
693 "client": {
694 "timeout": 6,
695 "command": [
696 "test_client"
697 ],
698 "protocols": [
699 "multi:binary",
700 "multic:compact"
701 ]
702 },
703 "sockets": [
704 "ip"
705 ],
706 "transports": [
707 "buffered",
708 "framed"
709 ],
710 "protocols": [
711 "binary",
712 "compact",
713 "multi",
714 "multic"
715 ],
716 "workdir": "rs/bin"
717 }
718]