blob: 72790acc9e2a8becc2f6da8dd65198acd0866d2f [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",
276 "compact:accelc"
277 ],
278 "workdir": "py"
279 },
280 {
281 "comment": "Using 'python3' executable to test py2 and 3 at once",
282 "name": "py3",
283 "server": {
284 "extra_args": ["TSimpleServer"],
285 "command": [
286 "python3",
287 "TestServer.py",
288 "--verbose",
289 "--genpydir=gen-py"
290 ]
291 },
292 "client": {
293 "timeout": 10,
294 "command": [
295 "python3",
296 "TestClient.py",
297 "--host=localhost",
298 "--genpydir=gen-py"
James E. King III20685442018-04-10 10:30:51 -0400299 ],
300 "protocols": [
301 "multi",
302 "multi:multia",
303 "multic",
304 "multic:multiac",
305 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500306 ]
307 },
308 "transports": [
309 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400310 "framed",
311 "http"
Alex Volanis7004a612018-01-24 10:30:13 -0500312 ],
313 "sockets": [
James E. King III6f8c99e2018-03-24 16:32:02 -0400314 "ip",
315 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500316 ],
317 "protocols": [
318 "compact",
319 "binary",
320 "json",
321 "binary:accel",
322 "compact:accelc"
323 ],
324 "workdir": "py"
325 },
326 {
327 "name": "cpp",
328 "server": {
329 "command": [
330 "TestServer"
331 ],
332 "protocols": [
333 "binary:multi",
334 "compact:multic",
335 "header:multih",
336 "json:multij"
337 ]
338 },
339 "client": {
340 "timeout": 8,
341 "command": [
342 "TestClient"
343 ],
344 "protocols": [
345 "multi:binary",
346 "multic:compact",
347 "multih:header",
348 "multij:json"
349 ]
350 },
351 "transports": [
352 "buffered",
353 "http",
354 "framed"
355 ],
356 "sockets": [
357 "ip",
358 "ip-ssl",
359 "domain"
360 ],
361 "protocols": [
362 "compact",
363 "binary",
364 "json",
365 "header",
366 "multi",
367 "multic",
368 "multih",
369 "multij"
370 ],
371 "workdir": "cpp"
372 },
373 {
374 "name": "rb",
375 "server": {
376 "command": [
377 "ruby",
378 "../integration/TestServer.rb"
379 ]
380 },
381 "client": {
382 "timeout": 5,
383 "command": [
384 "ruby",
James E. King III714c77c2018-03-20 19:58:38 -0400385 "../integration/TestClient.rb",
386 "--"
Alex Volanis7004a612018-01-24 10:30:13 -0500387 ]
388 },
389 "transports": [
390 "buffered",
391 "framed"
392 ],
393 "sockets": [
James E. King III9aaf2952018-03-20 15:06:08 -0400394 "domain",
James E. King III714c77c2018-03-20 19:58:38 -0400395 "ip",
396 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500397 ],
398 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500399 "binary",
James E. King III9aaf2952018-03-20 15:06:08 -0400400 "binary:accel",
401 "compact",
402 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500403 ],
404 "workdir": "rb/gen-rb"
405 },
406 {
407 "name": "csharp",
408 "env": {
409 "MONO_PATH": "../../lib/csharp/"
410 },
411 "transports": [
412 "buffered",
413 "framed"
414 ],
415 "sockets": [
416 "ip",
417 "ip-ssl"
418 ],
419 "protocols": [
420 "binary",
421 "compact",
422 "json"
423 ],
424 "server": {
425 "command": [
426 "mono",
427 "TestClientServer.exe",
428 "server"
429 ]
430 },
431 "client": {
432 "timeout": 9,
433 "command": [
434 "mono",
435 "TestClientServer.exe",
436 "client"
437 ],
438 "protocols": [
439 "multi",
440 "multic",
441 "multi:binary",
442 "multic:compact"
443 ]
444 },
445 "workdir": "csharp"
446 },
447 {
448 "name": "netcore",
449 "transports": [
450 "buffered",
451 "framed"
452 ],
453 "sockets": [
454 "ip",
455 "ip-ssl"
456 ],
457 "protocols": [
458 "binary",
459 "compact",
460 "json"
461 ],
James E. King III9bea32f2018-03-16 16:07:42 -0400462 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500463 "command": [
464 "dotnet",
465 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400466 "--no-build",
467 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500468 "server"
469 ]
470 },
471 "client": {
472 "timeout": 10,
473 "command": [
474 "dotnet",
475 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400476 "--no-build",
477 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500478 "client"
479 ]
480 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200481 "workdir": "netcore"
Alex Volanis7004a612018-01-24 10:30:13 -0500482 },
483 {
484 "name": "perl",
485 "transports": [
486 "buffered",
487 "framed"
488 ],
489 "sockets": [
490 "ip",
491 "ip-ssl",
492 "domain"
493 ],
494 "protocols": [
495 "binary",
496 "multi"
497 ],
498 "client": {
499 "command": [
500 "perl",
501 "-Igen-perl/",
502 "-I../../lib/perl/lib/",
503 "TestClient.pl",
504 "--ca=../keys/CA.pem",
505 "--cert=../keys/client.crt",
506 "--key=../keys/client.key"
507 ],
508 "protocols": [
509 "multi:binary"
510 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100511 },
Alex Volanis7004a612018-01-24 10:30:13 -0500512 "server": {
513 "command": [
514 "perl",
515 "-Igen-perl/",
516 "-I../../lib/perl/lib/",
517 "TestServer.pl",
518 "--cert=../keys/server.crt",
519 "--key=../keys/server.key"
520 ],
521 "protocols": [
522 "binary:multi"
523 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100524 },
Alex Volanis7004a612018-01-24 10:30:13 -0500525 "workdir": "perl"
526 },
527 {
528 "name": "php",
529 "client": {
530 "timeout": 6,
531 "transports": [
532 "buffered",
533 "framed"
534 ],
535 "sockets": [
536 "ip"
537 ],
538 "protocols": [
539 "binary",
540 "compact",
541 "binary:accel"
542 ],
543 "command": [
544 "php",
545 "-dextension_dir=php_ext_dir",
546 "--php-ini=test_php.ini",
547 "--no-php-ini",
548 "-ddisplay_errors=stderr",
549 "-dlog_errors=0",
550 "-derror_reporting=E_ALL",
551 "TestClient.php"
552 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100553 },
Alex Volanis7004a612018-01-24 10:30:13 -0500554 "workdir": "php"
555 },
556 {
557 "name": "dart",
558 "client": {
559 "transports": [
560 "buffered",
561 "framed",
562 "http"
563 ],
564 "sockets": [
565 "ip"
566 ],
567 "protocols": [
568 "binary",
569 "compact",
570 "json"
571 ],
572 "command": [
573 "dart",
574 "test_client/bin/main.dart"
575 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100576 },
Alex Volanis7004a612018-01-24 10:30:13 -0500577 "workdir": "dart"
578 },
579 {
580 "name": "erl",
581 "transports": [
582 "buffered",
583 "framed"
584 ],
585 "sockets": [
586 "ip",
587 "ip-ssl"
588 ],
589 "protocols": [
590 "binary",
591 "compact"
592 ],
593 "client": {
594 "command": [
595 "erl",
596 "+K",
597 "true",
598 "-noshell",
599 "-pa",
600 "../../lib/erl/ebin/",
601 "-pa",
602 "./ebin",
603 "-s",
604 "test_client",
605 "-s",
606 "init",
607 "stop",
608 "-extra"
609 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900610 },
Alex Volanis7004a612018-01-24 10:30:13 -0500611 "server": {
612 "command": [
613 "erl",
614 "+K",
615 "true",
616 "-noshell",
617 "-pa",
618 "../../lib/erl/ebin/",
619 "-pa",
620 "./ebin",
621 "-s",
622 "test_thrift_server",
623 "-extra"
624 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900625 },
Alex Volanis7004a612018-01-24 10:30:13 -0500626 "workdir": "erl"
627 },
628 {
629 "name": "js",
630 "transports": [
631 "http"
632 ],
633 "sockets": [
634 "ip"
635 ],
636 "protocols": [
637 "json"
638 ],
639 "client": {
640 "command": [
641 "phantomjs",
642 "test/phantom-client.js"
643 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100644 },
Alex Volanis7004a612018-01-24 10:30:13 -0500645 "workdir": "../lib/js"
646 },
647 {
648 "name": "lua",
649 "TODO": "Add dll to LUA_CPATH",
650 "env": {
651 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
652 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
653 },
654 "client": {
655 "timeout": 5,
656 "transports": [
657 "buffered",
658 "framed",
659 "http"
660 ],
661 "sockets": [
662 "ip"
663 ],
664 "protocols": [
665 "binary",
666 "compact",
667 "json"
668 ],
669 "command": [
670 "lua",
671 "test_basic_client.lua"
672 ]
673 },
674 "workdir": "lua"
675 },
676 {
677 "name": "rs",
678 "env": {
679 "RUST_BACKTRACE": "1",
680 "RUST_LOG": "info"
681 },
682 "server": {
683 "command": [
684 "test_server"
685 ],
686 "protocols": [
687 "binary:multi",
688 "compact:multic"
689 ]
690 },
691 "client": {
692 "timeout": 6,
693 "command": [
694 "test_client"
695 ],
696 "protocols": [
697 "multi:binary",
698 "multic:compact"
699 ]
700 },
701 "sockets": [
702 "ip"
703 ],
704 "transports": [
705 "buffered",
706 "framed"
707 ],
708 "protocols": [
709 "binary",
710 "compact",
711 "multi",
712 "multic"
713 ],
714 "workdir": "rs/bin"
715 }
716]