blob: 42e5d6aab156eb363e77e7802b593a64e85785c5 [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": [
Kevin Wojniak6c847d22019-07-01 17:11:56 -070035 "ip",
36 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -050037 ],
38 "protocols": [
39 "binary",
40 "compact",
41 "multi",
42 "multic"
43 ],
44 "workdir": "c_glib"
45 },
46 {
Tomek Kurcze93a9012017-09-19 09:16:43 +020047 "name": "cl",
48 "server": {
49 "command": ["TestServer"],
50 "workdir": "cl",
51 "protocols": ["binary", "multi"],
52 "transports": ["buffered", "framed"],
53 "sockets": ["ip"]
54 },
55 "client": {
56 "command": ["TestClient"],
57 "workdir": "cl",
58 "protocols": ["binary", "multi"],
59 "transports": ["buffered", "framed"],
60 "sockets": ["ip"]
61 }
62 },
63 {
Alex Volanis7004a612018-01-24 10:30:13 -050064 "name": "d",
65 "server": {
66 "command": [
James E. King III9bea32f2018-03-16 16:07:42 -040067 "thrift_test_server",
James E. King III6f8c99e2018-03-24 16:32:02 -040068 "--trace"
Alex Volanis7004a612018-01-24 10:30:13 -050069 ]
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090070 },
Alex Volanis7004a612018-01-24 10:30:13 -050071 "client": {
72 "command": [
73 "thrift_test_client"
74 ]
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090075 },
Alex Volanis7004a612018-01-24 10:30:13 -050076 "transports": [
77 "http",
78 "buffered",
Kengo Sekif0c761e2020-01-09 18:48:29 +090079 "framed",
80 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -050081 ],
82 "sockets": [
83 "ip",
84 "ip-ssl"
85 ],
86 "protocols": [
87 "binary",
88 "compact",
89 "json"
90 ],
91 "workdir": "../lib/d/test"
92 },
93 {
94 "name": "go",
95 "server": {
96 "command": [
97 "testserver",
98 "--certPath=../../keys"
99 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100100 },
Alex Volanis7004a612018-01-24 10:30:13 -0500101 "client": {
102 "timeout": 6,
103 "command": [
104 "testclient"
105 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100106 },
Alex Volanis7004a612018-01-24 10:30:13 -0500107 "transports": [
108 "buffered",
109 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000110 "http",
111 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500112 ],
113 "sockets": [
114 "ip",
115 "ip-ssl"
116 ],
117 "protocols": [
118 "binary",
119 "compact",
Yuxuan 'fishy' Wang4d46c112019-06-07 20:47:18 +0800120 "json",
121 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500122 ],
123 "workdir": "go/bin"
124 },
125 {
126 "name": "java",
127 "join_args": false,
128 "server": {
129 "delay": 15,
130 "command": [
131 "build/runserver"
132 ],
133 "protocols": [
134 "binary:multi",
135 "compact:multic",
136 "json:multij"
137 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100138 },
Alex Volanis7004a612018-01-24 10:30:13 -0500139 "client": {
140 "timeout": 13,
141 "command": [
142 "build/runclient"
143 ],
144 "transports": [
145 "http"
146 ],
147 "protocols": [
148 "multi:binary",
149 "multic:compact",
150 "multij:json"
151 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100152 },
Alex Volanis7004a612018-01-24 10:30:13 -0500153 "transports": [
154 "buffered",
155 "framed",
Kengo Sekic97e6aa2020-01-10 01:11:15 +0900156 "framed:fastframed",
157 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500158 ],
159 "sockets": [
160 "ip",
161 "ip-ssl"
162 ],
163 "protocols": [
164 "binary",
165 "compact",
166 "json",
167 "multi",
168 "multic",
169 "multij"
170 ],
171 "workdir": "../lib/java"
172 },
173 {
174 "name": "nodejs",
175 "env": {
176 "NODE_PATH": "../lib"
Roger Meier41ad4342015-03-24 22:30:40 +0100177 },
Alex Volanis7004a612018-01-24 10:30:13 -0500178 "server": {
179 "command": [
180 "node",
181 "server.js",
182 "--type=tcp"
183 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100184 },
Alex Volanis7004a612018-01-24 10:30:13 -0500185 "client": {
186 "timeout": 6,
187 "command": [
188 "node",
189 "client.js",
190 "--type=tcp"
191 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100192 },
Alex Volanis7004a612018-01-24 10:30:13 -0500193 "transports": [
194 "buffered",
195 "framed",
196 "http"
197 ],
198 "sockets": [
199 "ip",
Daniel Shihe41de0f2018-03-21 08:28:38 +0800200 "ip-ssl",
201 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500202 ],
203 "protocols": [
204 "compact",
205 "binary",
David Maiddd22242019-02-22 03:37:49 -0800206 "json",
207 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500208 ],
209 "workdir": "../lib/nodejs/test"
210 },
211 {
212 "name": "hs",
213 "server": {
214 "command": [
215 "TestServer"
216 ]
217 },
218 "client": {
219 "timeout": 6,
220 "transports": [
221 "http"
222 ],
223 "command": [
224 "TestClient"
225 ]
226 },
227 "transports": [
228 "buffered",
229 "framed"
230 ],
231 "sockets": [
232 "ip"
233 ],
234 "protocols": [
235 "header",
236 "compact",
237 "binary",
238 "json"
239 ],
240 "workdir": "hs"
241 },
242 {
243 "name": "py",
244 "server": {
245 "extra_args": ["TSimpleServer"],
246 "command": [
247 "TestServer.py",
248 "--verbose",
249 "--genpydir=gen-py"
250 ]
251 },
252 "client": {
253 "timeout": 10,
254 "command": [
255 "TestClient.py",
256 "--verbose",
257 "--host=localhost",
258 "--genpydir=gen-py"
259 ]
260 },
261 "transports": [
262 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400263 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000264 "http",
265 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500266 ],
267 "sockets": [
268 "ip",
Kengo Sekif1c53412019-12-13 08:09:36 +0900269 "ip-ssl",
270 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500271 ],
272 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500273 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500274 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500275 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700276 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500277 "header",
278 "json",
279 "multi",
280 "multi:multia",
281 "multia",
282 "multiac",
283 "multic",
284 "multic:multiac",
285 "multih",
286 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500287 ],
288 "workdir": "py"
289 },
290 {
291 "comment": "Using 'python3' executable to test py2 and 3 at once",
292 "name": "py3",
293 "server": {
294 "extra_args": ["TSimpleServer"],
295 "command": [
296 "python3",
297 "TestServer.py",
298 "--verbose",
299 "--genpydir=gen-py"
300 ]
301 },
302 "client": {
303 "timeout": 10,
304 "command": [
305 "python3",
306 "TestClient.py",
307 "--host=localhost",
308 "--genpydir=gen-py"
309 ]
310 },
311 "transports": [
312 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400313 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000314 "http",
315 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500316 ],
317 "sockets": [
James E. King III6f8c99e2018-03-24 16:32:02 -0400318 "ip",
Kengo Sekif1c53412019-12-13 08:09:36 +0900319 "ip-ssl",
320 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500321 ],
322 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500323 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500324 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500325 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700326 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500327 "header",
328 "json",
329 "multi",
330 "multi:multia",
331 "multia",
332 "multiac",
333 "multic",
334 "multic:multiac",
335 "multih",
336 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500337 ],
338 "workdir": "py"
339 },
340 {
341 "name": "cpp",
342 "server": {
343 "command": [
344 "TestServer"
345 ],
346 "protocols": [
347 "binary:multi",
348 "compact:multic",
349 "header:multih",
350 "json:multij"
351 ]
352 },
353 "client": {
354 "timeout": 8,
355 "command": [
356 "TestClient"
357 ],
358 "protocols": [
359 "multi:binary",
360 "multic:compact",
361 "multih:header",
362 "multij:json"
363 ]
364 },
365 "transports": [
366 "buffered",
367 "http",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000368 "framed",
369 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500370 ],
371 "sockets": [
372 "ip",
373 "ip-ssl",
374 "domain"
375 ],
376 "protocols": [
377 "compact",
378 "binary",
379 "json",
380 "header",
381 "multi",
382 "multic",
383 "multih",
384 "multij"
385 ],
386 "workdir": "cpp"
387 },
388 {
389 "name": "rb",
390 "server": {
391 "command": [
392 "ruby",
393 "../integration/TestServer.rb"
394 ]
395 },
396 "client": {
James E. King IIIef9405f2019-02-01 16:14:19 -0500397 "timeout": 10,
Alex Volanis7004a612018-01-24 10:30:13 -0500398 "command": [
399 "ruby",
James E. King III714c77c2018-03-20 19:58:38 -0400400 "../integration/TestClient.rb",
401 "--"
Alex Volanis7004a612018-01-24 10:30:13 -0500402 ]
403 },
404 "transports": [
405 "buffered",
406 "framed"
407 ],
408 "sockets": [
James E. King III9aaf2952018-03-20 15:06:08 -0400409 "domain",
James E. King III714c77c2018-03-20 19:58:38 -0400410 "ip",
411 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500412 ],
413 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500414 "binary",
James E. King III9aaf2952018-03-20 15:06:08 -0400415 "binary:accel",
416 "compact",
417 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500418 ],
419 "workdir": "rb/gen-rb"
420 },
421 {
Jens Geyer56700e42020-02-22 16:51:51 +0100422 "name": "netstd",
Alex Volanis7004a612018-01-24 10:30:13 -0500423 "transports": [
424 "buffered",
425 "framed"
426 ],
427 "sockets": [
428 "ip",
429 "ip-ssl"
430 ],
431 "protocols": [
432 "binary",
433 "compact",
434 "json"
435 ],
James E. King III9bea32f2018-03-16 16:07:42 -0400436 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500437 "command": [
438 "dotnet",
439 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400440 "--no-build",
441 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500442 "server"
443 ]
444 },
445 "client": {
446 "timeout": 10,
447 "command": [
448 "dotnet",
449 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400450 "--no-build",
451 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500452 "client"
453 ]
454 },
Jens Geyer56700e42020-02-22 16:51:51 +0100455 "workdir": "netstd"
Alex Volanis7004a612018-01-24 10:30:13 -0500456 },
457 {
458 "name": "perl",
459 "transports": [
460 "buffered",
461 "framed"
462 ],
463 "sockets": [
464 "ip",
465 "ip-ssl",
466 "domain"
467 ],
468 "protocols": [
469 "binary",
470 "multi"
471 ],
472 "client": {
473 "command": [
474 "perl",
475 "-Igen-perl/",
476 "-I../../lib/perl/lib/",
477 "TestClient.pl",
478 "--ca=../keys/CA.pem",
479 "--cert=../keys/client.crt",
480 "--key=../keys/client.key"
481 ],
482 "protocols": [
483 "multi:binary"
484 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100485 },
Alex Volanis7004a612018-01-24 10:30:13 -0500486 "server": {
487 "command": [
488 "perl",
489 "-Igen-perl/",
490 "-I../../lib/perl/lib/",
491 "TestServer.pl",
492 "--cert=../keys/server.crt",
493 "--key=../keys/server.key"
494 ],
495 "protocols": [
496 "binary:multi"
497 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100498 },
Alex Volanis7004a612018-01-24 10:30:13 -0500499 "workdir": "perl"
500 },
501 {
502 "name": "php",
503 "client": {
504 "timeout": 6,
505 "transports": [
506 "buffered",
507 "framed"
508 ],
509 "sockets": [
510 "ip"
511 ],
512 "protocols": [
513 "binary",
James E. King IIIe53d23c2019-02-10 11:13:23 -0500514 "binary:accel",
Alex Volanis7004a612018-01-24 10:30:13 -0500515 "compact",
James E. King IIIe53d23c2019-02-10 11:13:23 -0500516 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500517 ],
518 "command": [
519 "php",
520 "-dextension_dir=php_ext_dir",
521 "--php-ini=test_php.ini",
522 "--no-php-ini",
523 "-ddisplay_errors=stderr",
524 "-dlog_errors=0",
525 "-derror_reporting=E_ALL",
526 "TestClient.php"
527 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100528 },
Alex Volanis7004a612018-01-24 10:30:13 -0500529 "workdir": "php"
530 },
531 {
532 "name": "dart",
533 "client": {
James E. King IIIb1d63e72019-01-22 14:16:39 -0500534 "timeout": 30,
Alex Volanis7004a612018-01-24 10:30:13 -0500535 "transports": [
536 "buffered",
537 "framed",
538 "http"
539 ],
540 "sockets": [
541 "ip"
542 ],
543 "protocols": [
544 "binary",
545 "compact",
546 "json"
547 ],
548 "command": [
549 "dart",
James E. King III93ff9b02019-06-21 17:50:34 -0400550 "--enable-asserts",
James E. King III98f379e2019-01-22 09:22:04 -0500551 "test_client/bin/main.dart",
James E. King III93ff9b02019-06-21 17:50:34 -0400552 "--verbose"
Alex Volanis7004a612018-01-24 10:30:13 -0500553 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100554 },
Alex Volanis7004a612018-01-24 10:30:13 -0500555 "workdir": "dart"
556 },
557 {
558 "name": "erl",
559 "transports": [
560 "buffered",
561 "framed"
562 ],
563 "sockets": [
564 "ip",
565 "ip-ssl"
566 ],
567 "protocols": [
568 "binary",
569 "compact"
570 ],
571 "client": {
572 "command": [
573 "erl",
574 "+K",
575 "true",
576 "-noshell",
577 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400578 "../../lib/erl/_build/default/lib/thrift/ebin/",
Alex Volanis7004a612018-01-24 10:30:13 -0500579 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400580 "./_build/default/lib/thrift_test/ebin",
Alex Volanis7004a612018-01-24 10:30:13 -0500581 "-s",
582 "test_client",
583 "-s",
584 "init",
585 "stop",
586 "-extra"
587 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900588 },
Alex Volanis7004a612018-01-24 10:30:13 -0500589 "server": {
590 "command": [
591 "erl",
592 "+K",
593 "true",
594 "-noshell",
595 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400596 "../../lib/erl/_build/default/lib/thrift/ebin/",
Alex Volanis7004a612018-01-24 10:30:13 -0500597 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400598 "./_build/default/lib/thrift_test/ebin",
Alex Volanis7004a612018-01-24 10:30:13 -0500599 "-s",
600 "test_thrift_server",
601 "-extra"
602 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900603 },
Alex Volanis7004a612018-01-24 10:30:13 -0500604 "workdir": "erl"
605 },
606 {
607 "name": "js",
608 "transports": [
609 "http"
610 ],
611 "sockets": [
612 "ip"
613 ],
614 "protocols": [
615 "json"
616 ],
617 "client": {
618 "command": [
619 "phantomjs",
620 "test/phantom-client.js"
621 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100622 },
Alex Volanis7004a612018-01-24 10:30:13 -0500623 "workdir": "../lib/js"
624 },
625 {
626 "name": "lua",
627 "TODO": "Add dll to LUA_CPATH",
628 "env": {
629 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
630 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
631 },
632 "client": {
633 "timeout": 5,
634 "transports": [
635 "buffered",
636 "framed",
637 "http"
638 ],
639 "sockets": [
640 "ip"
641 ],
642 "protocols": [
643 "binary",
644 "compact",
645 "json"
646 ],
647 "command": [
648 "lua",
649 "test_basic_client.lua"
650 ]
651 },
652 "workdir": "lua"
653 },
654 {
655 "name": "rs",
656 "env": {
657 "RUST_BACKTRACE": "1",
658 "RUST_LOG": "info"
659 },
660 "server": {
661 "command": [
662 "test_server"
663 ],
664 "protocols": [
665 "binary:multi",
666 "compact:multic"
667 ]
668 },
669 "client": {
670 "timeout": 6,
671 "command": [
672 "test_client"
673 ],
674 "protocols": [
675 "multi:binary",
676 "multic:compact"
677 ]
678 },
679 "sockets": [
680 "ip"
681 ],
682 "transports": [
683 "buffered",
684 "framed"
685 ],
686 "protocols": [
687 "binary",
688 "compact",
689 "multi",
690 "multic"
691 ],
692 "workdir": "rs/bin"
wilfrem2c69b5a2015-04-20 19:24:50 +0900693 },
694 {
695 "name": "nodets",
696 "env": {
697 "NODE_PATH": "../lib"
698 },
699 "server": {
700 "command": [
701 "runServer.sh"
702 ]
703 },
704 "client": {
Mustafa Senol Cosardd965c12018-11-30 20:02:00 +0300705 "timeout": 6,
wilfrem2c69b5a2015-04-20 19:24:50 +0900706 "command": [
707 "runClient.sh"
708 ]
709 },
710 "protocols": [
711 "binary"
712 ],
713 "sockets": [
714 "ip"
715 ],
716 "transports": [
717 "buffered"
718 ],
719 "workdir": "../lib/nodets/test"
Alex Volanis7004a612018-01-24 10:30:13 -0500720 }
721]