blob: 671c667c95b147b4d6e8629f731703d7548e4cf4 [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": [
66 "thrift_test_server"
67 ]
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090068 },
Alex Volanis7004a612018-01-24 10:30:13 -050069 "client": {
70 "command": [
71 "thrift_test_client"
72 ]
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090073 },
Alex Volanis7004a612018-01-24 10:30:13 -050074 "transports": [
75 "http",
76 "buffered",
77 "framed"
78 ],
79 "sockets": [
80 "ip",
81 "ip-ssl"
82 ],
83 "protocols": [
84 "binary",
85 "compact",
86 "json"
87 ],
88 "workdir": "../lib/d/test"
89 },
90 {
91 "name": "go",
92 "server": {
93 "command": [
94 "testserver",
95 "--certPath=../../keys"
96 ]
Roger Meier41ad4342015-03-24 22:30:40 +010097 },
Alex Volanis7004a612018-01-24 10:30:13 -050098 "client": {
99 "timeout": 6,
100 "command": [
101 "testclient"
102 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100103 },
Alex Volanis7004a612018-01-24 10:30:13 -0500104 "transports": [
105 "buffered",
106 "framed",
107 "http"
108 ],
109 "sockets": [
110 "ip",
111 "ip-ssl"
112 ],
113 "protocols": [
114 "binary",
115 "compact",
116 "json"
117 ],
118 "workdir": "go/bin"
119 },
120 {
121 "name": "java",
122 "join_args": false,
123 "server": {
124 "delay": 15,
125 "command": [
126 "build/runserver"
127 ],
128 "protocols": [
129 "binary:multi",
130 "compact:multic",
131 "json:multij"
132 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100133 },
Alex Volanis7004a612018-01-24 10:30:13 -0500134 "client": {
135 "timeout": 13,
136 "command": [
137 "build/runclient"
138 ],
139 "transports": [
140 "http"
141 ],
142 "protocols": [
143 "multi:binary",
144 "multic:compact",
145 "multij:json"
146 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100147 },
Alex Volanis7004a612018-01-24 10:30:13 -0500148 "transports": [
149 "buffered",
150 "framed",
151 "framed:fastframed"
152 ],
153 "sockets": [
154 "ip",
155 "ip-ssl"
156 ],
157 "protocols": [
158 "binary",
159 "compact",
160 "json",
161 "multi",
162 "multic",
163 "multij"
164 ],
165 "workdir": "../lib/java"
166 },
167 {
168 "name": "nodejs",
169 "env": {
170 "NODE_PATH": "../lib"
Roger Meier41ad4342015-03-24 22:30:40 +0100171 },
Alex Volanis7004a612018-01-24 10:30:13 -0500172 "server": {
173 "command": [
174 "node",
175 "server.js",
176 "--type=tcp"
177 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100178 },
Alex Volanis7004a612018-01-24 10:30:13 -0500179 "client": {
180 "timeout": 6,
181 "command": [
182 "node",
183 "client.js",
184 "--type=tcp"
185 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100186 },
Alex Volanis7004a612018-01-24 10:30:13 -0500187 "transports": [
188 "buffered",
189 "framed",
190 "http"
191 ],
192 "sockets": [
193 "ip",
194 "ip-ssl"
195 ],
196 "protocols": [
197 "compact",
198 "binary",
199 "json"
200 ],
201 "workdir": "../lib/nodejs/test"
202 },
203 {
204 "name": "hs",
205 "server": {
206 "command": [
207 "TestServer"
208 ]
209 },
210 "client": {
211 "timeout": 6,
212 "transports": [
213 "http"
214 ],
215 "command": [
216 "TestClient"
217 ]
218 },
219 "transports": [
220 "buffered",
221 "framed"
222 ],
223 "sockets": [
224 "ip"
225 ],
226 "protocols": [
227 "header",
228 "compact",
229 "binary",
230 "json"
231 ],
232 "workdir": "hs"
233 },
234 {
235 "name": "py",
236 "server": {
237 "extra_args": ["TSimpleServer"],
238 "command": [
239 "TestServer.py",
240 "--verbose",
241 "--genpydir=gen-py"
242 ]
243 },
244 "client": {
245 "timeout": 10,
246 "command": [
247 "TestClient.py",
248 "--verbose",
249 "--host=localhost",
250 "--genpydir=gen-py"
251 ]
252 },
253 "transports": [
254 "buffered",
255 "framed"
256 ],
257 "sockets": [
258 "ip",
259 "ip-ssl"
260 ],
261 "protocols": [
262 "compact",
263 "binary",
264 "json",
265 "binary:accel",
266 "compact:accelc"
267 ],
268 "workdir": "py"
269 },
270 {
271 "comment": "Using 'python3' executable to test py2 and 3 at once",
272 "name": "py3",
273 "server": {
274 "extra_args": ["TSimpleServer"],
275 "command": [
276 "python3",
277 "TestServer.py",
278 "--verbose",
279 "--genpydir=gen-py"
280 ]
281 },
282 "client": {
283 "timeout": 10,
284 "command": [
285 "python3",
286 "TestClient.py",
287 "--host=localhost",
288 "--genpydir=gen-py"
289 ]
290 },
291 "transports": [
292 "buffered",
293 "framed"
294 ],
295 "sockets": [
296 "ip-ssl",
297 "ip"
298 ],
299 "protocols": [
300 "compact",
301 "binary",
302 "json",
303 "binary:accel",
304 "compact:accelc"
305 ],
306 "workdir": "py"
307 },
308 {
309 "name": "cpp",
310 "server": {
311 "command": [
312 "TestServer"
313 ],
314 "protocols": [
315 "binary:multi",
316 "compact:multic",
317 "header:multih",
318 "json:multij"
319 ]
320 },
321 "client": {
322 "timeout": 8,
323 "command": [
324 "TestClient"
325 ],
326 "protocols": [
327 "multi:binary",
328 "multic:compact",
329 "multih:header",
330 "multij:json"
331 ]
332 },
333 "transports": [
334 "buffered",
335 "http",
336 "framed"
337 ],
338 "sockets": [
339 "ip",
340 "ip-ssl",
341 "domain"
342 ],
343 "protocols": [
344 "compact",
345 "binary",
346 "json",
347 "header",
348 "multi",
349 "multic",
350 "multih",
351 "multij"
352 ],
353 "workdir": "cpp"
354 },
355 {
356 "name": "rb",
357 "server": {
358 "command": [
359 "ruby",
360 "../integration/TestServer.rb"
361 ]
362 },
363 "client": {
364 "timeout": 5,
365 "command": [
366 "ruby",
367 "../integration/TestClient.rb"
368 ]
369 },
370 "transports": [
371 "buffered",
372 "framed"
373 ],
374 "sockets": [
375 "ip"
376 ],
377 "protocols": [
378 "compact",
379 "binary",
380 "json",
381 "binary:accel"
382 ],
383 "workdir": "rb/gen-rb"
384 },
385 {
386 "name": "csharp",
387 "env": {
388 "MONO_PATH": "../../lib/csharp/"
389 },
390 "transports": [
391 "buffered",
392 "framed"
393 ],
394 "sockets": [
395 "ip",
396 "ip-ssl"
397 ],
398 "protocols": [
399 "binary",
400 "compact",
401 "json"
402 ],
403 "server": {
404 "command": [
405 "mono",
406 "TestClientServer.exe",
407 "server"
408 ]
409 },
410 "client": {
411 "timeout": 9,
412 "command": [
413 "mono",
414 "TestClientServer.exe",
415 "client"
416 ],
417 "protocols": [
418 "multi",
419 "multic",
420 "multi:binary",
421 "multic:compact"
422 ]
423 },
424 "workdir": "csharp"
425 },
426 {
427 "name": "netcore",
428 "transports": [
429 "buffered",
430 "framed"
431 ],
432 "sockets": [
433 "ip",
434 "ip-ssl"
435 ],
436 "protocols": [
437 "binary",
438 "compact",
439 "json"
440 ],
Volodymyr Gotra54993292017-12-18 02:08:09 +0200441 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500442 "command": [
443 "dotnet",
444 "run",
445 "--no-build",
Volodymyr Gotra54993292017-12-18 02:08:09 +0200446 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500447 "server"
448 ]
449 },
450 "client": {
451 "timeout": 10,
452 "command": [
453 "dotnet",
454 "run",
455 "--no-build",
Volodymyr Gotra54993292017-12-18 02:08:09 +0200456 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500457 "client"
458 ]
459 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200460 "workdir": "netcore"
Alex Volanis7004a612018-01-24 10:30:13 -0500461 },
462 {
463 "name": "perl",
464 "transports": [
465 "buffered",
466 "framed"
467 ],
468 "sockets": [
469 "ip",
470 "ip-ssl",
471 "domain"
472 ],
473 "protocols": [
474 "binary",
475 "multi"
476 ],
477 "client": {
478 "command": [
479 "perl",
480 "-Igen-perl/",
481 "-I../../lib/perl/lib/",
482 "TestClient.pl",
483 "--ca=../keys/CA.pem",
484 "--cert=../keys/client.crt",
485 "--key=../keys/client.key"
486 ],
487 "protocols": [
488 "multi:binary"
489 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100490 },
Alex Volanis7004a612018-01-24 10:30:13 -0500491 "server": {
492 "command": [
493 "perl",
494 "-Igen-perl/",
495 "-I../../lib/perl/lib/",
496 "TestServer.pl",
497 "--cert=../keys/server.crt",
498 "--key=../keys/server.key"
499 ],
500 "protocols": [
501 "binary:multi"
502 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100503 },
Alex Volanis7004a612018-01-24 10:30:13 -0500504 "workdir": "perl"
505 },
506 {
507 "name": "php",
508 "client": {
509 "timeout": 6,
510 "transports": [
511 "buffered",
512 "framed"
513 ],
514 "sockets": [
515 "ip"
516 ],
517 "protocols": [
518 "binary",
519 "compact",
520 "binary:accel"
521 ],
522 "command": [
523 "php",
524 "-dextension_dir=php_ext_dir",
525 "--php-ini=test_php.ini",
526 "--no-php-ini",
527 "-ddisplay_errors=stderr",
528 "-dlog_errors=0",
529 "-derror_reporting=E_ALL",
530 "TestClient.php"
531 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100532 },
Alex Volanis7004a612018-01-24 10:30:13 -0500533 "workdir": "php"
534 },
535 {
536 "name": "dart",
537 "client": {
538 "transports": [
539 "buffered",
540 "framed",
541 "http"
542 ],
543 "sockets": [
544 "ip"
545 ],
546 "protocols": [
547 "binary",
548 "compact",
549 "json"
550 ],
551 "command": [
552 "dart",
553 "test_client/bin/main.dart"
554 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100555 },
Alex Volanis7004a612018-01-24 10:30:13 -0500556 "workdir": "dart"
557 },
558 {
559 "name": "erl",
560 "transports": [
561 "buffered",
562 "framed"
563 ],
564 "sockets": [
565 "ip",
566 "ip-ssl"
567 ],
568 "protocols": [
569 "binary",
570 "compact"
571 ],
572 "client": {
573 "command": [
574 "erl",
575 "+K",
576 "true",
577 "-noshell",
578 "-pa",
579 "../../lib/erl/ebin/",
580 "-pa",
581 "./ebin",
582 "-s",
583 "test_client",
584 "-s",
585 "init",
586 "stop",
587 "-extra"
588 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900589 },
Alex Volanis7004a612018-01-24 10:30:13 -0500590 "server": {
591 "command": [
592 "erl",
593 "+K",
594 "true",
595 "-noshell",
596 "-pa",
597 "../../lib/erl/ebin/",
598 "-pa",
599 "./ebin",
600 "-s",
601 "test_thrift_server",
602 "-extra"
603 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900604 },
Alex Volanis7004a612018-01-24 10:30:13 -0500605 "workdir": "erl"
606 },
607 {
608 "name": "js",
609 "transports": [
610 "http"
611 ],
612 "sockets": [
613 "ip"
614 ],
615 "protocols": [
616 "json"
617 ],
618 "client": {
619 "command": [
620 "phantomjs",
621 "test/phantom-client.js"
622 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100623 },
Alex Volanis7004a612018-01-24 10:30:13 -0500624 "workdir": "../lib/js"
625 },
626 {
627 "name": "lua",
628 "TODO": "Add dll to LUA_CPATH",
629 "env": {
630 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
631 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
632 },
633 "client": {
634 "timeout": 5,
635 "transports": [
636 "buffered",
637 "framed",
638 "http"
639 ],
640 "sockets": [
641 "ip"
642 ],
643 "protocols": [
644 "binary",
645 "compact",
646 "json"
647 ],
648 "command": [
649 "lua",
650 "test_basic_client.lua"
651 ]
652 },
653 "workdir": "lua"
654 },
655 {
656 "name": "rs",
657 "env": {
658 "RUST_BACKTRACE": "1",
659 "RUST_LOG": "info"
660 },
661 "server": {
662 "command": [
663 "test_server"
664 ],
665 "protocols": [
666 "binary:multi",
667 "compact:multic"
668 ]
669 },
670 "client": {
671 "timeout": 6,
672 "command": [
673 "test_client"
674 ],
675 "protocols": [
676 "multi:binary",
677 "multic:compact"
678 ]
679 },
680 "sockets": [
681 "ip"
682 ],
683 "transports": [
684 "buffered",
685 "framed"
686 ],
687 "protocols": [
688 "binary",
689 "compact",
690 "multi",
691 "multic"
692 ],
693 "workdir": "rs/bin"
694 }
695]