blob: 7e9cbf74e2237ac546ac0f0e61e3b045aeea4885 [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": {
163 "timeout": 2.9,
164 "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 ],
400 "server": {
401 "command": [
402 "dotnet restore && dotnet run server"
403 ]
404 },
405 "client": {
406 "timeout": 10,
407 "command": [
408 "dotnet run client"
409 ]
410 },
411 "workdir": "netcore/ThriftTest"
412 },
413 {
Roger Meier41ad4342015-03-24 22:30:40 +0100414 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400415 "transports": [
416 "buffered",
417 "framed"
418 ],
419 "sockets": [
420 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400421 "ip-ssl",
422 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400423 ],
424 "protocols": [
425 "binary"
426 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100427 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100428 "command": [
429 "perl",
430 "-Igen-perl/",
431 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400432 "TestClient.pl",
James E. King, III377719c2017-02-15 14:33:20 -0500433 "--ca=../keys/CA.pem",
James E. King, III06190872017-02-20 08:52:11 -0500434 "--cert=../keys/client.crt",
James E. King, III377719c2017-02-15 14:33:20 -0500435 "--key=../keys/client.key"
Jim Kingf5f1b352015-06-24 13:47:24 -0400436 ]
437 },
438 "server": {
439 "command": [
440 "perl",
441 "-Igen-perl/",
442 "-I../../lib/perl/lib/",
443 "TestServer.pl",
James E. King, III06190872017-02-20 08:52:11 -0500444 "--cert=../keys/server.crt",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900445 "--key=../keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100446 ]
447 },
448 "workdir": "perl"
449 },
450 {
451 "name": "php",
452 "client": {
453 "timeout": 6,
454 "transports": [
455 "buffered",
456 "framed"
457 ],
458 "sockets": [
459 "ip"
460 ],
461 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400462 "binary",
463 "compact",
464 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100465 ],
466 "command": [
467 "php",
HÃ¥kon Hitlandf39d4c82016-11-17 16:18:03 +0100468 "-dextension_dir=../../lib/php/src/ext/thrift_protocol/modules/",
469 "--php-ini=../../lib/php/thrift_protocol.ini",
470 "--no-php-ini",
471 "-ddisplay_errors=stderr",
472 "-dlog_errors=0",
473 "-derror_reporting=E_ALL",
Roger Meier41ad4342015-03-24 22:30:40 +0100474 "TestClient.php"
475 ]
476 },
477 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500478 },
479 {
480 "name": "dart",
481 "client": {
482 "transports": [
483 "buffered",
484 "framed",
485 "http"
486 ],
487 "sockets": [
488 "ip"
489 ],
490 "protocols": [
491 "binary",
Mark Ericksonb5f126f2016-02-29 15:27:59 -0600492 "compact",
Mark Erickson932c4702015-08-29 10:46:51 -0500493 "json"
494 ],
495 "command": [
496 "dart",
497 "test_client/bin/main.dart"
498 ]
499 },
500 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900501 },
502 {
503 "name": "erl",
504 "transports": [
505 "buffered",
506 "framed"
507 ],
508 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900509 "ip",
510 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900511 ],
512 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900513 "binary",
514 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900515 ],
516 "client": {
517 "command": [
518 "erl",
519 "+K",
520 "true",
521 "-noshell",
522 "-pa",
523 "../../lib/erl/ebin/",
524 "-pa",
525 "./ebin",
526 "-s",
527 "test_client",
528 "-s",
529 "init",
530 "stop",
531 "-extra"
532 ]
533 },
534 "server": {
535 "command": [
536 "erl",
537 "+K",
538 "true",
539 "-noshell",
540 "-pa",
541 "../../lib/erl/ebin/",
542 "-pa",
543 "./ebin",
544 "-s",
545 "test_thrift_server",
546 "-extra"
547 ]
548 },
549 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900550 },
551 {
552 "name": "js",
553 "transports": [
554 "http"
555 ],
556 "sockets": [
557 "ip"
558 ],
559 "protocols": [
560 "json"
561 ],
562 "client": {
563 "command": [
564 "phantomjs",
565 "test/phantom-client.js"
566 ]
567 },
568 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900569 },
570 {
571 "name": "lua",
572 "TODO": "Add dll to LUA_CPATH",
573 "env": {
574 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
575 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
576 },
577 "client": {
578 "timeout": 5,
579 "transports": [
580 "buffered",
Wang Yaofue432c6b2016-03-09 16:39:03 +0800581 "framed",
582 "http"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900583 ],
584 "sockets": [
585 "ip"
586 ],
587 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900588 "binary",
Wang Yaofu19a3a272016-02-14 18:15:45 +0800589 "compact",
590 "json"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900591 ],
592 "command": [
593 "lua",
594 "test_basic_client.lua"
595 ]
596 },
597 "workdir": "lua"
Allen George8b96bfb2016-11-02 08:01:08 -0400598 },
599 {
600 "name": "rs",
601 "server": {
602 "command": [
603 "test_server"
604 ]
605 },
606 "client": {
607 "timeout": 6,
608 "command": [
609 "test_client"
610 ]
611 },
612 "transports": [
613 "buffered",
614 "framed"
615 ],
616 "sockets": [
617 "ip"
618 ],
619 "protocols": [
620 "binary",
621 "compact"
622 ],
623 "workdir": "rs/bin"
Roger Meier41ad4342015-03-24 22:30:40 +0100624 }
625]