blob: fdd725cf55414897a6ca5b76fbebffa490d8ee78 [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"
Roger Meier41ad4342015-03-24 22:30:40 +010011 ]
12 },
13 "client": {
14 "command": [
James E. King, III37aac3b2017-02-21 14:01:09 -050015 "test_client",
16 "--lt-debug"
James E. King, III36628a22017-02-13 15:25:41 -050017 ],
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +010018 "protocols": [
James E. King, III37aac3b2017-02-21 14:01:09 -050019 "multi",
20 "multic",
21 "multi:binary",
22 "multic:compact"
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +010023 ],
James E. King, III36628a22017-02-13 15:25:41 -050024 "sockets": [
25 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +010026 ]
27 },
28 "transports": [
29 "buffered",
30 "framed"
31 ],
32 "sockets": [
33 "ip"
34 ],
35 "protocols": [
Chandler May6dde90b2016-01-10 06:01:10 +000036 "binary",
37 "compact"
Roger Meier41ad4342015-03-24 22:30:40 +010038 ],
39 "workdir": "c_glib"
40 },
41 {
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090042 "name": "d",
43 "server": {
44 "command": [
45 "thrift_test_server"
46 ]
47 },
48 "client": {
49 "command": [
50 "thrift_test_client"
51 ]
52 },
53 "transports": [
54 "http",
55 "buffered",
56 "framed"
57 ],
58 "sockets": [
59 "ip",
60 "ip-ssl"
61 ],
62 "protocols": [
63 "binary",
64 "compact",
65 "json"
66 ],
67 "workdir": "../lib/d/test"
68 },
69 {
Roger Meier41ad4342015-03-24 22:30:40 +010070 "name": "go",
71 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +010072 "command": [
73 "testserver",
74 "--certPath=../../keys"
75 ]
76 },
77 "client": {
78 "timeout": 6,
79 "command": [
80 "testclient"
81 ]
82 },
83 "transports": [
84 "buffered",
claudemirof8ca0552016-01-10 23:31:30 -020085 "framed",
86 "http"
Roger Meier41ad4342015-03-24 22:30:40 +010087 ],
88 "sockets": [
89 "ip",
90 "ip-ssl"
91 ],
92 "protocols": [
93 "binary",
94 "compact",
95 "json"
96 ],
97 "workdir": "go/bin"
98 },
99 {
100 "name": "java",
101 "join_args": true,
102 "command": [
103 "ant",
104 "-f",
105 "build.xml",
106 "-Dno-gen-thrift=\"\"",
107 "-Dtestargs"
108 ],
109 "prepare": [
110 "ant",
111 "-f",
112 "build.xml",
113 "compile-test"
114 ],
115 "server": {
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900116 "delay": 10,
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100117 "extra_args": ["run-testserver"],
118 "protocols": [
James E. King, III37aac3b2017-02-21 14:01:09 -0500119 "binary:multi",
120 "compact:multic",
121 "json:multij",
122 "multi",
123 "multic",
124 "multij"
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100125 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100126 },
127 "client": {
128 "timeout": 13,
129 "extra_args": ["run-testclient"],
130 "transports": [
131 "http"
132 ]
133 },
134 "transports": [
135 "buffered",
136 "framed",
137 "framed:fastframed"
138 ],
139 "sockets": [
James E. King, III06190872017-02-20 08:52:11 -0500140 "ip",
141 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100142 ],
143 "protocols": [
Roger Meier41ad4342015-03-24 22:30:40 +0100144 "binary",
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100145 "compact",
Roger Meier41ad4342015-03-24 22:30:40 +0100146 "json"
147 ],
148 "workdir": "../lib/java"
149 },
150 {
151 "name": "nodejs",
152 "env": {
153 "NODE_PATH": "../lib"
154 },
155 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100156 "command": [
157 "node",
158 "server.js",
159 "--type=tcp"
160 ]
161 },
162 "client": {
James E. King, IIId7142b72017-09-01 13:00:36 -0700163 "timeout": 6,
Roger Meier41ad4342015-03-24 22:30:40 +0100164 "command": [
165 "node",
166 "client.js",
167 "--type=tcp"
168 ]
169 },
170 "transports": [
171 "buffered",
172 "framed"
173 ],
174 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400175 "ip",
176 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100177 ],
178 "protocols": [
179 "compact",
180 "binary",
181 "json"
182 ],
183 "workdir": "../lib/nodejs/test"
184 },
185 {
186 "name": "hs",
187 "server": {
188 "command": [
189 "TestServer"
190 ]
191 },
192 "client": {
193 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200194 "transports": [
195 "http"
196 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100197 "command": [
198 "TestClient"
199 ]
200 },
201 "transports": [
202 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200203 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100204 ],
205 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200206 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100207 ],
208 "protocols": [
209 "compact",
210 "binary",
211 "json"
212 ],
213 "workdir": "hs"
214 },
215 {
216 "name": "py",
217 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100218 "extra_args": ["TSimpleServer"],
219 "command": [
220 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200221 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100222 "--genpydir=gen-py"
223 ]
224 },
225 "client": {
226 "timeout": 10,
227 "command": [
228 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900229 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100230 "--host=localhost",
231 "--genpydir=gen-py"
232 ]
233 },
234 "transports": [
235 "buffered",
236 "framed"
237 ],
238 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400239 "ip",
240 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100241 ],
242 "protocols": [
243 "compact",
244 "binary",
245 "json",
Nobuaki Sukegawa6525f6a2016-02-11 13:58:39 +0900246 "binary:accel",
247 "compact:accelc"
Roger Meier41ad4342015-03-24 22:30:40 +0100248 ],
249 "workdir": "py"
250 },
251 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900252 "comment": "Using 'python3' executable to test py2 and 3 at once",
253 "name": "py3",
254 "server": {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900255 "extra_args": ["TSimpleServer"],
256 "command": [
257 "python3",
258 "TestServer.py",
259 "--verbose",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900260 "--genpydir=gen-py"
261 ]
262 },
263 "client": {
264 "timeout": 10,
265 "command": [
266 "python3",
267 "TestClient.py",
268 "--host=localhost",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900269 "--genpydir=gen-py"
270 ]
271 },
272 "transports": [
273 "buffered",
274 "framed"
275 ],
276 "sockets": [
277 "ip-ssl",
278 "ip"
279 ],
280 "protocols": [
281 "compact",
282 "binary",
Nobuaki Sukegawa7af189a2016-02-11 16:21:01 +0900283 "json",
284 "binary:accel",
285 "compact:accelc"
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900286 ],
287 "workdir": "py"
288 },
289 {
Roger Meier41ad4342015-03-24 22:30:40 +0100290 "name": "cpp",
291 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100292 "command": [
293 "TestServer"
294 ]
295 },
296 "client": {
297 "timeout": 8,
298 "command": [
299 "TestClient"
300 ]
301 },
302 "transports": [
303 "buffered",
304 "http",
305 "framed"
306 ],
307 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100308 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400309 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100310 "domain"
311 ],
312 "protocols": [
313 "compact",
314 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800315 "json",
316 "header"
Roger Meier41ad4342015-03-24 22:30:40 +0100317 ],
318 "workdir": "cpp"
319 },
320 {
321 "name": "rb",
322 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100323 "command": [
324 "ruby",
325 "../integration/TestServer.rb"
326 ]
327 },
328 "client": {
329 "timeout": 5,
330 "command": [
331 "ruby",
Nobuaki Sukegawae1e09c72016-02-18 01:03:07 +0900332 "../integration/TestClient.rb"
Roger Meier41ad4342015-03-24 22:30:40 +0100333 ]
334 },
335 "transports": [
336 "buffered",
337 "framed"
338 ],
339 "sockets": [
340 "ip"
341 ],
342 "protocols": [
343 "compact",
344 "binary",
345 "json",
346 "binary:accel"
347 ],
348 "workdir": "rb/gen-rb"
349 },
350 {
351 "name": "csharp",
352 "env": {
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900353 "MONO_PATH": "../../lib/csharp/"
Roger Meier41ad4342015-03-24 22:30:40 +0100354 },
355 "transports": [
356 "buffered",
357 "framed"
358 ],
359 "sockets": [
360 "ip",
361 "ip-ssl"
362 ],
363 "protocols": [
364 "binary",
365 "compact",
366 "json"
367 ],
368 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100369 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900370 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100371 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200372 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100373 ]
374 },
375 "client": {
376 "timeout": 9,
377 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900378 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100379 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200380 "client"
Roger Meier41ad4342015-03-24 22:30:40 +0100381 ]
382 },
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900383 "workdir": "csharp"
Roger Meier41ad4342015-03-24 22:30:40 +0100384 },
385 {
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500386 "name": "netcore",
387 "transports": [
388 "buffered",
389 "framed"
390 ],
391 "sockets": [
392 "ip",
393 "ip-ssl"
394 ],
395 "protocols": [
396 "binary",
397 "compact",
398 "json"
399 ],
James E. King, IIIb6287362017-09-28 11:57:42 +0000400 "server-disabled": {
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500401 "command": [
James E. King, IIIb6287362017-09-28 11:57:42 +0000402 "dotnet",
403 "run",
404 "--no-build",
405 "--no-restore",
406 "--",
407 "server"
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500408 ]
409 },
410 "client": {
411 "timeout": 10,
412 "command": [
James E. King, IIIb6287362017-09-28 11:57:42 +0000413 "dotnet",
414 "run",
415 "--no-build",
416 "--no-restore",
417 "--",
418 "client"
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500419 ]
420 },
421 "workdir": "netcore/ThriftTest"
422 },
423 {
Roger Meier41ad4342015-03-24 22:30:40 +0100424 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400425 "transports": [
426 "buffered",
427 "framed"
428 ],
429 "sockets": [
430 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400431 "ip-ssl",
432 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400433 ],
434 "protocols": [
435 "binary"
436 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100437 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100438 "command": [
439 "perl",
440 "-Igen-perl/",
441 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400442 "TestClient.pl",
James E. King, III377719c2017-02-15 14:33:20 -0500443 "--ca=../keys/CA.pem",
James E. King, III06190872017-02-20 08:52:11 -0500444 "--cert=../keys/client.crt",
James E. King, III377719c2017-02-15 14:33:20 -0500445 "--key=../keys/client.key"
Jim Kingf5f1b352015-06-24 13:47:24 -0400446 ]
447 },
448 "server": {
449 "command": [
450 "perl",
451 "-Igen-perl/",
452 "-I../../lib/perl/lib/",
453 "TestServer.pl",
James E. King, III06190872017-02-20 08:52:11 -0500454 "--cert=../keys/server.crt",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900455 "--key=../keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100456 ]
457 },
458 "workdir": "perl"
459 },
460 {
461 "name": "php",
462 "client": {
463 "timeout": 6,
464 "transports": [
465 "buffered",
466 "framed"
467 ],
468 "sockets": [
469 "ip"
470 ],
471 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400472 "binary",
473 "compact",
474 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100475 ],
476 "command": [
477 "php",
HÃ¥kon Hitland9462edb2017-07-25 16:38:26 +0200478 "-dextension_dir=php_ext_dir",
479 "--php-ini=test_php.ini",
HÃ¥kon Hitlandf39d4c82016-11-17 16:18:03 +0100480 "--no-php-ini",
481 "-ddisplay_errors=stderr",
482 "-dlog_errors=0",
483 "-derror_reporting=E_ALL",
Roger Meier41ad4342015-03-24 22:30:40 +0100484 "TestClient.php"
485 ]
486 },
487 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500488 },
489 {
490 "name": "dart",
491 "client": {
492 "transports": [
493 "buffered",
494 "framed",
495 "http"
496 ],
497 "sockets": [
498 "ip"
499 ],
500 "protocols": [
501 "binary",
Mark Ericksonb5f126f2016-02-29 15:27:59 -0600502 "compact",
Mark Erickson932c4702015-08-29 10:46:51 -0500503 "json"
504 ],
505 "command": [
506 "dart",
507 "test_client/bin/main.dart"
508 ]
509 },
510 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900511 },
512 {
513 "name": "erl",
514 "transports": [
515 "buffered",
516 "framed"
517 ],
518 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900519 "ip",
520 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900521 ],
522 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900523 "binary",
524 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900525 ],
526 "client": {
527 "command": [
528 "erl",
529 "+K",
530 "true",
531 "-noshell",
532 "-pa",
533 "../../lib/erl/ebin/",
534 "-pa",
535 "./ebin",
536 "-s",
537 "test_client",
538 "-s",
539 "init",
540 "stop",
541 "-extra"
542 ]
543 },
544 "server": {
545 "command": [
546 "erl",
547 "+K",
548 "true",
549 "-noshell",
550 "-pa",
551 "../../lib/erl/ebin/",
552 "-pa",
553 "./ebin",
554 "-s",
555 "test_thrift_server",
556 "-extra"
557 ]
558 },
559 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900560 },
561 {
562 "name": "js",
563 "transports": [
564 "http"
565 ],
566 "sockets": [
567 "ip"
568 ],
569 "protocols": [
570 "json"
571 ],
572 "client": {
573 "command": [
574 "phantomjs",
575 "test/phantom-client.js"
576 ]
577 },
578 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900579 },
580 {
581 "name": "lua",
582 "TODO": "Add dll to LUA_CPATH",
583 "env": {
584 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
585 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
586 },
587 "client": {
588 "timeout": 5,
589 "transports": [
590 "buffered",
Wang Yaofue432c6b2016-03-09 16:39:03 +0800591 "framed",
592 "http"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900593 ],
594 "sockets": [
595 "ip"
596 ],
597 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900598 "binary",
Wang Yaofu19a3a272016-02-14 18:15:45 +0800599 "compact",
600 "json"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900601 ],
602 "command": [
603 "lua",
604 "test_basic_client.lua"
605 ]
606 },
607 "workdir": "lua"
Allen George8b96bfb2016-11-02 08:01:08 -0400608 },
609 {
610 "name": "rs",
Allen Georgebc1344d2017-04-28 10:22:03 -0400611 "env": {
612 "RUST_BACKTRACE": "1",
613 "RUST_LOG": "info"
614 },
Allen George8b96bfb2016-11-02 08:01:08 -0400615 "server": {
616 "command": [
617 "test_server"
618 ]
619 },
620 "client": {
621 "timeout": 6,
622 "command": [
623 "test_client"
624 ]
625 },
Allen Georgebc1344d2017-04-28 10:22:03 -0400626 "sockets": [
627 "ip"
628 ],
Allen George8b96bfb2016-11-02 08:01:08 -0400629 "transports": [
630 "buffered",
631 "framed"
632 ],
Allen George8b96bfb2016-11-02 08:01:08 -0400633 "protocols": [
634 "binary",
Allen Georgebc1344d2017-04-28 10:22:03 -0400635 "compact",
636 "multi",
637 "multic"
Allen George8b96bfb2016-11-02 08:01:08 -0400638 ],
639 "workdir": "rs/bin"
Roger Meier41ad4342015-03-24 22:30:40 +0100640 }
641]