blob: 99050a15e66f3f269c959d358dfd035e6a5cdfb9 [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",
195 "ip-ssl"
196 ],
197 "protocols": [
198 "compact",
199 "binary",
200 "json"
201 ],
202 "workdir": "../lib/nodejs/test"
203 },
204 {
205 "name": "hs",
206 "server": {
207 "command": [
208 "TestServer"
209 ]
210 },
211 "client": {
212 "timeout": 6,
213 "transports": [
214 "http"
215 ],
216 "command": [
217 "TestClient"
218 ]
219 },
220 "transports": [
221 "buffered",
222 "framed"
223 ],
224 "sockets": [
225 "ip"
226 ],
227 "protocols": [
228 "header",
229 "compact",
230 "binary",
231 "json"
232 ],
233 "workdir": "hs"
234 },
235 {
236 "name": "py",
237 "server": {
238 "extra_args": ["TSimpleServer"],
239 "command": [
240 "TestServer.py",
241 "--verbose",
242 "--genpydir=gen-py"
243 ]
244 },
245 "client": {
246 "timeout": 10,
247 "command": [
248 "TestClient.py",
249 "--verbose",
250 "--host=localhost",
251 "--genpydir=gen-py"
252 ]
253 },
254 "transports": [
255 "buffered",
256 "framed"
257 ],
258 "sockets": [
259 "ip",
260 "ip-ssl"
261 ],
262 "protocols": [
263 "compact",
264 "binary",
265 "json",
266 "binary:accel",
267 "compact:accelc"
268 ],
269 "workdir": "py"
270 },
271 {
272 "comment": "Using 'python3' executable to test py2 and 3 at once",
273 "name": "py3",
274 "server": {
275 "extra_args": ["TSimpleServer"],
276 "command": [
277 "python3",
278 "TestServer.py",
279 "--verbose",
280 "--genpydir=gen-py"
281 ]
282 },
283 "client": {
284 "timeout": 10,
285 "command": [
286 "python3",
287 "TestClient.py",
288 "--host=localhost",
289 "--genpydir=gen-py"
290 ]
291 },
292 "transports": [
293 "buffered",
294 "framed"
295 ],
296 "sockets": [
297 "ip-ssl",
298 "ip"
299 ],
300 "protocols": [
301 "compact",
302 "binary",
303 "json",
304 "binary:accel",
305 "compact:accelc"
306 ],
307 "workdir": "py"
308 },
309 {
310 "name": "cpp",
311 "server": {
312 "command": [
313 "TestServer"
314 ],
315 "protocols": [
316 "binary:multi",
317 "compact:multic",
318 "header:multih",
319 "json:multij"
320 ]
321 },
322 "client": {
323 "timeout": 8,
324 "command": [
325 "TestClient"
326 ],
327 "protocols": [
328 "multi:binary",
329 "multic:compact",
330 "multih:header",
331 "multij:json"
332 ]
333 },
334 "transports": [
335 "buffered",
336 "http",
337 "framed"
338 ],
339 "sockets": [
340 "ip",
341 "ip-ssl",
342 "domain"
343 ],
344 "protocols": [
345 "compact",
346 "binary",
347 "json",
348 "header",
349 "multi",
350 "multic",
351 "multih",
352 "multij"
353 ],
354 "workdir": "cpp"
355 },
356 {
357 "name": "rb",
358 "server": {
359 "command": [
360 "ruby",
361 "../integration/TestServer.rb"
362 ]
363 },
364 "client": {
365 "timeout": 5,
366 "command": [
367 "ruby",
368 "../integration/TestClient.rb"
369 ]
370 },
371 "transports": [
372 "buffered",
373 "framed"
374 ],
375 "sockets": [
James E. King III9aaf2952018-03-20 15:06:08 -0400376 "domain",
Alex Volanis7004a612018-01-24 10:30:13 -0500377 "ip"
378 ],
379 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500380 "binary",
James E. King III9aaf2952018-03-20 15:06:08 -0400381 "binary:accel",
382 "compact",
383 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500384 ],
385 "workdir": "rb/gen-rb"
386 },
387 {
388 "name": "csharp",
389 "env": {
390 "MONO_PATH": "../../lib/csharp/"
391 },
392 "transports": [
393 "buffered",
394 "framed"
395 ],
396 "sockets": [
397 "ip",
398 "ip-ssl"
399 ],
400 "protocols": [
401 "binary",
402 "compact",
403 "json"
404 ],
405 "server": {
406 "command": [
407 "mono",
408 "TestClientServer.exe",
409 "server"
410 ]
411 },
412 "client": {
413 "timeout": 9,
414 "command": [
415 "mono",
416 "TestClientServer.exe",
417 "client"
418 ],
419 "protocols": [
420 "multi",
421 "multic",
422 "multi:binary",
423 "multic:compact"
424 ]
425 },
426 "workdir": "csharp"
427 },
428 {
429 "name": "netcore",
430 "transports": [
431 "buffered",
432 "framed"
433 ],
434 "sockets": [
435 "ip",
436 "ip-ssl"
437 ],
438 "protocols": [
439 "binary",
440 "compact",
441 "json"
442 ],
James E. King III9bea32f2018-03-16 16:07:42 -0400443 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500444 "command": [
445 "dotnet",
446 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400447 "--no-build",
448 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500449 "server"
450 ]
451 },
452 "client": {
453 "timeout": 10,
454 "command": [
455 "dotnet",
456 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400457 "--no-build",
458 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500459 "client"
460 ]
461 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200462 "workdir": "netcore"
Alex Volanis7004a612018-01-24 10:30:13 -0500463 },
464 {
465 "name": "perl",
466 "transports": [
467 "buffered",
468 "framed"
469 ],
470 "sockets": [
471 "ip",
472 "ip-ssl",
473 "domain"
474 ],
475 "protocols": [
476 "binary",
477 "multi"
478 ],
479 "client": {
480 "command": [
481 "perl",
482 "-Igen-perl/",
483 "-I../../lib/perl/lib/",
484 "TestClient.pl",
485 "--ca=../keys/CA.pem",
486 "--cert=../keys/client.crt",
487 "--key=../keys/client.key"
488 ],
489 "protocols": [
490 "multi:binary"
491 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100492 },
Alex Volanis7004a612018-01-24 10:30:13 -0500493 "server": {
494 "command": [
495 "perl",
496 "-Igen-perl/",
497 "-I../../lib/perl/lib/",
498 "TestServer.pl",
499 "--cert=../keys/server.crt",
500 "--key=../keys/server.key"
501 ],
502 "protocols": [
503 "binary:multi"
504 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100505 },
Alex Volanis7004a612018-01-24 10:30:13 -0500506 "workdir": "perl"
507 },
508 {
509 "name": "php",
510 "client": {
511 "timeout": 6,
512 "transports": [
513 "buffered",
514 "framed"
515 ],
516 "sockets": [
517 "ip"
518 ],
519 "protocols": [
520 "binary",
521 "compact",
522 "binary:accel"
523 ],
524 "command": [
525 "php",
526 "-dextension_dir=php_ext_dir",
527 "--php-ini=test_php.ini",
528 "--no-php-ini",
529 "-ddisplay_errors=stderr",
530 "-dlog_errors=0",
531 "-derror_reporting=E_ALL",
532 "TestClient.php"
533 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100534 },
Alex Volanis7004a612018-01-24 10:30:13 -0500535 "workdir": "php"
536 },
537 {
538 "name": "dart",
539 "client": {
540 "transports": [
541 "buffered",
542 "framed",
543 "http"
544 ],
545 "sockets": [
546 "ip"
547 ],
548 "protocols": [
549 "binary",
550 "compact",
551 "json"
552 ],
553 "command": [
554 "dart",
555 "test_client/bin/main.dart"
556 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100557 },
Alex Volanis7004a612018-01-24 10:30:13 -0500558 "workdir": "dart"
559 },
560 {
561 "name": "erl",
562 "transports": [
563 "buffered",
564 "framed"
565 ],
566 "sockets": [
567 "ip",
568 "ip-ssl"
569 ],
570 "protocols": [
571 "binary",
572 "compact"
573 ],
574 "client": {
575 "command": [
576 "erl",
577 "+K",
578 "true",
579 "-noshell",
580 "-pa",
581 "../../lib/erl/ebin/",
582 "-pa",
583 "./ebin",
584 "-s",
585 "test_client",
586 "-s",
587 "init",
588 "stop",
589 "-extra"
590 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900591 },
Alex Volanis7004a612018-01-24 10:30:13 -0500592 "server": {
593 "command": [
594 "erl",
595 "+K",
596 "true",
597 "-noshell",
598 "-pa",
599 "../../lib/erl/ebin/",
600 "-pa",
601 "./ebin",
602 "-s",
603 "test_thrift_server",
604 "-extra"
605 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900606 },
Alex Volanis7004a612018-01-24 10:30:13 -0500607 "workdir": "erl"
608 },
609 {
610 "name": "js",
611 "transports": [
612 "http"
613 ],
614 "sockets": [
615 "ip"
616 ],
617 "protocols": [
618 "json"
619 ],
620 "client": {
621 "command": [
622 "phantomjs",
623 "test/phantom-client.js"
624 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100625 },
Alex Volanis7004a612018-01-24 10:30:13 -0500626 "workdir": "../lib/js"
627 },
628 {
629 "name": "lua",
630 "TODO": "Add dll to LUA_CPATH",
631 "env": {
632 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
633 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
634 },
635 "client": {
636 "timeout": 5,
637 "transports": [
638 "buffered",
639 "framed",
640 "http"
641 ],
642 "sockets": [
643 "ip"
644 ],
645 "protocols": [
646 "binary",
647 "compact",
648 "json"
649 ],
650 "command": [
651 "lua",
652 "test_basic_client.lua"
653 ]
654 },
655 "workdir": "lua"
656 },
657 {
658 "name": "rs",
659 "env": {
660 "RUST_BACKTRACE": "1",
661 "RUST_LOG": "info"
662 },
663 "server": {
664 "command": [
665 "test_server"
666 ],
667 "protocols": [
668 "binary:multi",
669 "compact:multic"
670 ]
671 },
672 "client": {
673 "timeout": 6,
674 "command": [
675 "test_client"
676 ],
677 "protocols": [
678 "multi:binary",
679 "multic:compact"
680 ]
681 },
682 "sockets": [
683 "ip"
684 ],
685 "transports": [
686 "buffered",
687 "framed"
688 ],
689 "protocols": [
690 "binary",
691 "compact",
692 "multi",
693 "multic"
694 ],
695 "workdir": "rs/bin"
696 }
697]