blob: 9c7668dcfa6c17c2d20b4a8868f276fa3ff7f341 [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": [
376 "ip"
377 ],
378 "protocols": [
379 "compact",
380 "binary",
381 "json",
382 "binary:accel"
383 ],
384 "workdir": "rb/gen-rb"
385 },
386 {
387 "name": "csharp",
388 "env": {
389 "MONO_PATH": "../../lib/csharp/"
390 },
391 "transports": [
392 "buffered",
393 "framed"
394 ],
395 "sockets": [
396 "ip",
397 "ip-ssl"
398 ],
399 "protocols": [
400 "binary",
401 "compact",
402 "json"
403 ],
404 "server": {
405 "command": [
406 "mono",
407 "TestClientServer.exe",
408 "server"
409 ]
410 },
411 "client": {
412 "timeout": 9,
413 "command": [
414 "mono",
415 "TestClientServer.exe",
416 "client"
417 ],
418 "protocols": [
419 "multi",
420 "multic",
421 "multi:binary",
422 "multic:compact"
423 ]
424 },
425 "workdir": "csharp"
426 },
427 {
428 "name": "netcore",
429 "transports": [
430 "buffered",
431 "framed"
432 ],
433 "sockets": [
434 "ip",
435 "ip-ssl"
436 ],
437 "protocols": [
438 "binary",
439 "compact",
440 "json"
441 ],
James E. King III9bea32f2018-03-16 16:07:42 -0400442 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500443 "command": [
444 "dotnet",
445 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400446 "--no-build",
447 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500448 "server"
449 ]
450 },
451 "client": {
452 "timeout": 10,
453 "command": [
454 "dotnet",
455 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400456 "--no-build",
457 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500458 "client"
459 ]
460 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200461 "workdir": "netcore"
Alex Volanis7004a612018-01-24 10:30:13 -0500462 },
463 {
464 "name": "perl",
465 "transports": [
466 "buffered",
467 "framed"
468 ],
469 "sockets": [
470 "ip",
471 "ip-ssl",
472 "domain"
473 ],
474 "protocols": [
475 "binary",
476 "multi"
477 ],
478 "client": {
479 "command": [
480 "perl",
481 "-Igen-perl/",
482 "-I../../lib/perl/lib/",
483 "TestClient.pl",
484 "--ca=../keys/CA.pem",
485 "--cert=../keys/client.crt",
486 "--key=../keys/client.key"
487 ],
488 "protocols": [
489 "multi:binary"
490 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100491 },
Alex Volanis7004a612018-01-24 10:30:13 -0500492 "server": {
493 "command": [
494 "perl",
495 "-Igen-perl/",
496 "-I../../lib/perl/lib/",
497 "TestServer.pl",
498 "--cert=../keys/server.crt",
499 "--key=../keys/server.key"
500 ],
501 "protocols": [
502 "binary:multi"
503 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100504 },
Alex Volanis7004a612018-01-24 10:30:13 -0500505 "workdir": "perl"
506 },
507 {
508 "name": "php",
509 "client": {
510 "timeout": 6,
511 "transports": [
512 "buffered",
513 "framed"
514 ],
515 "sockets": [
516 "ip"
517 ],
518 "protocols": [
519 "binary",
520 "compact",
521 "binary:accel"
522 ],
523 "command": [
524 "php",
525 "-dextension_dir=php_ext_dir",
526 "--php-ini=test_php.ini",
527 "--no-php-ini",
528 "-ddisplay_errors=stderr",
529 "-dlog_errors=0",
530 "-derror_reporting=E_ALL",
531 "TestClient.php"
532 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100533 },
Alex Volanis7004a612018-01-24 10:30:13 -0500534 "workdir": "php"
535 },
536 {
537 "name": "dart",
538 "client": {
539 "transports": [
540 "buffered",
541 "framed",
542 "http"
543 ],
544 "sockets": [
545 "ip"
546 ],
547 "protocols": [
548 "binary",
549 "compact",
550 "json"
551 ],
552 "command": [
553 "dart",
554 "test_client/bin/main.dart"
555 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100556 },
Alex Volanis7004a612018-01-24 10:30:13 -0500557 "workdir": "dart"
558 },
559 {
560 "name": "erl",
561 "transports": [
562 "buffered",
563 "framed"
564 ],
565 "sockets": [
566 "ip",
567 "ip-ssl"
568 ],
569 "protocols": [
570 "binary",
571 "compact"
572 ],
573 "client": {
574 "command": [
575 "erl",
576 "+K",
577 "true",
578 "-noshell",
579 "-pa",
580 "../../lib/erl/ebin/",
581 "-pa",
582 "./ebin",
583 "-s",
584 "test_client",
585 "-s",
586 "init",
587 "stop",
588 "-extra"
589 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900590 },
Alex Volanis7004a612018-01-24 10:30:13 -0500591 "server": {
592 "command": [
593 "erl",
594 "+K",
595 "true",
596 "-noshell",
597 "-pa",
598 "../../lib/erl/ebin/",
599 "-pa",
600 "./ebin",
601 "-s",
602 "test_thrift_server",
603 "-extra"
604 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900605 },
Alex Volanis7004a612018-01-24 10:30:13 -0500606 "workdir": "erl"
607 },
608 {
609 "name": "js",
610 "transports": [
611 "http"
612 ],
613 "sockets": [
614 "ip"
615 ],
616 "protocols": [
617 "json"
618 ],
619 "client": {
620 "command": [
621 "phantomjs",
622 "test/phantom-client.js"
623 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100624 },
Alex Volanis7004a612018-01-24 10:30:13 -0500625 "workdir": "../lib/js"
626 },
627 {
628 "name": "lua",
629 "TODO": "Add dll to LUA_CPATH",
630 "env": {
631 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
632 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
633 },
634 "client": {
635 "timeout": 5,
636 "transports": [
637 "buffered",
638 "framed",
639 "http"
640 ],
641 "sockets": [
642 "ip"
643 ],
644 "protocols": [
645 "binary",
646 "compact",
647 "json"
648 ],
649 "command": [
650 "lua",
651 "test_basic_client.lua"
652 ]
653 },
654 "workdir": "lua"
655 },
656 {
657 "name": "rs",
658 "env": {
659 "RUST_BACKTRACE": "1",
660 "RUST_LOG": "info"
661 },
662 "server": {
663 "command": [
664 "test_server"
665 ],
666 "protocols": [
667 "binary:multi",
668 "compact:multic"
669 ]
670 },
671 "client": {
672 "timeout": 6,
673 "command": [
674 "test_client"
675 ],
676 "protocols": [
677 "multi:binary",
678 "multic:compact"
679 ]
680 },
681 "sockets": [
682 "ip"
683 ],
684 "transports": [
685 "buffered",
686 "framed"
687 ],
688 "protocols": [
689 "binary",
690 "compact",
691 "multi",
692 "multic"
693 ],
694 "workdir": "rs/bin"
695 }
696]