blob: 1640eac4b165597bd9cd9be6764a98cf2d22fc75 [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 {
46 "name": "d",
47 "server": {
48 "command": [
49 "thrift_test_server"
50 ]
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090051 },
Alex Volanis7004a612018-01-24 10:30:13 -050052 "client": {
53 "command": [
54 "thrift_test_client"
55 ]
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090056 },
Alex Volanis7004a612018-01-24 10:30:13 -050057 "transports": [
58 "http",
59 "buffered",
60 "framed"
61 ],
62 "sockets": [
63 "ip",
64 "ip-ssl"
65 ],
66 "protocols": [
67 "binary",
68 "compact",
69 "json"
70 ],
71 "workdir": "../lib/d/test"
72 },
73 {
74 "name": "go",
75 "server": {
76 "command": [
77 "testserver",
78 "--certPath=../../keys"
79 ]
Roger Meier41ad4342015-03-24 22:30:40 +010080 },
Alex Volanis7004a612018-01-24 10:30:13 -050081 "client": {
82 "timeout": 6,
83 "command": [
84 "testclient"
85 ]
Roger Meier41ad4342015-03-24 22:30:40 +010086 },
Alex Volanis7004a612018-01-24 10:30:13 -050087 "transports": [
88 "buffered",
89 "framed",
90 "http"
91 ],
92 "sockets": [
93 "ip",
94 "ip-ssl"
95 ],
96 "protocols": [
97 "binary",
98 "compact",
99 "json"
100 ],
101 "workdir": "go/bin"
102 },
103 {
104 "name": "java",
105 "join_args": false,
106 "server": {
107 "delay": 15,
108 "command": [
109 "build/runserver"
110 ],
111 "protocols": [
112 "binary:multi",
113 "compact:multic",
114 "json:multij"
115 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100116 },
Alex Volanis7004a612018-01-24 10:30:13 -0500117 "client": {
118 "timeout": 13,
119 "command": [
120 "build/runclient"
121 ],
122 "transports": [
123 "http"
124 ],
125 "protocols": [
126 "multi:binary",
127 "multic:compact",
128 "multij:json"
129 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100130 },
Alex Volanis7004a612018-01-24 10:30:13 -0500131 "transports": [
132 "buffered",
133 "framed",
134 "framed:fastframed"
135 ],
136 "sockets": [
137 "ip",
138 "ip-ssl"
139 ],
140 "protocols": [
141 "binary",
142 "compact",
143 "json",
144 "multi",
145 "multic",
146 "multij"
147 ],
148 "workdir": "../lib/java"
149 },
150 {
151 "name": "nodejs",
152 "env": {
153 "NODE_PATH": "../lib"
Roger Meier41ad4342015-03-24 22:30:40 +0100154 },
Alex Volanis7004a612018-01-24 10:30:13 -0500155 "server": {
156 "command": [
157 "node",
158 "server.js",
159 "--type=tcp"
160 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100161 },
Alex Volanis7004a612018-01-24 10:30:13 -0500162 "client": {
163 "timeout": 6,
164 "command": [
165 "node",
166 "client.js",
167 "--type=tcp"
168 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100169 },
Alex Volanis7004a612018-01-24 10:30:13 -0500170 "transports": [
171 "buffered",
172 "framed",
173 "http"
174 ],
175 "sockets": [
176 "ip",
177 "ip-ssl"
178 ],
179 "protocols": [
180 "compact",
181 "binary",
182 "json"
183 ],
184 "workdir": "../lib/nodejs/test"
185 },
186 {
187 "name": "hs",
188 "server": {
189 "command": [
190 "TestServer"
191 ]
192 },
193 "client": {
194 "timeout": 6,
195 "transports": [
196 "http"
197 ],
198 "command": [
199 "TestClient"
200 ]
201 },
202 "transports": [
203 "buffered",
204 "framed"
205 ],
206 "sockets": [
207 "ip"
208 ],
209 "protocols": [
210 "header",
211 "compact",
212 "binary",
213 "json"
214 ],
215 "workdir": "hs"
216 },
217 {
218 "name": "py",
219 "server": {
220 "extra_args": ["TSimpleServer"],
221 "command": [
222 "TestServer.py",
223 "--verbose",
224 "--genpydir=gen-py"
225 ]
226 },
227 "client": {
228 "timeout": 10,
229 "command": [
230 "TestClient.py",
231 "--verbose",
232 "--host=localhost",
233 "--genpydir=gen-py"
234 ]
235 },
236 "transports": [
237 "buffered",
238 "framed"
239 ],
240 "sockets": [
241 "ip",
242 "ip-ssl"
243 ],
244 "protocols": [
245 "compact",
246 "binary",
247 "json",
248 "binary:accel",
249 "compact:accelc"
250 ],
251 "workdir": "py"
252 },
253 {
254 "comment": "Using 'python3' executable to test py2 and 3 at once",
255 "name": "py3",
256 "server": {
257 "extra_args": ["TSimpleServer"],
258 "command": [
259 "python3",
260 "TestServer.py",
261 "--verbose",
262 "--genpydir=gen-py"
263 ]
264 },
265 "client": {
266 "timeout": 10,
267 "command": [
268 "python3",
269 "TestClient.py",
270 "--host=localhost",
271 "--genpydir=gen-py"
272 ]
273 },
274 "transports": [
275 "buffered",
276 "framed"
277 ],
278 "sockets": [
279 "ip-ssl",
280 "ip"
281 ],
282 "protocols": [
283 "compact",
284 "binary",
285 "json",
286 "binary:accel",
287 "compact:accelc"
288 ],
289 "workdir": "py"
290 },
291 {
292 "name": "cpp",
293 "server": {
294 "command": [
295 "TestServer"
296 ],
297 "protocols": [
298 "binary:multi",
299 "compact:multic",
300 "header:multih",
301 "json:multij"
302 ]
303 },
304 "client": {
305 "timeout": 8,
306 "command": [
307 "TestClient"
308 ],
309 "protocols": [
310 "multi:binary",
311 "multic:compact",
312 "multih:header",
313 "multij:json"
314 ]
315 },
316 "transports": [
317 "buffered",
318 "http",
319 "framed"
320 ],
321 "sockets": [
322 "ip",
323 "ip-ssl",
324 "domain"
325 ],
326 "protocols": [
327 "compact",
328 "binary",
329 "json",
330 "header",
331 "multi",
332 "multic",
333 "multih",
334 "multij"
335 ],
336 "workdir": "cpp"
337 },
338 {
339 "name": "rb",
340 "server": {
341 "command": [
342 "ruby",
343 "../integration/TestServer.rb"
344 ]
345 },
346 "client": {
347 "timeout": 5,
348 "command": [
349 "ruby",
350 "../integration/TestClient.rb"
351 ]
352 },
353 "transports": [
354 "buffered",
355 "framed"
356 ],
357 "sockets": [
358 "ip"
359 ],
360 "protocols": [
361 "compact",
362 "binary",
363 "json",
364 "binary:accel"
365 ],
366 "workdir": "rb/gen-rb"
367 },
368 {
369 "name": "csharp",
370 "env": {
371 "MONO_PATH": "../../lib/csharp/"
372 },
373 "transports": [
374 "buffered",
375 "framed"
376 ],
377 "sockets": [
378 "ip",
379 "ip-ssl"
380 ],
381 "protocols": [
382 "binary",
383 "compact",
384 "json"
385 ],
386 "server": {
387 "command": [
388 "mono",
389 "TestClientServer.exe",
390 "server"
391 ]
392 },
393 "client": {
394 "timeout": 9,
395 "command": [
396 "mono",
397 "TestClientServer.exe",
398 "client"
399 ],
400 "protocols": [
401 "multi",
402 "multic",
403 "multi:binary",
404 "multic:compact"
405 ]
406 },
407 "workdir": "csharp"
408 },
409 {
410 "name": "netcore",
411 "transports": [
412 "buffered",
413 "framed"
414 ],
415 "sockets": [
416 "ip",
417 "ip-ssl"
418 ],
419 "protocols": [
420 "binary",
421 "compact",
422 "json"
423 ],
Volodymyr Gotra54993292017-12-18 02:08:09 +0200424 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500425 "command": [
426 "dotnet",
427 "run",
428 "--no-build",
Volodymyr Gotra54993292017-12-18 02:08:09 +0200429 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500430 "server"
431 ]
432 },
433 "client": {
434 "timeout": 10,
435 "command": [
436 "dotnet",
437 "run",
438 "--no-build",
Volodymyr Gotra54993292017-12-18 02:08:09 +0200439 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500440 "client"
441 ]
442 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200443 "workdir": "netcore"
Alex Volanis7004a612018-01-24 10:30:13 -0500444 },
445 {
446 "name": "perl",
447 "transports": [
448 "buffered",
449 "framed"
450 ],
451 "sockets": [
452 "ip",
453 "ip-ssl",
454 "domain"
455 ],
456 "protocols": [
457 "binary",
458 "multi"
459 ],
460 "client": {
461 "command": [
462 "perl",
463 "-Igen-perl/",
464 "-I../../lib/perl/lib/",
465 "TestClient.pl",
466 "--ca=../keys/CA.pem",
467 "--cert=../keys/client.crt",
468 "--key=../keys/client.key"
469 ],
470 "protocols": [
471 "multi:binary"
472 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100473 },
Alex Volanis7004a612018-01-24 10:30:13 -0500474 "server": {
475 "command": [
476 "perl",
477 "-Igen-perl/",
478 "-I../../lib/perl/lib/",
479 "TestServer.pl",
480 "--cert=../keys/server.crt",
481 "--key=../keys/server.key"
482 ],
483 "protocols": [
484 "binary:multi"
485 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100486 },
Alex Volanis7004a612018-01-24 10:30:13 -0500487 "workdir": "perl"
488 },
489 {
490 "name": "php",
491 "client": {
492 "timeout": 6,
493 "transports": [
494 "buffered",
495 "framed"
496 ],
497 "sockets": [
498 "ip"
499 ],
500 "protocols": [
501 "binary",
502 "compact",
503 "binary:accel"
504 ],
505 "command": [
506 "php",
507 "-dextension_dir=php_ext_dir",
508 "--php-ini=test_php.ini",
509 "--no-php-ini",
510 "-ddisplay_errors=stderr",
511 "-dlog_errors=0",
512 "-derror_reporting=E_ALL",
513 "TestClient.php"
514 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100515 },
Alex Volanis7004a612018-01-24 10:30:13 -0500516 "workdir": "php"
517 },
518 {
519 "name": "dart",
520 "client": {
521 "transports": [
522 "buffered",
523 "framed",
524 "http"
525 ],
526 "sockets": [
527 "ip"
528 ],
529 "protocols": [
530 "binary",
531 "compact",
532 "json"
533 ],
534 "command": [
535 "dart",
536 "test_client/bin/main.dart"
537 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100538 },
Alex Volanis7004a612018-01-24 10:30:13 -0500539 "workdir": "dart"
540 },
541 {
542 "name": "erl",
543 "transports": [
544 "buffered",
545 "framed"
546 ],
547 "sockets": [
548 "ip",
549 "ip-ssl"
550 ],
551 "protocols": [
552 "binary",
553 "compact"
554 ],
555 "client": {
556 "command": [
557 "erl",
558 "+K",
559 "true",
560 "-noshell",
561 "-pa",
562 "../../lib/erl/ebin/",
563 "-pa",
564 "./ebin",
565 "-s",
566 "test_client",
567 "-s",
568 "init",
569 "stop",
570 "-extra"
571 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900572 },
Alex Volanis7004a612018-01-24 10:30:13 -0500573 "server": {
574 "command": [
575 "erl",
576 "+K",
577 "true",
578 "-noshell",
579 "-pa",
580 "../../lib/erl/ebin/",
581 "-pa",
582 "./ebin",
583 "-s",
584 "test_thrift_server",
585 "-extra"
586 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900587 },
Alex Volanis7004a612018-01-24 10:30:13 -0500588 "workdir": "erl"
589 },
590 {
591 "name": "js",
592 "transports": [
593 "http"
594 ],
595 "sockets": [
596 "ip"
597 ],
598 "protocols": [
599 "json"
600 ],
601 "client": {
602 "command": [
603 "phantomjs",
604 "test/phantom-client.js"
605 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100606 },
Alex Volanis7004a612018-01-24 10:30:13 -0500607 "workdir": "../lib/js"
608 },
609 {
610 "name": "lua",
611 "TODO": "Add dll to LUA_CPATH",
612 "env": {
613 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
614 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
615 },
616 "client": {
617 "timeout": 5,
618 "transports": [
619 "buffered",
620 "framed",
621 "http"
622 ],
623 "sockets": [
624 "ip"
625 ],
626 "protocols": [
627 "binary",
628 "compact",
629 "json"
630 ],
631 "command": [
632 "lua",
633 "test_basic_client.lua"
634 ]
635 },
636 "workdir": "lua"
637 },
638 {
639 "name": "rs",
640 "env": {
641 "RUST_BACKTRACE": "1",
642 "RUST_LOG": "info"
643 },
644 "server": {
645 "command": [
646 "test_server"
647 ],
648 "protocols": [
649 "binary:multi",
650 "compact:multic"
651 ]
652 },
653 "client": {
654 "timeout": 6,
655 "command": [
656 "test_client"
657 ],
658 "protocols": [
659 "multi:binary",
660 "multic:compact"
661 ]
662 },
663 "sockets": [
664 "ip"
665 ],
666 "transports": [
667 "buffered",
668 "framed"
669 ],
670 "protocols": [
671 "binary",
672 "compact",
673 "multi",
674 "multic"
675 ],
676 "workdir": "rs/bin"
677 }
678]