blob: 35d0a6cc1203178be6b490f1a49db0abe8897fab [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": [
James E. King, III20e16bc2017-11-18 22:37:54 -0500467 "binary",
468 "multi"
Jim Kingf5f1b352015-06-24 13:47:24 -0400469 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100470 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100471 "command": [
472 "perl",
473 "-Igen-perl/",
474 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400475 "TestClient.pl",
James E. King, III377719c2017-02-15 14:33:20 -0500476 "--ca=../keys/CA.pem",
James E. King, III06190872017-02-20 08:52:11 -0500477 "--cert=../keys/client.crt",
James E. King, III377719c2017-02-15 14:33:20 -0500478 "--key=../keys/client.key"
James E. King, III20e16bc2017-11-18 22:37:54 -0500479 ],
480 "protocols": [
481 "multi:binary"
Jim Kingf5f1b352015-06-24 13:47:24 -0400482 ]
483 },
484 "server": {
485 "command": [
486 "perl",
487 "-Igen-perl/",
488 "-I../../lib/perl/lib/",
489 "TestServer.pl",
James E. King, III06190872017-02-20 08:52:11 -0500490 "--cert=../keys/server.crt",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900491 "--key=../keys/server.key"
James E. King, III20e16bc2017-11-18 22:37:54 -0500492 ],
493 "protocols": [
494 "binary:multi"
Roger Meier41ad4342015-03-24 22:30:40 +0100495 ]
496 },
497 "workdir": "perl"
498 },
499 {
500 "name": "php",
501 "client": {
502 "timeout": 6,
503 "transports": [
504 "buffered",
505 "framed"
506 ],
507 "sockets": [
508 "ip"
509 ],
510 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400511 "binary",
512 "compact",
513 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100514 ],
515 "command": [
516 "php",
HÃ¥kon Hitland9462edb2017-07-25 16:38:26 +0200517 "-dextension_dir=php_ext_dir",
518 "--php-ini=test_php.ini",
HÃ¥kon Hitlandf39d4c82016-11-17 16:18:03 +0100519 "--no-php-ini",
520 "-ddisplay_errors=stderr",
521 "-dlog_errors=0",
522 "-derror_reporting=E_ALL",
Roger Meier41ad4342015-03-24 22:30:40 +0100523 "TestClient.php"
524 ]
525 },
526 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500527 },
528 {
529 "name": "dart",
530 "client": {
531 "transports": [
532 "buffered",
533 "framed",
534 "http"
535 ],
536 "sockets": [
537 "ip"
538 ],
539 "protocols": [
540 "binary",
Mark Ericksonb5f126f2016-02-29 15:27:59 -0600541 "compact",
Mark Erickson932c4702015-08-29 10:46:51 -0500542 "json"
543 ],
544 "command": [
545 "dart",
546 "test_client/bin/main.dart"
547 ]
548 },
549 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900550 },
551 {
552 "name": "erl",
553 "transports": [
554 "buffered",
555 "framed"
556 ],
557 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900558 "ip",
559 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900560 ],
561 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900562 "binary",
563 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900564 ],
565 "client": {
566 "command": [
567 "erl",
568 "+K",
569 "true",
570 "-noshell",
571 "-pa",
572 "../../lib/erl/ebin/",
573 "-pa",
574 "./ebin",
575 "-s",
576 "test_client",
577 "-s",
578 "init",
579 "stop",
580 "-extra"
581 ]
582 },
583 "server": {
584 "command": [
585 "erl",
586 "+K",
587 "true",
588 "-noshell",
589 "-pa",
590 "../../lib/erl/ebin/",
591 "-pa",
592 "./ebin",
593 "-s",
594 "test_thrift_server",
595 "-extra"
596 ]
597 },
598 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900599 },
600 {
601 "name": "js",
602 "transports": [
603 "http"
604 ],
605 "sockets": [
606 "ip"
607 ],
608 "protocols": [
609 "json"
610 ],
611 "client": {
612 "command": [
613 "phantomjs",
614 "test/phantom-client.js"
615 ]
616 },
617 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900618 },
619 {
620 "name": "lua",
621 "TODO": "Add dll to LUA_CPATH",
622 "env": {
623 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
624 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
625 },
626 "client": {
627 "timeout": 5,
628 "transports": [
629 "buffered",
Wang Yaofue432c6b2016-03-09 16:39:03 +0800630 "framed",
631 "http"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900632 ],
633 "sockets": [
634 "ip"
635 ],
636 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900637 "binary",
Wang Yaofu19a3a272016-02-14 18:15:45 +0800638 "compact",
639 "json"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900640 ],
641 "command": [
642 "lua",
643 "test_basic_client.lua"
644 ]
645 },
646 "workdir": "lua"
Allen George8b96bfb2016-11-02 08:01:08 -0400647 },
648 {
649 "name": "rs",
Allen Georgebc1344d2017-04-28 10:22:03 -0400650 "env": {
651 "RUST_BACKTRACE": "1",
652 "RUST_LOG": "info"
653 },
Allen George8b96bfb2016-11-02 08:01:08 -0400654 "server": {
655 "command": [
656 "test_server"
James E. King, III58402ff2017-11-17 14:41:46 -0500657 ],
658 "protocols": [
659 "binary:multi",
660 "compact:multic"
Allen George8b96bfb2016-11-02 08:01:08 -0400661 ]
662 },
663 "client": {
664 "timeout": 6,
665 "command": [
666 "test_client"
James E. King, III58402ff2017-11-17 14:41:46 -0500667 ],
668 "protocols": [
669 "multi:binary",
670 "multic:compact"
Allen George8b96bfb2016-11-02 08:01:08 -0400671 ]
672 },
Allen Georgebc1344d2017-04-28 10:22:03 -0400673 "sockets": [
674 "ip"
675 ],
Allen George8b96bfb2016-11-02 08:01:08 -0400676 "transports": [
677 "buffered",
678 "framed"
679 ],
Allen George8b96bfb2016-11-02 08:01:08 -0400680 "protocols": [
681 "binary",
Allen Georgebc1344d2017-04-28 10:22:03 -0400682 "compact",
683 "multi",
684 "multic"
Allen George8b96bfb2016-11-02 08:01:08 -0400685 ],
686 "workdir": "rs/bin"
Roger Meier41ad4342015-03-24 22:30:40 +0100687 }
688]