blob: fd79a9b4246b96a9ba4d1a7ec41394a135e781ed [file] [log] [blame]
Volodymyr Gotra54993292017-12-18 02:08:09 +02001[{
2 "name": "c_glib",
3 "platforms": [
4 "Linux"
5 ],
6 "server": {
7 "command": [
8 "test_server",
9 "--lt-debug"
10 ],
11 "protocols": [
12 "binary:multi",
13 "compact:multic"
14 ]
15 },
16 "client": {
17 "command": [
18 "test_client",
19 "--lt-debug"
20 ],
21 "protocols": [
22 "multi:binary",
23 "multic:compact"
24 ],
25 "sockets": [
26 "ip-ssl"
27 ]
28 },
29 "transports": [
30 "buffered",
31 "framed"
32 ],
33 "sockets": [
34 "ip"
35 ],
36 "protocols": [
37 "binary",
38 "compact",
39 "multi",
40 "multic"
41 ],
42 "workdir": "c_glib"
Roger Meier41ad4342015-03-24 22:30:40 +010043 },
Volodymyr Gotra54993292017-12-18 02:08:09 +020044 {
45 "name": "d",
46 "server": {
47 "command": [
48 "thrift_test_server"
49 ]
50 },
51 "client": {
52 "command": [
53 "thrift_test_client"
54 ]
55 },
56 "transports": [
57 "http",
58 "buffered",
59 "framed"
60 ],
61 "sockets": [
62 "ip",
63 "ip-ssl"
64 ],
65 "protocols": [
66 "binary",
67 "compact",
68 "json"
69 ],
70 "workdir": "../lib/d/test"
Roger Meier41ad4342015-03-24 22:30:40 +010071 },
Volodymyr Gotra54993292017-12-18 02:08:09 +020072 {
73 "name": "go",
74 "server": {
75 "command": [
76 "testserver",
77 "--certPath=../../keys"
78 ]
79 },
80 "client": {
81 "timeout": 6,
82 "command": [
83 "testclient"
84 ]
85 },
86 "transports": [
87 "buffered",
88 "framed",
89 "http"
90 ],
91 "sockets": [
92 "ip",
93 "ip-ssl"
94 ],
95 "protocols": [
96 "binary",
97 "compact",
98 "json"
99 ],
100 "workdir": "go/bin"
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +0900101 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200102 {
103 "name": "java",
104 "join_args": true,
105 "command": [
106 "ant",
107 "-f",
108 "build.xml",
109 "-Dno-gen-thrift=\"\"",
110 "-Dtestargs"
111 ],
112 "prepare": [
113 "ant",
114 "-f",
115 "build.xml",
116 "compile-test"
117 ],
118 "server": {
119 "delay": 10,
120 "extra_args": ["run-testserver"],
121 "protocols": [
122 "binary:multi",
123 "compact:multic",
124 "json:multij"
125 ]
126 },
127 "client": {
128 "timeout": 13,
129 "extra_args": ["run-testclient"],
130 "transports": [
131 "http"
132 ],
133 "protocols": [
134 "multi:binary",
135 "multic:compact",
136 "multij:json"
137 ]
138 },
139 "transports": [
140 "buffered",
141 "framed",
142 "framed:fastframed"
143 ],
144 "sockets": [
145 "ip",
146 "ip-ssl"
147 ],
148 "protocols": [
149 "binary",
150 "compact",
151 "json",
152 "multi",
153 "multic",
154 "multij"
155 ],
156 "workdir": "../lib/java"
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +0900157 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200158 {
159 "name": "nodejs",
160 "env": {
161 "NODE_PATH": "../lib"
162 },
163 "server": {
164 "command": [
165 "node",
166 "server.js",
167 "--type=tcp"
168 ]
169 },
170 "client": {
171 "timeout": 6,
172 "command": [
173 "node",
174 "client.js",
175 "--type=tcp"
176 ]
177 },
178 "transports": [
179 "buffered",
180 "framed",
181 "http"
182 ],
183 "sockets": [
184 "ip",
185 "ip-ssl"
186 ],
187 "protocols": [
188 "compact",
189 "binary",
190 "json"
191 ],
192 "workdir": "../lib/nodejs/test"
Roger Meier41ad4342015-03-24 22:30:40 +0100193 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200194 {
195 "name": "hs",
196 "server": {
197 "command": [
198 "TestServer"
199 ]
200 },
201 "client": {
202 "timeout": 6,
203 "transports": [
204 "http"
205 ],
206 "command": [
207 "TestClient"
208 ]
209 },
210 "transports": [
211 "buffered",
212 "framed"
213 ],
214 "sockets": [
215 "ip"
216 ],
217 "protocols": [
218 "header",
219 "compact",
220 "binary",
221 "json"
222 ],
223 "workdir": "hs"
Roger Meier41ad4342015-03-24 22:30:40 +0100224 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200225 {
226 "name": "py",
227 "server": {
228 "extra_args": ["TSimpleServer"],
229 "command": [
230 "TestServer.py",
231 "--verbose",
232 "--genpydir=gen-py"
233 ]
234 },
235 "client": {
236 "timeout": 10,
237 "command": [
238 "TestClient.py",
239 "--verbose",
240 "--host=localhost",
241 "--genpydir=gen-py"
242 ]
243 },
244 "transports": [
245 "buffered",
246 "framed"
247 ],
248 "sockets": [
249 "ip",
250 "ip-ssl"
251 ],
252 "protocols": [
253 "compact",
254 "binary",
255 "json",
256 "binary:accel",
257 "compact:accelc"
258 ],
259 "workdir": "py"
Roger Meier41ad4342015-03-24 22:30:40 +0100260 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200261 {
262 "comment": "Using 'python3' executable to test py2 and 3 at once",
263 "name": "py3",
264 "server": {
265 "extra_args": ["TSimpleServer"],
266 "command": [
267 "python3",
268 "TestServer.py",
269 "--verbose",
270 "--genpydir=gen-py"
271 ]
272 },
273 "client": {
274 "timeout": 10,
275 "command": [
276 "python3",
277 "TestClient.py",
278 "--host=localhost",
279 "--genpydir=gen-py"
280 ]
281 },
282 "transports": [
283 "buffered",
284 "framed"
285 ],
286 "sockets": [
287 "ip-ssl",
288 "ip"
289 ],
290 "protocols": [
291 "compact",
292 "binary",
293 "json",
294 "binary:accel",
295 "compact:accelc"
296 ],
297 "workdir": "py"
Roger Meier41ad4342015-03-24 22:30:40 +0100298 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200299 {
300 "name": "cpp",
301 "server": {
302 "command": [
303 "TestServer"
304 ],
305 "protocols": [
306 "binary:multi",
307 "compact:multic",
308 "header:multih",
309 "json:multij"
310 ]
311 },
312 "client": {
313 "timeout": 8,
314 "command": [
315 "TestClient"
316 ],
317 "protocols": [
318 "multi:binary",
319 "multic:compact",
320 "multih:header",
321 "multij:json"
322 ]
323 },
324 "transports": [
325 "buffered",
326 "http",
327 "framed"
328 ],
329 "sockets": [
330 "ip",
331 "ip-ssl",
332 "domain"
333 ],
334 "protocols": [
335 "compact",
336 "binary",
337 "json",
338 "header",
339 "multi",
340 "multic",
341 "multih",
342 "multij"
343 ],
344 "workdir": "cpp"
Roger Meier41ad4342015-03-24 22:30:40 +0100345 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200346 {
347 "name": "rb",
348 "server": {
349 "command": [
350 "ruby",
351 "../integration/TestServer.rb"
352 ]
353 },
354 "client": {
355 "timeout": 5,
356 "command": [
357 "ruby",
358 "../integration/TestClient.rb"
359 ]
360 },
361 "transports": [
362 "buffered",
363 "framed"
364 ],
365 "sockets": [
366 "ip"
367 ],
368 "protocols": [
369 "compact",
370 "binary",
371 "json",
372 "binary:accel"
373 ],
374 "workdir": "rb/gen-rb"
Roger Meier41ad4342015-03-24 22:30:40 +0100375 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200376 {
377 "name": "csharp",
378 "env": {
379 "MONO_PATH": "../../lib/csharp/"
380 },
381 "transports": [
382 "buffered",
383 "framed"
384 ],
385 "sockets": [
386 "ip",
387 "ip-ssl"
388 ],
389 "protocols": [
390 "binary",
391 "compact",
392 "json"
393 ],
394 "server": {
395 "command": [
396 "mono",
397 "TestClientServer.exe",
398 "server"
399 ]
400 },
401 "client": {
402 "timeout": 9,
403 "command": [
404 "mono",
405 "TestClientServer.exe",
406 "client"
407 ],
408 "protocols": [
409 "multi",
410 "multic",
411 "multi:binary",
412 "multic:compact"
413 ]
414 },
415 "workdir": "csharp"
Roger Meier41ad4342015-03-24 22:30:40 +0100416 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200417 {
418 "name": "netcore",
419 "transports": [
420 "buffered",
421 "framed"
422 ],
423 "sockets": [
424 "ip",
425 "ip-ssl"
426 ],
427 "protocols": [
428 "binary",
429 "compact",
430 "json"
431 ],
432 "server": {
433 "command": [
434 "dotnet",
435 "run",
436 "--no-build",
437 "--project=Server/Server.csproj",
438 "server"
439 ]
440 },
441 "client": {
442 "timeout": 10,
443 "command": [
444 "dotnet",
445 "run",
446 "--no-build",
447 "--project=Client/Client.csproj",
448 "client"
449 ]
450 },
451 "workdir": "netcore"
Roger Meier41ad4342015-03-24 22:30:40 +0100452 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200453 {
454 "name": "perl",
455 "transports": [
456 "buffered",
457 "framed"
458 ],
459 "sockets": [
460 "ip",
461 "ip-ssl",
462 "domain"
463 ],
464 "protocols": [
465 "binary",
466 "multi"
467 ],
468 "client": {
469 "command": [
470 "perl",
471 "-Igen-perl/",
472 "-I../../lib/perl/lib/",
473 "TestClient.pl",
474 "--ca=../keys/CA.pem",
475 "--cert=../keys/client.crt",
476 "--key=../keys/client.key"
477 ],
478 "protocols": [
479 "multi:binary"
480 ]
481 },
482 "server": {
483 "command": [
484 "perl",
485 "-Igen-perl/",
486 "-I../../lib/perl/lib/",
487 "TestServer.pl",
488 "--cert=../keys/server.crt",
489 "--key=../keys/server.key"
490 ],
491 "protocols": [
492 "binary:multi"
493 ]
494 },
495 "workdir": "perl"
Roger Meier41ad4342015-03-24 22:30:40 +0100496 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200497 {
498 "name": "php",
499 "client": {
500 "timeout": 6,
501 "transports": [
502 "buffered",
503 "framed"
504 ],
505 "sockets": [
506 "ip"
507 ],
508 "protocols": [
509 "binary",
510 "compact",
511 "binary:accel"
512 ],
513 "command": [
514 "php",
515 "-dextension_dir=php_ext_dir",
516 "--php-ini=test_php.ini",
517 "--no-php-ini",
518 "-ddisplay_errors=stderr",
519 "-dlog_errors=0",
520 "-derror_reporting=E_ALL",
521 "TestClient.php"
522 ]
523 },
524 "workdir": "php"
Roger Meier41ad4342015-03-24 22:30:40 +0100525 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200526 {
527 "name": "dart",
528 "client": {
529 "transports": [
530 "buffered",
531 "framed",
532 "http"
533 ],
534 "sockets": [
535 "ip"
536 ],
537 "protocols": [
538 "binary",
539 "compact",
540 "json"
541 ],
542 "command": [
543 "dart",
544 "test_client/bin/main.dart"
545 ]
546 },
547 "workdir": "dart"
Roger Meier41ad4342015-03-24 22:30:40 +0100548 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200549 {
550 "name": "erl",
551 "transports": [
552 "buffered",
553 "framed"
554 ],
555 "sockets": [
556 "ip",
557 "ip-ssl"
558 ],
559 "protocols": [
560 "binary",
561 "compact"
562 ],
563 "client": {
564 "command": [
565 "erl",
566 "+K",
567 "true",
568 "-noshell",
569 "-pa",
570 "../../lib/erl/ebin/",
571 "-pa",
572 "./ebin",
573 "-s",
574 "test_client",
575 "-s",
576 "init",
577 "stop",
578 "-extra"
579 ]
580 },
581 "server": {
582 "command": [
583 "erl",
584 "+K",
585 "true",
586 "-noshell",
587 "-pa",
588 "../../lib/erl/ebin/",
589 "-pa",
590 "./ebin",
591 "-s",
592 "test_thrift_server",
593 "-extra"
594 ]
595 },
596 "workdir": "erl"
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900597 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200598 {
599 "name": "js",
600 "transports": [
601 "http"
602 ],
603 "sockets": [
604 "ip"
605 ],
606 "protocols": [
607 "json"
608 ],
609 "client": {
610 "command": [
611 "phantomjs",
612 "test/phantom-client.js"
613 ]
614 },
615 "workdir": "../lib/js"
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900616 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200617 {
618 "name": "lua",
619 "TODO": "Add dll to LUA_CPATH",
620 "env": {
621 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
622 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
623 },
624 "client": {
625 "timeout": 5,
626 "transports": [
627 "buffered",
628 "framed",
629 "http"
630 ],
631 "sockets": [
632 "ip"
633 ],
634 "protocols": [
635 "binary",
636 "compact",
637 "json"
638 ],
639 "command": [
640 "lua",
641 "test_basic_client.lua"
642 ]
643 },
644 "workdir": "lua"
Roger Meier41ad4342015-03-24 22:30:40 +0100645 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200646 {
647 "name": "rs",
648 "env": {
649 "RUST_BACKTRACE": "1",
650 "RUST_LOG": "info"
651 },
652 "server": {
653 "command": [
654 "test_server"
655 ],
656 "protocols": [
657 "binary:multi",
658 "compact:multic"
659 ]
660 },
661 "client": {
662 "timeout": 6,
663 "command": [
664 "test_client"
665 ],
666 "protocols": [
667 "multi:binary",
668 "multic:compact"
669 ]
670 },
671 "sockets": [
672 "ip"
673 ],
674 "transports": [
675 "buffered",
676 "framed"
677 ],
678 "protocols": [
679 "binary",
680 "compact",
681 "multi",
682 "multic"
683 ],
684 "workdir": "rs/bin"
685 }
686]