blob: c1c3155fd30120a0efe1fcd11ba48224b85628a9 [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",
14 "compact:multic",
15 "multi",
16 "multic"
Roger Meier41ad4342015-03-24 22:30:40 +010017 ]
18 },
19 "client": {
20 "command": [
James E. King, III37aac3b2017-02-21 14:01:09 -050021 "test_client",
22 "--lt-debug"
James E. King, III36628a22017-02-13 15:25:41 -050023 ],
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +010024 "protocols": [
James E. King, III37aac3b2017-02-21 14:01:09 -050025 "multi",
26 "multic",
27 "multi:binary",
28 "multic:compact"
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +010029 ],
James E. King, III36628a22017-02-13 15:25:41 -050030 "sockets": [
31 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +010032 ]
33 },
34 "transports": [
35 "buffered",
36 "framed"
37 ],
38 "sockets": [
39 "ip"
40 ],
41 "protocols": [
Chandler May6dde90b2016-01-10 06:01:10 +000042 "binary",
43 "compact"
Roger Meier41ad4342015-03-24 22:30:40 +010044 ],
45 "workdir": "c_glib"
46 },
47 {
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090048 "name": "d",
49 "server": {
50 "command": [
51 "thrift_test_server"
52 ]
53 },
54 "client": {
55 "command": [
56 "thrift_test_client"
57 ]
58 },
59 "transports": [
60 "http",
61 "buffered",
62 "framed"
63 ],
64 "sockets": [
65 "ip",
66 "ip-ssl"
67 ],
68 "protocols": [
69 "binary",
70 "compact",
71 "json"
72 ],
73 "workdir": "../lib/d/test"
74 },
75 {
Roger Meier41ad4342015-03-24 22:30:40 +010076 "name": "go",
77 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +010078 "command": [
79 "testserver",
80 "--certPath=../../keys"
81 ]
82 },
83 "client": {
84 "timeout": 6,
85 "command": [
86 "testclient"
87 ]
88 },
89 "transports": [
90 "buffered",
claudemirof8ca0552016-01-10 23:31:30 -020091 "framed",
92 "http"
Roger Meier41ad4342015-03-24 22:30:40 +010093 ],
94 "sockets": [
95 "ip",
96 "ip-ssl"
97 ],
98 "protocols": [
99 "binary",
100 "compact",
101 "json"
102 ],
103 "workdir": "go/bin"
104 },
105 {
106 "name": "java",
107 "join_args": true,
108 "command": [
109 "ant",
110 "-f",
111 "build.xml",
112 "-Dno-gen-thrift=\"\"",
113 "-Dtestargs"
114 ],
115 "prepare": [
116 "ant",
117 "-f",
118 "build.xml",
119 "compile-test"
120 ],
121 "server": {
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900122 "delay": 10,
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100123 "extra_args": ["run-testserver"],
124 "protocols": [
James E. King, III37aac3b2017-02-21 14:01:09 -0500125 "binary:multi",
126 "compact:multic",
127 "json:multij",
128 "multi",
129 "multic",
130 "multij"
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100131 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100132 },
133 "client": {
134 "timeout": 13,
135 "extra_args": ["run-testclient"],
136 "transports": [
137 "http"
138 ]
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",
Roger Meier41ad4342015-03-24 22:30:40 +0100152 "json"
153 ],
154 "workdir": "../lib/java"
155 },
156 {
157 "name": "nodejs",
158 "env": {
159 "NODE_PATH": "../lib"
160 },
161 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100162 "command": [
163 "node",
164 "server.js",
165 "--type=tcp"
166 ]
167 },
168 "client": {
James E. King, IIId7142b72017-09-01 13:00:36 -0700169 "timeout": 6,
Roger Meier41ad4342015-03-24 22:30:40 +0100170 "command": [
171 "node",
172 "client.js",
173 "--type=tcp"
174 ]
175 },
176 "transports": [
177 "buffered",
James E. King, III375bfee2017-10-26 00:09:34 -0400178 "framed",
179 "http"
Roger Meier41ad4342015-03-24 22:30:40 +0100180 ],
181 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400182 "ip",
183 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100184 ],
185 "protocols": [
186 "compact",
187 "binary",
188 "json"
189 ],
190 "workdir": "../lib/nodejs/test"
191 },
192 {
193 "name": "hs",
194 "server": {
195 "command": [
196 "TestServer"
197 ]
198 },
199 "client": {
200 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200201 "transports": [
202 "http"
203 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100204 "command": [
205 "TestClient"
206 ]
207 },
208 "transports": [
209 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200210 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100211 ],
212 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200213 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100214 ],
215 "protocols": [
216 "compact",
217 "binary",
218 "json"
219 ],
220 "workdir": "hs"
221 },
222 {
223 "name": "py",
224 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100225 "extra_args": ["TSimpleServer"],
226 "command": [
227 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200228 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100229 "--genpydir=gen-py"
230 ]
231 },
232 "client": {
233 "timeout": 10,
234 "command": [
235 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900236 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100237 "--host=localhost",
238 "--genpydir=gen-py"
239 ]
240 },
241 "transports": [
242 "buffered",
243 "framed"
244 ],
245 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400246 "ip",
247 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100248 ],
249 "protocols": [
250 "compact",
251 "binary",
252 "json",
Nobuaki Sukegawa6525f6a2016-02-11 13:58:39 +0900253 "binary:accel",
254 "compact:accelc"
Roger Meier41ad4342015-03-24 22:30:40 +0100255 ],
256 "workdir": "py"
257 },
258 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900259 "comment": "Using 'python3' executable to test py2 and 3 at once",
260 "name": "py3",
261 "server": {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900262 "extra_args": ["TSimpleServer"],
263 "command": [
264 "python3",
265 "TestServer.py",
266 "--verbose",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900267 "--genpydir=gen-py"
268 ]
269 },
270 "client": {
271 "timeout": 10,
272 "command": [
273 "python3",
274 "TestClient.py",
275 "--host=localhost",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900276 "--genpydir=gen-py"
277 ]
278 },
279 "transports": [
280 "buffered",
281 "framed"
282 ],
283 "sockets": [
284 "ip-ssl",
285 "ip"
286 ],
287 "protocols": [
288 "compact",
289 "binary",
Nobuaki Sukegawa7af189a2016-02-11 16:21:01 +0900290 "json",
291 "binary:accel",
292 "compact:accelc"
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900293 ],
294 "workdir": "py"
295 },
296 {
Roger Meier41ad4342015-03-24 22:30:40 +0100297 "name": "cpp",
298 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100299 "command": [
300 "TestServer"
301 ]
302 },
303 "client": {
304 "timeout": 8,
305 "command": [
306 "TestClient"
307 ]
308 },
309 "transports": [
310 "buffered",
311 "http",
312 "framed"
313 ],
314 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100315 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400316 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100317 "domain"
318 ],
319 "protocols": [
320 "compact",
321 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800322 "json",
323 "header"
Roger Meier41ad4342015-03-24 22:30:40 +0100324 ],
325 "workdir": "cpp"
326 },
327 {
328 "name": "rb",
329 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100330 "command": [
331 "ruby",
332 "../integration/TestServer.rb"
333 ]
334 },
335 "client": {
336 "timeout": 5,
337 "command": [
338 "ruby",
Nobuaki Sukegawae1e09c72016-02-18 01:03:07 +0900339 "../integration/TestClient.rb"
Roger Meier41ad4342015-03-24 22:30:40 +0100340 ]
341 },
342 "transports": [
343 "buffered",
344 "framed"
345 ],
346 "sockets": [
347 "ip"
348 ],
349 "protocols": [
350 "compact",
351 "binary",
352 "json",
353 "binary:accel"
354 ],
355 "workdir": "rb/gen-rb"
356 },
357 {
358 "name": "csharp",
359 "env": {
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900360 "MONO_PATH": "../../lib/csharp/"
Roger Meier41ad4342015-03-24 22:30:40 +0100361 },
362 "transports": [
363 "buffered",
364 "framed"
365 ],
366 "sockets": [
367 "ip",
368 "ip-ssl"
369 ],
370 "protocols": [
371 "binary",
372 "compact",
373 "json"
374 ],
375 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100376 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900377 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100378 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200379 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100380 ]
381 },
382 "client": {
383 "timeout": 9,
384 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900385 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100386 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200387 "client"
Roger Meier41ad4342015-03-24 22:30:40 +0100388 ]
389 },
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900390 "workdir": "csharp"
Roger Meier41ad4342015-03-24 22:30:40 +0100391 },
392 {
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500393 "name": "netcore",
394 "transports": [
395 "buffered",
396 "framed"
397 ],
398 "sockets": [
399 "ip",
400 "ip-ssl"
401 ],
402 "protocols": [
403 "binary",
404 "compact",
405 "json"
406 ],
James E. King, IIIb6287362017-09-28 11:57:42 +0000407 "server-disabled": {
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500408 "command": [
James E. King, IIIb6287362017-09-28 11:57:42 +0000409 "dotnet",
410 "run",
411 "--no-build",
412 "--no-restore",
413 "--",
414 "server"
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500415 ]
416 },
417 "client": {
418 "timeout": 10,
419 "command": [
James E. King, IIIb6287362017-09-28 11:57:42 +0000420 "dotnet",
421 "run",
422 "--no-build",
423 "--no-restore",
424 "--",
425 "client"
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500426 ]
427 },
428 "workdir": "netcore/ThriftTest"
429 },
430 {
Roger Meier41ad4342015-03-24 22:30:40 +0100431 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400432 "transports": [
433 "buffered",
434 "framed"
435 ],
436 "sockets": [
437 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400438 "ip-ssl",
439 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400440 ],
441 "protocols": [
442 "binary"
443 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100444 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100445 "command": [
446 "perl",
447 "-Igen-perl/",
448 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400449 "TestClient.pl",
James E. King, III377719c2017-02-15 14:33:20 -0500450 "--ca=../keys/CA.pem",
James E. King, III06190872017-02-20 08:52:11 -0500451 "--cert=../keys/client.crt",
James E. King, III377719c2017-02-15 14:33:20 -0500452 "--key=../keys/client.key"
Jim Kingf5f1b352015-06-24 13:47:24 -0400453 ]
454 },
455 "server": {
456 "command": [
457 "perl",
458 "-Igen-perl/",
459 "-I../../lib/perl/lib/",
460 "TestServer.pl",
James E. King, III06190872017-02-20 08:52:11 -0500461 "--cert=../keys/server.crt",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900462 "--key=../keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100463 ]
464 },
465 "workdir": "perl"
466 },
467 {
468 "name": "php",
469 "client": {
470 "timeout": 6,
471 "transports": [
472 "buffered",
473 "framed"
474 ],
475 "sockets": [
476 "ip"
477 ],
478 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400479 "binary",
480 "compact",
481 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100482 ],
483 "command": [
484 "php",
HÃ¥kon Hitland9462edb2017-07-25 16:38:26 +0200485 "-dextension_dir=php_ext_dir",
486 "--php-ini=test_php.ini",
HÃ¥kon Hitlandf39d4c82016-11-17 16:18:03 +0100487 "--no-php-ini",
488 "-ddisplay_errors=stderr",
489 "-dlog_errors=0",
490 "-derror_reporting=E_ALL",
Roger Meier41ad4342015-03-24 22:30:40 +0100491 "TestClient.php"
492 ]
493 },
494 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500495 },
496 {
497 "name": "dart",
498 "client": {
499 "transports": [
500 "buffered",
501 "framed",
502 "http"
503 ],
504 "sockets": [
505 "ip"
506 ],
507 "protocols": [
508 "binary",
Mark Ericksonb5f126f2016-02-29 15:27:59 -0600509 "compact",
Mark Erickson932c4702015-08-29 10:46:51 -0500510 "json"
511 ],
512 "command": [
513 "dart",
514 "test_client/bin/main.dart"
515 ]
516 },
517 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900518 },
519 {
520 "name": "erl",
521 "transports": [
522 "buffered",
523 "framed"
524 ],
525 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900526 "ip",
527 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900528 ],
529 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900530 "binary",
531 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900532 ],
533 "client": {
534 "command": [
535 "erl",
536 "+K",
537 "true",
538 "-noshell",
539 "-pa",
540 "../../lib/erl/ebin/",
541 "-pa",
542 "./ebin",
543 "-s",
544 "test_client",
545 "-s",
546 "init",
547 "stop",
548 "-extra"
549 ]
550 },
551 "server": {
552 "command": [
553 "erl",
554 "+K",
555 "true",
556 "-noshell",
557 "-pa",
558 "../../lib/erl/ebin/",
559 "-pa",
560 "./ebin",
561 "-s",
562 "test_thrift_server",
563 "-extra"
564 ]
565 },
566 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900567 },
568 {
569 "name": "js",
570 "transports": [
571 "http"
572 ],
573 "sockets": [
574 "ip"
575 ],
576 "protocols": [
577 "json"
578 ],
579 "client": {
580 "command": [
581 "phantomjs",
582 "test/phantom-client.js"
583 ]
584 },
585 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900586 },
587 {
588 "name": "lua",
589 "TODO": "Add dll to LUA_CPATH",
590 "env": {
591 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
592 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
593 },
594 "client": {
595 "timeout": 5,
596 "transports": [
597 "buffered",
Wang Yaofue432c6b2016-03-09 16:39:03 +0800598 "framed",
599 "http"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900600 ],
601 "sockets": [
602 "ip"
603 ],
604 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900605 "binary",
Wang Yaofu19a3a272016-02-14 18:15:45 +0800606 "compact",
607 "json"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900608 ],
609 "command": [
610 "lua",
611 "test_basic_client.lua"
612 ]
613 },
614 "workdir": "lua"
Allen George8b96bfb2016-11-02 08:01:08 -0400615 },
616 {
617 "name": "rs",
Allen Georgebc1344d2017-04-28 10:22:03 -0400618 "env": {
619 "RUST_BACKTRACE": "1",
620 "RUST_LOG": "info"
621 },
Allen George8b96bfb2016-11-02 08:01:08 -0400622 "server": {
623 "command": [
624 "test_server"
625 ]
626 },
627 "client": {
628 "timeout": 6,
629 "command": [
630 "test_client"
631 ]
632 },
Allen Georgebc1344d2017-04-28 10:22:03 -0400633 "sockets": [
634 "ip"
635 ],
Allen George8b96bfb2016-11-02 08:01:08 -0400636 "transports": [
637 "buffered",
638 "framed"
639 ],
Allen George8b96bfb2016-11-02 08:01:08 -0400640 "protocols": [
641 "binary",
Allen Georgebc1344d2017-04-28 10:22:03 -0400642 "compact",
643 "multi",
644 "multic"
Allen George8b96bfb2016-11-02 08:01:08 -0400645 ],
646 "workdir": "rs/bin"
Roger Meier41ad4342015-03-24 22:30:40 +0100647 }
648]