blob: 511be5f47f869035189e05540009c91923ca4252 [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",
369 "../integration/TestClient.rb"
370 ]
371 },
372 "transports": [
373 "buffered",
374 "framed"
375 ],
376 "sockets": [
James E. King III9aaf2952018-03-20 15:06:08 -0400377 "domain",
Alex Volanis7004a612018-01-24 10:30:13 -0500378 "ip"
379 ],
380 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500381 "binary",
James E. King III9aaf2952018-03-20 15:06:08 -0400382 "binary:accel",
383 "compact",
384 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500385 ],
386 "workdir": "rb/gen-rb"
387 },
388 {
389 "name": "csharp",
390 "env": {
391 "MONO_PATH": "../../lib/csharp/"
392 },
393 "transports": [
394 "buffered",
395 "framed"
396 ],
397 "sockets": [
398 "ip",
399 "ip-ssl"
400 ],
401 "protocols": [
402 "binary",
403 "compact",
404 "json"
405 ],
406 "server": {
407 "command": [
408 "mono",
409 "TestClientServer.exe",
410 "server"
411 ]
412 },
413 "client": {
414 "timeout": 9,
415 "command": [
416 "mono",
417 "TestClientServer.exe",
418 "client"
419 ],
420 "protocols": [
421 "multi",
422 "multic",
423 "multi:binary",
424 "multic:compact"
425 ]
426 },
427 "workdir": "csharp"
428 },
429 {
430 "name": "netcore",
431 "transports": [
432 "buffered",
433 "framed"
434 ],
435 "sockets": [
436 "ip",
437 "ip-ssl"
438 ],
439 "protocols": [
440 "binary",
441 "compact",
442 "json"
443 ],
James E. King III9bea32f2018-03-16 16:07:42 -0400444 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500445 "command": [
446 "dotnet",
447 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400448 "--no-build",
449 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500450 "server"
451 ]
452 },
453 "client": {
454 "timeout": 10,
455 "command": [
456 "dotnet",
457 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400458 "--no-build",
459 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500460 "client"
461 ]
462 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200463 "workdir": "netcore"
Alex Volanis7004a612018-01-24 10:30:13 -0500464 },
465 {
466 "name": "perl",
467 "transports": [
468 "buffered",
469 "framed"
470 ],
471 "sockets": [
472 "ip",
473 "ip-ssl",
474 "domain"
475 ],
476 "protocols": [
477 "binary",
478 "multi"
479 ],
480 "client": {
481 "command": [
482 "perl",
483 "-Igen-perl/",
484 "-I../../lib/perl/lib/",
485 "TestClient.pl",
486 "--ca=../keys/CA.pem",
487 "--cert=../keys/client.crt",
488 "--key=../keys/client.key"
489 ],
490 "protocols": [
491 "multi:binary"
492 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100493 },
Alex Volanis7004a612018-01-24 10:30:13 -0500494 "server": {
495 "command": [
496 "perl",
497 "-Igen-perl/",
498 "-I../../lib/perl/lib/",
499 "TestServer.pl",
500 "--cert=../keys/server.crt",
501 "--key=../keys/server.key"
502 ],
503 "protocols": [
504 "binary:multi"
505 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100506 },
Alex Volanis7004a612018-01-24 10:30:13 -0500507 "workdir": "perl"
508 },
509 {
510 "name": "php",
511 "client": {
512 "timeout": 6,
513 "transports": [
514 "buffered",
515 "framed"
516 ],
517 "sockets": [
518 "ip"
519 ],
520 "protocols": [
521 "binary",
522 "compact",
523 "binary:accel"
524 ],
525 "command": [
526 "php",
527 "-dextension_dir=php_ext_dir",
528 "--php-ini=test_php.ini",
529 "--no-php-ini",
530 "-ddisplay_errors=stderr",
531 "-dlog_errors=0",
532 "-derror_reporting=E_ALL",
533 "TestClient.php"
534 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100535 },
Alex Volanis7004a612018-01-24 10:30:13 -0500536 "workdir": "php"
537 },
538 {
539 "name": "dart",
540 "client": {
541 "transports": [
542 "buffered",
543 "framed",
544 "http"
545 ],
546 "sockets": [
547 "ip"
548 ],
549 "protocols": [
550 "binary",
551 "compact",
552 "json"
553 ],
554 "command": [
555 "dart",
556 "test_client/bin/main.dart"
557 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100558 },
Alex Volanis7004a612018-01-24 10:30:13 -0500559 "workdir": "dart"
560 },
561 {
562 "name": "erl",
563 "transports": [
564 "buffered",
565 "framed"
566 ],
567 "sockets": [
568 "ip",
569 "ip-ssl"
570 ],
571 "protocols": [
572 "binary",
573 "compact"
574 ],
575 "client": {
576 "command": [
577 "erl",
578 "+K",
579 "true",
580 "-noshell",
581 "-pa",
582 "../../lib/erl/ebin/",
583 "-pa",
584 "./ebin",
585 "-s",
586 "test_client",
587 "-s",
588 "init",
589 "stop",
590 "-extra"
591 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900592 },
Alex Volanis7004a612018-01-24 10:30:13 -0500593 "server": {
594 "command": [
595 "erl",
596 "+K",
597 "true",
598 "-noshell",
599 "-pa",
600 "../../lib/erl/ebin/",
601 "-pa",
602 "./ebin",
603 "-s",
604 "test_thrift_server",
605 "-extra"
606 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900607 },
Alex Volanis7004a612018-01-24 10:30:13 -0500608 "workdir": "erl"
609 },
610 {
611 "name": "js",
612 "transports": [
613 "http"
614 ],
615 "sockets": [
616 "ip"
617 ],
618 "protocols": [
619 "json"
620 ],
621 "client": {
622 "command": [
623 "phantomjs",
624 "test/phantom-client.js"
625 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100626 },
Alex Volanis7004a612018-01-24 10:30:13 -0500627 "workdir": "../lib/js"
628 },
629 {
630 "name": "lua",
631 "TODO": "Add dll to LUA_CPATH",
632 "env": {
633 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
634 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
635 },
636 "client": {
637 "timeout": 5,
638 "transports": [
639 "buffered",
640 "framed",
641 "http"
642 ],
643 "sockets": [
644 "ip"
645 ],
646 "protocols": [
647 "binary",
648 "compact",
649 "json"
650 ],
651 "command": [
652 "lua",
653 "test_basic_client.lua"
654 ]
655 },
656 "workdir": "lua"
657 },
658 {
659 "name": "rs",
660 "env": {
661 "RUST_BACKTRACE": "1",
662 "RUST_LOG": "info"
663 },
664 "server": {
665 "command": [
666 "test_server"
667 ],
668 "protocols": [
669 "binary:multi",
670 "compact:multic"
671 ]
672 },
673 "client": {
674 "timeout": 6,
675 "command": [
676 "test_client"
677 ],
678 "protocols": [
679 "multi:binary",
680 "multic:compact"
681 ]
682 },
683 "sockets": [
684 "ip"
685 ],
686 "transports": [
687 "buffered",
688 "framed"
689 ],
690 "protocols": [
691 "binary",
692 "compact",
693 "multi",
694 "multic"
695 ],
696 "workdir": "rs/bin"
697 }
698]