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