blob: bde9014dc2f4f24f8b851efcf609948fb053d224 [file] [log] [blame]
Roger Meier41ad4342015-03-24 22:30:40 +01001[
2 {
3 "name": "c_glib",
4 "platforms": [
5 "Linux"
Roger Meier40cc2322014-06-11 11:09:14 +02006 ],
Roger Meier41ad4342015-03-24 22:30:40 +01007 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +01008 "command": [
James E. King, III37aac3b2017-02-21 14:01:09 -05009 "test_server",
10 "--lt-debug"
Gonzalo Aguilar Delgado87ad2bc2017-09-15 12:26:02 +020011 ],
12 "protocols": [
13 "binary:multi",
James E. King, III58402ff2017-11-17 14:41:46 -050014 "compact:multic"
Roger Meier41ad4342015-03-24 22:30:40 +010015 ]
16 },
17 "client": {
18 "command": [
James E. King, III37aac3b2017-02-21 14:01:09 -050019 "test_client",
20 "--lt-debug"
James E. King, III36628a22017-02-13 15:25:41 -050021 ],
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +010022 "protocols": [
James E. King, III37aac3b2017-02-21 14:01:09 -050023 "multi:binary",
24 "multic:compact"
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +010025 ],
James E. King, III36628a22017-02-13 15:25:41 -050026 "sockets": [
27 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +010028 ]
29 },
30 "transports": [
31 "buffered",
32 "framed"
33 ],
34 "sockets": [
35 "ip"
36 ],
37 "protocols": [
Chandler May6dde90b2016-01-10 06:01:10 +000038 "binary",
James E. King, III58402ff2017-11-17 14:41:46 -050039 "compact",
40 "multi",
41 "multic"
Roger Meier41ad4342015-03-24 22:30:40 +010042 ],
43 "workdir": "c_glib"
44 },
45 {
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090046 "name": "d",
47 "server": {
48 "command": [
49 "thrift_test_server"
50 ]
51 },
52 "client": {
53 "command": [
54 "thrift_test_client"
55 ]
56 },
57 "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 {
Roger Meier41ad4342015-03-24 22:30:40 +010074 "name": "go",
75 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +010076 "command": [
77 "testserver",
78 "--certPath=../../keys"
79 ]
80 },
81 "client": {
82 "timeout": 6,
83 "command": [
84 "testclient"
85 ]
86 },
87 "transports": [
88 "buffered",
claudemirof8ca0552016-01-10 23:31:30 -020089 "framed",
90 "http"
Roger Meier41ad4342015-03-24 22:30:40 +010091 ],
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": true,
106 "command": [
107 "ant",
108 "-f",
109 "build.xml",
110 "-Dno-gen-thrift=\"\"",
111 "-Dtestargs"
112 ],
113 "prepare": [
114 "ant",
115 "-f",
116 "build.xml",
117 "compile-test"
118 ],
119 "server": {
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900120 "delay": 10,
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100121 "extra_args": ["run-testserver"],
122 "protocols": [
James E. King, III37aac3b2017-02-21 14:01:09 -0500123 "binary:multi",
124 "compact:multic",
James E. King, III58402ff2017-11-17 14:41:46 -0500125 "json:multij"
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100126 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100127 },
128 "client": {
129 "timeout": 13,
130 "extra_args": ["run-testclient"],
131 "transports": [
132 "http"
James E. King, III58402ff2017-11-17 14:41:46 -0500133 ],
134 "protocols": [
135 "multi:binary",
136 "multic:compact",
137 "multij:json"
Roger Meier41ad4342015-03-24 22:30:40 +0100138 ]
139 },
140 "transports": [
141 "buffered",
142 "framed",
143 "framed:fastframed"
144 ],
145 "sockets": [
James E. King, III06190872017-02-20 08:52:11 -0500146 "ip",
147 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100148 ],
149 "protocols": [
Roger Meier41ad4342015-03-24 22:30:40 +0100150 "binary",
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100151 "compact",
James E. King, III58402ff2017-11-17 14:41:46 -0500152 "json",
153 "multi",
154 "multic",
155 "multij"
Roger Meier41ad4342015-03-24 22:30:40 +0100156 ],
157 "workdir": "../lib/java"
158 },
159 {
160 "name": "nodejs",
161 "env": {
162 "NODE_PATH": "../lib"
163 },
164 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100165 "command": [
166 "node",
167 "server.js",
168 "--type=tcp"
169 ]
170 },
171 "client": {
James E. King, IIId7142b72017-09-01 13:00:36 -0700172 "timeout": 6,
Roger Meier41ad4342015-03-24 22:30:40 +0100173 "command": [
174 "node",
175 "client.js",
176 "--type=tcp"
177 ]
178 },
179 "transports": [
180 "buffered",
James E. King, III375bfee2017-10-26 00:09:34 -0400181 "framed",
182 "http"
Roger Meier41ad4342015-03-24 22:30:40 +0100183 ],
184 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400185 "ip",
186 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100187 ],
188 "protocols": [
189 "compact",
190 "binary",
191 "json"
192 ],
193 "workdir": "../lib/nodejs/test"
194 },
195 {
196 "name": "hs",
197 "server": {
198 "command": [
199 "TestServer"
200 ]
201 },
202 "client": {
203 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200204 "transports": [
205 "http"
206 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100207 "command": [
208 "TestClient"
209 ]
210 },
211 "transports": [
212 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200213 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100214 ],
215 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200216 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100217 ],
218 "protocols": [
219 "compact",
220 "binary",
221 "json"
222 ],
223 "workdir": "hs"
224 },
225 {
226 "name": "py",
227 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100228 "extra_args": ["TSimpleServer"],
229 "command": [
230 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200231 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100232 "--genpydir=gen-py"
233 ]
234 },
235 "client": {
236 "timeout": 10,
237 "command": [
238 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900239 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100240 "--host=localhost",
241 "--genpydir=gen-py"
242 ]
243 },
244 "transports": [
245 "buffered",
246 "framed"
247 ],
248 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400249 "ip",
250 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100251 ],
252 "protocols": [
253 "compact",
254 "binary",
255 "json",
Nobuaki Sukegawa6525f6a2016-02-11 13:58:39 +0900256 "binary:accel",
257 "compact:accelc"
Roger Meier41ad4342015-03-24 22:30:40 +0100258 ],
259 "workdir": "py"
260 },
261 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900262 "comment": "Using 'python3' executable to test py2 and 3 at once",
263 "name": "py3",
264 "server": {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900265 "extra_args": ["TSimpleServer"],
266 "command": [
267 "python3",
268 "TestServer.py",
269 "--verbose",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900270 "--genpydir=gen-py"
271 ]
272 },
273 "client": {
274 "timeout": 10,
275 "command": [
276 "python3",
277 "TestClient.py",
278 "--host=localhost",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900279 "--genpydir=gen-py"
280 ]
281 },
282 "transports": [
283 "buffered",
284 "framed"
285 ],
286 "sockets": [
287 "ip-ssl",
288 "ip"
289 ],
290 "protocols": [
291 "compact",
292 "binary",
Nobuaki Sukegawa7af189a2016-02-11 16:21:01 +0900293 "json",
294 "binary:accel",
295 "compact:accelc"
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900296 ],
297 "workdir": "py"
298 },
299 {
Roger Meier41ad4342015-03-24 22:30:40 +0100300 "name": "cpp",
301 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100302 "command": [
303 "TestServer"
James E. King, III58402ff2017-11-17 14:41:46 -0500304 ],
305 "protocols": [
306 "binary:multi",
307 "compact:multic",
308 "header:multih",
309 "json:multij"
Roger Meier41ad4342015-03-24 22:30:40 +0100310 ]
311 },
312 "client": {
313 "timeout": 8,
314 "command": [
315 "TestClient"
James E. King, III58402ff2017-11-17 14:41:46 -0500316 ],
317 "protocols": [
318 "multi:binary",
319 "multic:compact",
320 "multih:header",
321 "multij:json"
Roger Meier41ad4342015-03-24 22:30:40 +0100322 ]
323 },
324 "transports": [
325 "buffered",
326 "http",
327 "framed"
328 ],
329 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100330 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400331 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100332 "domain"
333 ],
334 "protocols": [
335 "compact",
336 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800337 "json",
James E. King, III58402ff2017-11-17 14:41:46 -0500338 "header",
339 "multi",
340 "multic",
341 "multih",
342 "multij"
Roger Meier41ad4342015-03-24 22:30:40 +0100343 ],
344 "workdir": "cpp"
345 },
346 {
347 "name": "rb",
348 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100349 "command": [
350 "ruby",
351 "../integration/TestServer.rb"
352 ]
353 },
354 "client": {
355 "timeout": 5,
356 "command": [
357 "ruby",
Nobuaki Sukegawae1e09c72016-02-18 01:03:07 +0900358 "../integration/TestClient.rb"
Roger Meier41ad4342015-03-24 22:30:40 +0100359 ]
360 },
361 "transports": [
362 "buffered",
363 "framed"
364 ],
365 "sockets": [
366 "ip"
367 ],
368 "protocols": [
369 "compact",
370 "binary",
371 "json",
372 "binary:accel"
373 ],
374 "workdir": "rb/gen-rb"
375 },
376 {
377 "name": "csharp",
378 "env": {
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900379 "MONO_PATH": "../../lib/csharp/"
Roger Meier41ad4342015-03-24 22:30:40 +0100380 },
381 "transports": [
382 "buffered",
383 "framed"
384 ],
385 "sockets": [
386 "ip",
387 "ip-ssl"
388 ],
389 "protocols": [
390 "binary",
391 "compact",
392 "json"
393 ],
394 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100395 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900396 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100397 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200398 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100399 ]
400 },
401 "client": {
402 "timeout": 9,
403 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900404 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100405 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200406 "client"
James E. King, III58402ff2017-11-17 14:41:46 -0500407 ],
408 "protocols": [
409 "multi",
410 "multic",
411 "multi:binary",
412 "multic:compact"
Roger Meier41ad4342015-03-24 22:30:40 +0100413 ]
414 },
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900415 "workdir": "csharp"
Roger Meier41ad4342015-03-24 22:30:40 +0100416 },
417 {
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500418 "name": "netcore",
419 "transports": [
420 "buffered",
421 "framed"
422 ],
423 "sockets": [
424 "ip",
425 "ip-ssl"
426 ],
427 "protocols": [
428 "binary",
429 "compact",
430 "json"
431 ],
James E. King, IIIb6287362017-09-28 11:57:42 +0000432 "server-disabled": {
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500433 "command": [
James E. King, IIIb6287362017-09-28 11:57:42 +0000434 "dotnet",
435 "run",
James E. King, III58402ff2017-11-17 14:41:46 -0500436 "--no-build",
437 "--no-restore",
438 "--",
James E. King, IIIb6287362017-09-28 11:57:42 +0000439 "server"
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500440 ]
441 },
442 "client": {
443 "timeout": 10,
444 "command": [
James E. King, IIIb6287362017-09-28 11:57:42 +0000445 "dotnet",
446 "run",
James E. King, III58402ff2017-11-17 14:41:46 -0500447 "--no-build",
448 "--no-restore",
449 "--",
James E. King, IIIb6287362017-09-28 11:57:42 +0000450 "client"
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500451 ]
452 },
453 "workdir": "netcore/ThriftTest"
454 },
455 {
Roger Meier41ad4342015-03-24 22:30:40 +0100456 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400457 "transports": [
458 "buffered",
459 "framed"
460 ],
461 "sockets": [
462 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400463 "ip-ssl",
464 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400465 ],
466 "protocols": [
467 "binary"
468 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100469 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100470 "command": [
471 "perl",
472 "-Igen-perl/",
473 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400474 "TestClient.pl",
James E. King, III377719c2017-02-15 14:33:20 -0500475 "--ca=../keys/CA.pem",
James E. King, III06190872017-02-20 08:52:11 -0500476 "--cert=../keys/client.crt",
James E. King, III377719c2017-02-15 14:33:20 -0500477 "--key=../keys/client.key"
Jim Kingf5f1b352015-06-24 13:47:24 -0400478 ]
479 },
480 "server": {
481 "command": [
482 "perl",
483 "-Igen-perl/",
484 "-I../../lib/perl/lib/",
485 "TestServer.pl",
James E. King, III06190872017-02-20 08:52:11 -0500486 "--cert=../keys/server.crt",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900487 "--key=../keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100488 ]
489 },
490 "workdir": "perl"
491 },
492 {
493 "name": "php",
494 "client": {
495 "timeout": 6,
496 "transports": [
497 "buffered",
498 "framed"
499 ],
500 "sockets": [
501 "ip"
502 ],
503 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400504 "binary",
505 "compact",
506 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100507 ],
508 "command": [
509 "php",
HÃ¥kon Hitland9462edb2017-07-25 16:38:26 +0200510 "-dextension_dir=php_ext_dir",
511 "--php-ini=test_php.ini",
HÃ¥kon Hitlandf39d4c82016-11-17 16:18:03 +0100512 "--no-php-ini",
513 "-ddisplay_errors=stderr",
514 "-dlog_errors=0",
515 "-derror_reporting=E_ALL",
Roger Meier41ad4342015-03-24 22:30:40 +0100516 "TestClient.php"
517 ]
518 },
519 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500520 },
521 {
522 "name": "dart",
523 "client": {
524 "transports": [
525 "buffered",
526 "framed",
527 "http"
528 ],
529 "sockets": [
530 "ip"
531 ],
532 "protocols": [
533 "binary",
Mark Ericksonb5f126f2016-02-29 15:27:59 -0600534 "compact",
Mark Erickson932c4702015-08-29 10:46:51 -0500535 "json"
536 ],
537 "command": [
538 "dart",
539 "test_client/bin/main.dart"
540 ]
541 },
542 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900543 },
544 {
545 "name": "erl",
546 "transports": [
547 "buffered",
548 "framed"
549 ],
550 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900551 "ip",
552 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900553 ],
554 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900555 "binary",
556 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900557 ],
558 "client": {
559 "command": [
560 "erl",
561 "+K",
562 "true",
563 "-noshell",
564 "-pa",
565 "../../lib/erl/ebin/",
566 "-pa",
567 "./ebin",
568 "-s",
569 "test_client",
570 "-s",
571 "init",
572 "stop",
573 "-extra"
574 ]
575 },
576 "server": {
577 "command": [
578 "erl",
579 "+K",
580 "true",
581 "-noshell",
582 "-pa",
583 "../../lib/erl/ebin/",
584 "-pa",
585 "./ebin",
586 "-s",
587 "test_thrift_server",
588 "-extra"
589 ]
590 },
591 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900592 },
593 {
594 "name": "js",
595 "transports": [
596 "http"
597 ],
598 "sockets": [
599 "ip"
600 ],
601 "protocols": [
602 "json"
603 ],
604 "client": {
605 "command": [
606 "phantomjs",
607 "test/phantom-client.js"
608 ]
609 },
610 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900611 },
612 {
613 "name": "lua",
614 "TODO": "Add dll to LUA_CPATH",
615 "env": {
616 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
617 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
618 },
619 "client": {
620 "timeout": 5,
621 "transports": [
622 "buffered",
Wang Yaofue432c6b2016-03-09 16:39:03 +0800623 "framed",
624 "http"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900625 ],
626 "sockets": [
627 "ip"
628 ],
629 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900630 "binary",
Wang Yaofu19a3a272016-02-14 18:15:45 +0800631 "compact",
632 "json"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900633 ],
634 "command": [
635 "lua",
636 "test_basic_client.lua"
637 ]
638 },
639 "workdir": "lua"
Allen George8b96bfb2016-11-02 08:01:08 -0400640 },
641 {
642 "name": "rs",
Allen Georgebc1344d2017-04-28 10:22:03 -0400643 "env": {
644 "RUST_BACKTRACE": "1",
645 "RUST_LOG": "info"
646 },
Allen George8b96bfb2016-11-02 08:01:08 -0400647 "server": {
648 "command": [
649 "test_server"
James E. King, III58402ff2017-11-17 14:41:46 -0500650 ],
651 "protocols": [
652 "binary:multi",
653 "compact:multic"
Allen George8b96bfb2016-11-02 08:01:08 -0400654 ]
655 },
656 "client": {
657 "timeout": 6,
658 "command": [
659 "test_client"
James E. King, III58402ff2017-11-17 14:41:46 -0500660 ],
661 "protocols": [
662 "multi:binary",
663 "multic:compact"
Allen George8b96bfb2016-11-02 08:01:08 -0400664 ]
665 },
Allen Georgebc1344d2017-04-28 10:22:03 -0400666 "sockets": [
667 "ip"
668 ],
Allen George8b96bfb2016-11-02 08:01:08 -0400669 "transports": [
670 "buffered",
671 "framed"
672 ],
Allen George8b96bfb2016-11-02 08:01:08 -0400673 "protocols": [
674 "binary",
Allen Georgebc1344d2017-04-28 10:22:03 -0400675 "compact",
676 "multi",
677 "multic"
Allen George8b96bfb2016-11-02 08:01:08 -0400678 ],
679 "workdir": "rs/bin"
Roger Meier41ad4342015-03-24 22:30:40 +0100680 }
681]