blob: 4641f223b8263a7b6a9964c18c1457770b533bcb [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",
67 "--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"
253 ]
254 },
255 "transports": [
256 "buffered",
257 "framed"
258 ],
259 "sockets": [
260 "ip",
261 "ip-ssl"
262 ],
263 "protocols": [
264 "compact",
265 "binary",
266 "json",
267 "binary:accel",
268 "compact:accelc"
269 ],
270 "workdir": "py"
271 },
272 {
273 "comment": "Using 'python3' executable to test py2 and 3 at once",
274 "name": "py3",
275 "server": {
276 "extra_args": ["TSimpleServer"],
277 "command": [
278 "python3",
279 "TestServer.py",
280 "--verbose",
281 "--genpydir=gen-py"
282 ]
283 },
284 "client": {
285 "timeout": 10,
286 "command": [
287 "python3",
288 "TestClient.py",
289 "--host=localhost",
290 "--genpydir=gen-py"
291 ]
292 },
293 "transports": [
294 "buffered",
295 "framed"
296 ],
297 "sockets": [
298 "ip-ssl",
299 "ip"
300 ],
301 "protocols": [
302 "compact",
303 "binary",
304 "json",
305 "binary:accel",
306 "compact:accelc"
307 ],
308 "workdir": "py"
309 },
310 {
311 "name": "cpp",
312 "server": {
313 "command": [
314 "TestServer"
315 ],
316 "protocols": [
317 "binary:multi",
318 "compact:multic",
319 "header:multih",
320 "json:multij"
321 ]
322 },
323 "client": {
324 "timeout": 8,
325 "command": [
326 "TestClient"
327 ],
328 "protocols": [
329 "multi:binary",
330 "multic:compact",
331 "multih:header",
332 "multij:json"
333 ]
334 },
335 "transports": [
336 "buffered",
337 "http",
338 "framed"
339 ],
340 "sockets": [
341 "ip",
342 "ip-ssl",
343 "domain"
344 ],
345 "protocols": [
346 "compact",
347 "binary",
348 "json",
349 "header",
350 "multi",
351 "multic",
352 "multih",
353 "multij"
354 ],
355 "workdir": "cpp"
356 },
357 {
358 "name": "rb",
359 "server": {
360 "command": [
361 "ruby",
362 "../integration/TestServer.rb"
363 ]
364 },
365 "client": {
366 "timeout": 5,
367 "command": [
368 "ruby",
James E. King III714c77c2018-03-20 19:58:38 -0400369 "../integration/TestClient.rb",
370 "--"
Alex Volanis7004a612018-01-24 10:30:13 -0500371 ]
372 },
373 "transports": [
374 "buffered",
375 "framed"
376 ],
377 "sockets": [
James E. King III9aaf2952018-03-20 15:06:08 -0400378 "domain",
James E. King III714c77c2018-03-20 19:58:38 -0400379 "ip",
380 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500381 ],
382 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500383 "binary",
James E. King III9aaf2952018-03-20 15:06:08 -0400384 "binary:accel",
385 "compact",
386 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500387 ],
388 "workdir": "rb/gen-rb"
389 },
390 {
391 "name": "csharp",
392 "env": {
393 "MONO_PATH": "../../lib/csharp/"
394 },
395 "transports": [
396 "buffered",
397 "framed"
398 ],
399 "sockets": [
400 "ip",
401 "ip-ssl"
402 ],
403 "protocols": [
404 "binary",
405 "compact",
406 "json"
407 ],
408 "server": {
409 "command": [
410 "mono",
411 "TestClientServer.exe",
412 "server"
413 ]
414 },
415 "client": {
416 "timeout": 9,
417 "command": [
418 "mono",
419 "TestClientServer.exe",
420 "client"
421 ],
422 "protocols": [
423 "multi",
424 "multic",
425 "multi:binary",
426 "multic:compact"
427 ]
428 },
429 "workdir": "csharp"
430 },
431 {
432 "name": "netcore",
433 "transports": [
434 "buffered",
435 "framed"
436 ],
437 "sockets": [
438 "ip",
439 "ip-ssl"
440 ],
441 "protocols": [
442 "binary",
443 "compact",
444 "json"
445 ],
James E. King III9bea32f2018-03-16 16:07:42 -0400446 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500447 "command": [
448 "dotnet",
449 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400450 "--no-build",
451 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500452 "server"
453 ]
454 },
455 "client": {
456 "timeout": 10,
457 "command": [
458 "dotnet",
459 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400460 "--no-build",
461 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500462 "client"
463 ]
464 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200465 "workdir": "netcore"
Alex Volanis7004a612018-01-24 10:30:13 -0500466 },
467 {
468 "name": "perl",
469 "transports": [
470 "buffered",
471 "framed"
472 ],
473 "sockets": [
474 "ip",
475 "ip-ssl",
476 "domain"
477 ],
478 "protocols": [
479 "binary",
480 "multi"
481 ],
482 "client": {
483 "command": [
484 "perl",
485 "-Igen-perl/",
486 "-I../../lib/perl/lib/",
487 "TestClient.pl",
488 "--ca=../keys/CA.pem",
489 "--cert=../keys/client.crt",
490 "--key=../keys/client.key"
491 ],
492 "protocols": [
493 "multi:binary"
494 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100495 },
Alex Volanis7004a612018-01-24 10:30:13 -0500496 "server": {
497 "command": [
498 "perl",
499 "-Igen-perl/",
500 "-I../../lib/perl/lib/",
501 "TestServer.pl",
502 "--cert=../keys/server.crt",
503 "--key=../keys/server.key"
504 ],
505 "protocols": [
506 "binary:multi"
507 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100508 },
Alex Volanis7004a612018-01-24 10:30:13 -0500509 "workdir": "perl"
510 },
511 {
512 "name": "php",
513 "client": {
514 "timeout": 6,
515 "transports": [
516 "buffered",
517 "framed"
518 ],
519 "sockets": [
520 "ip"
521 ],
522 "protocols": [
523 "binary",
524 "compact",
525 "binary:accel"
526 ],
527 "command": [
528 "php",
529 "-dextension_dir=php_ext_dir",
530 "--php-ini=test_php.ini",
531 "--no-php-ini",
532 "-ddisplay_errors=stderr",
533 "-dlog_errors=0",
534 "-derror_reporting=E_ALL",
535 "TestClient.php"
536 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100537 },
Alex Volanis7004a612018-01-24 10:30:13 -0500538 "workdir": "php"
539 },
540 {
541 "name": "dart",
542 "client": {
543 "transports": [
544 "buffered",
545 "framed",
546 "http"
547 ],
548 "sockets": [
549 "ip"
550 ],
551 "protocols": [
552 "binary",
553 "compact",
554 "json"
555 ],
556 "command": [
557 "dart",
558 "test_client/bin/main.dart"
559 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100560 },
Alex Volanis7004a612018-01-24 10:30:13 -0500561 "workdir": "dart"
562 },
563 {
564 "name": "erl",
565 "transports": [
566 "buffered",
567 "framed"
568 ],
569 "sockets": [
570 "ip",
571 "ip-ssl"
572 ],
573 "protocols": [
574 "binary",
575 "compact"
576 ],
577 "client": {
578 "command": [
579 "erl",
580 "+K",
581 "true",
582 "-noshell",
583 "-pa",
584 "../../lib/erl/ebin/",
585 "-pa",
586 "./ebin",
587 "-s",
588 "test_client",
589 "-s",
590 "init",
591 "stop",
592 "-extra"
593 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900594 },
Alex Volanis7004a612018-01-24 10:30:13 -0500595 "server": {
596 "command": [
597 "erl",
598 "+K",
599 "true",
600 "-noshell",
601 "-pa",
602 "../../lib/erl/ebin/",
603 "-pa",
604 "./ebin",
605 "-s",
606 "test_thrift_server",
607 "-extra"
608 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900609 },
Alex Volanis7004a612018-01-24 10:30:13 -0500610 "workdir": "erl"
611 },
612 {
613 "name": "js",
614 "transports": [
615 "http"
616 ],
617 "sockets": [
618 "ip"
619 ],
620 "protocols": [
621 "json"
622 ],
623 "client": {
624 "command": [
625 "phantomjs",
626 "test/phantom-client.js"
627 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100628 },
Alex Volanis7004a612018-01-24 10:30:13 -0500629 "workdir": "../lib/js"
630 },
631 {
632 "name": "lua",
633 "TODO": "Add dll to LUA_CPATH",
634 "env": {
635 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
636 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
637 },
638 "client": {
639 "timeout": 5,
640 "transports": [
641 "buffered",
642 "framed",
643 "http"
644 ],
645 "sockets": [
646 "ip"
647 ],
648 "protocols": [
649 "binary",
650 "compact",
651 "json"
652 ],
653 "command": [
654 "lua",
655 "test_basic_client.lua"
656 ]
657 },
658 "workdir": "lua"
659 },
660 {
661 "name": "rs",
662 "env": {
663 "RUST_BACKTRACE": "1",
664 "RUST_LOG": "info"
665 },
666 "server": {
667 "command": [
668 "test_server"
669 ],
670 "protocols": [
671 "binary:multi",
672 "compact:multic"
673 ]
674 },
675 "client": {
676 "timeout": 6,
677 "command": [
678 "test_client"
679 ],
680 "protocols": [
681 "multi:binary",
682 "multic:compact"
683 ]
684 },
685 "sockets": [
686 "ip"
687 ],
688 "transports": [
689 "buffered",
690 "framed"
691 ],
692 "protocols": [
693 "binary",
694 "compact",
695 "multi",
696 "multic"
697 ],
698 "workdir": "rs/bin"
699 }
700]