blob: b101bfda54dfbfb2fd8aec9353b96a0c07864311 [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": [
9 "test_server"
10 ]
11 },
12 "client": {
13 "command": [
14 "test_client"
15 ]
16 },
17 "transports": [
18 "buffered",
19 "framed"
20 ],
21 "sockets": [
22 "ip"
23 ],
24 "protocols": [
Chandler May6dde90b2016-01-10 06:01:10 +000025 "binary",
26 "compact"
Roger Meier41ad4342015-03-24 22:30:40 +010027 ],
28 "workdir": "c_glib"
29 },
30 {
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090031 "name": "d",
32 "server": {
33 "command": [
34 "thrift_test_server"
35 ]
36 },
37 "client": {
38 "command": [
39 "thrift_test_client"
40 ]
41 },
42 "transports": [
43 "http",
44 "buffered",
45 "framed"
46 ],
47 "sockets": [
48 "ip",
49 "ip-ssl"
50 ],
51 "protocols": [
52 "binary",
53 "compact",
54 "json"
55 ],
56 "workdir": "../lib/d/test"
57 },
58 {
Roger Meier41ad4342015-03-24 22:30:40 +010059 "name": "go",
60 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +010061 "command": [
62 "testserver",
63 "--certPath=../../keys"
64 ]
65 },
66 "client": {
67 "timeout": 6,
68 "command": [
69 "testclient"
70 ]
71 },
72 "transports": [
73 "buffered",
claudemirof8ca0552016-01-10 23:31:30 -020074 "framed",
75 "http"
Roger Meier41ad4342015-03-24 22:30:40 +010076 ],
77 "sockets": [
78 "ip",
79 "ip-ssl"
80 ],
81 "protocols": [
82 "binary",
83 "compact",
84 "json"
85 ],
86 "workdir": "go/bin"
87 },
88 {
89 "name": "java",
90 "join_args": true,
91 "command": [
92 "ant",
93 "-f",
94 "build.xml",
95 "-Dno-gen-thrift=\"\"",
96 "-Dtestargs"
97 ],
98 "prepare": [
99 "ant",
100 "-f",
101 "build.xml",
102 "compile-test"
103 ],
104 "server": {
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900105 "delay": 10,
Roger Meier41ad4342015-03-24 22:30:40 +0100106 "extra_args": ["run-testserver"]
107 },
108 "client": {
109 "timeout": 13,
110 "extra_args": ["run-testclient"],
111 "transports": [
112 "http"
113 ]
114 },
115 "transports": [
116 "buffered",
117 "framed",
118 "framed:fastframed"
119 ],
120 "sockets": [
121 "ip-ssl",
122 "ip"
123 ],
124 "protocols": [
125 "compact",
126 "binary",
127 "json"
128 ],
129 "workdir": "../lib/java"
130 },
131 {
132 "name": "nodejs",
133 "env": {
134 "NODE_PATH": "../lib"
135 },
136 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100137 "command": [
138 "node",
139 "server.js",
140 "--type=tcp"
141 ]
142 },
143 "client": {
144 "timeout": 2.9,
145 "command": [
146 "node",
147 "client.js",
148 "--type=tcp"
149 ]
150 },
151 "transports": [
152 "buffered",
153 "framed"
154 ],
155 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400156 "ip",
157 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100158 ],
159 "protocols": [
160 "compact",
161 "binary",
162 "json"
163 ],
164 "workdir": "../lib/nodejs/test"
165 },
166 {
167 "name": "hs",
168 "server": {
169 "command": [
170 "TestServer"
171 ]
172 },
173 "client": {
174 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200175 "transports": [
176 "http"
177 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100178 "command": [
179 "TestClient"
180 ]
181 },
182 "transports": [
183 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200184 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100185 ],
186 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200187 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100188 ],
189 "protocols": [
190 "compact",
191 "binary",
192 "json"
193 ],
194 "workdir": "hs"
195 },
196 {
197 "name": "py",
198 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100199 "extra_args": ["TSimpleServer"],
200 "command": [
201 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200202 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100203 "--genpydir=gen-py"
204 ]
205 },
206 "client": {
207 "timeout": 10,
208 "command": [
209 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900210 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100211 "--host=localhost",
212 "--genpydir=gen-py"
213 ]
214 },
215 "transports": [
216 "buffered",
217 "framed"
218 ],
219 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400220 "ip",
221 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100222 ],
223 "protocols": [
224 "compact",
225 "binary",
226 "json",
Nobuaki Sukegawa6525f6a2016-02-11 13:58:39 +0900227 "binary:accel",
228 "compact:accelc"
Roger Meier41ad4342015-03-24 22:30:40 +0100229 ],
230 "workdir": "py"
231 },
232 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900233 "comment": "Using 'python3' executable to test py2 and 3 at once",
234 "name": "py3",
235 "server": {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900236 "extra_args": ["TSimpleServer"],
237 "command": [
238 "python3",
239 "TestServer.py",
240 "--verbose",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900241 "--genpydir=gen-py"
242 ]
243 },
244 "client": {
245 "timeout": 10,
246 "command": [
247 "python3",
248 "TestClient.py",
249 "--host=localhost",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900250 "--genpydir=gen-py"
251 ]
252 },
253 "transports": [
254 "buffered",
255 "framed"
256 ],
257 "sockets": [
258 "ip-ssl",
259 "ip"
260 ],
261 "protocols": [
262 "compact",
263 "binary",
Nobuaki Sukegawa7af189a2016-02-11 16:21:01 +0900264 "json",
265 "binary:accel",
266 "compact:accelc"
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900267 ],
268 "workdir": "py"
269 },
270 {
Roger Meier41ad4342015-03-24 22:30:40 +0100271 "name": "cpp",
272 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100273 "command": [
274 "TestServer"
275 ]
276 },
277 "client": {
278 "timeout": 8,
279 "command": [
280 "TestClient"
281 ]
282 },
283 "transports": [
284 "buffered",
285 "http",
286 "framed"
287 ],
288 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100289 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400290 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100291 "domain"
292 ],
293 "protocols": [
294 "compact",
295 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800296 "json",
297 "header"
Roger Meier41ad4342015-03-24 22:30:40 +0100298 ],
299 "workdir": "cpp"
300 },
301 {
302 "name": "rb",
303 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100304 "command": [
305 "ruby",
306 "../integration/TestServer.rb"
307 ]
308 },
309 "client": {
310 "timeout": 5,
311 "command": [
312 "ruby",
Nobuaki Sukegawae1e09c72016-02-18 01:03:07 +0900313 "../integration/TestClient.rb"
Roger Meier41ad4342015-03-24 22:30:40 +0100314 ]
315 },
316 "transports": [
317 "buffered",
318 "framed"
319 ],
320 "sockets": [
321 "ip"
322 ],
323 "protocols": [
324 "compact",
325 "binary",
326 "json",
327 "binary:accel"
328 ],
329 "workdir": "rb/gen-rb"
330 },
331 {
332 "name": "csharp",
333 "env": {
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900334 "MONO_PATH": "../../lib/csharp/"
Roger Meier41ad4342015-03-24 22:30:40 +0100335 },
336 "transports": [
337 "buffered",
338 "framed"
339 ],
340 "sockets": [
341 "ip",
342 "ip-ssl"
343 ],
344 "protocols": [
345 "binary",
346 "compact",
347 "json"
348 ],
349 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100350 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900351 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100352 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200353 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100354 ]
355 },
356 "client": {
357 "timeout": 9,
358 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900359 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100360 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200361 "client"
Roger Meier41ad4342015-03-24 22:30:40 +0100362 ]
363 },
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900364 "workdir": "csharp"
Roger Meier41ad4342015-03-24 22:30:40 +0100365 },
366 {
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500367 "name": "netcore",
368 "transports": [
369 "buffered",
370 "framed"
371 ],
372 "sockets": [
373 "ip",
374 "ip-ssl"
375 ],
376 "protocols": [
377 "binary",
378 "compact",
379 "json"
380 ],
381 "server": {
382 "command": [
383 "dotnet restore && dotnet run server"
384 ]
385 },
386 "client": {
387 "timeout": 10,
388 "command": [
389 "dotnet run client"
390 ]
391 },
392 "workdir": "netcore/ThriftTest"
393 },
394 {
Roger Meier41ad4342015-03-24 22:30:40 +0100395 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400396 "transports": [
397 "buffered",
398 "framed"
399 ],
400 "sockets": [
401 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400402 "ip-ssl",
403 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400404 ],
405 "protocols": [
406 "binary"
407 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100408 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100409 "command": [
410 "perl",
411 "-Igen-perl/",
412 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400413 "TestClient.pl",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900414 "--cert=../keys/client.pem"
Jim Kingf5f1b352015-06-24 13:47:24 -0400415 ]
416 },
417 "server": {
418 "command": [
419 "perl",
420 "-Igen-perl/",
421 "-I../../lib/perl/lib/",
422 "TestServer.pl",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900423 "--cert=../keys/server.pem",
424 "--key=../keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100425 ]
426 },
427 "workdir": "perl"
428 },
429 {
430 "name": "php",
431 "client": {
432 "timeout": 6,
433 "transports": [
434 "buffered",
435 "framed"
436 ],
437 "sockets": [
438 "ip"
439 ],
440 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400441 "binary",
442 "compact",
443 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100444 ],
445 "command": [
446 "php",
HÃ¥kon Hitlandf39d4c82016-11-17 16:18:03 +0100447 "-dextension_dir=../../lib/php/src/ext/thrift_protocol/modules/",
448 "--php-ini=../../lib/php/thrift_protocol.ini",
449 "--no-php-ini",
450 "-ddisplay_errors=stderr",
451 "-dlog_errors=0",
452 "-derror_reporting=E_ALL",
Roger Meier41ad4342015-03-24 22:30:40 +0100453 "TestClient.php"
454 ]
455 },
456 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500457 },
458 {
459 "name": "dart",
460 "client": {
461 "transports": [
462 "buffered",
463 "framed",
464 "http"
465 ],
466 "sockets": [
467 "ip"
468 ],
469 "protocols": [
470 "binary",
Mark Ericksonb5f126f2016-02-29 15:27:59 -0600471 "compact",
Mark Erickson932c4702015-08-29 10:46:51 -0500472 "json"
473 ],
474 "command": [
475 "dart",
476 "test_client/bin/main.dart"
477 ]
478 },
479 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900480 },
481 {
482 "name": "erl",
483 "transports": [
484 "buffered",
485 "framed"
486 ],
487 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900488 "ip",
489 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900490 ],
491 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900492 "binary",
493 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900494 ],
495 "client": {
496 "command": [
497 "erl",
498 "+K",
499 "true",
500 "-noshell",
501 "-pa",
502 "../../lib/erl/ebin/",
503 "-pa",
504 "./ebin",
505 "-s",
506 "test_client",
507 "-s",
508 "init",
509 "stop",
510 "-extra"
511 ]
512 },
513 "server": {
514 "command": [
515 "erl",
516 "+K",
517 "true",
518 "-noshell",
519 "-pa",
520 "../../lib/erl/ebin/",
521 "-pa",
522 "./ebin",
523 "-s",
524 "test_thrift_server",
525 "-extra"
526 ]
527 },
528 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900529 },
530 {
531 "name": "js",
532 "transports": [
533 "http"
534 ],
535 "sockets": [
536 "ip"
537 ],
538 "protocols": [
539 "json"
540 ],
541 "client": {
542 "command": [
543 "phantomjs",
544 "test/phantom-client.js"
545 ]
546 },
547 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900548 },
549 {
550 "name": "lua",
551 "TODO": "Add dll to LUA_CPATH",
552 "env": {
553 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
554 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
555 },
556 "client": {
557 "timeout": 5,
558 "transports": [
559 "buffered",
Wang Yaofue432c6b2016-03-09 16:39:03 +0800560 "framed",
561 "http"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900562 ],
563 "sockets": [
564 "ip"
565 ],
566 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900567 "binary",
Wang Yaofu19a3a272016-02-14 18:15:45 +0800568 "compact",
569 "json"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900570 ],
571 "command": [
572 "lua",
573 "test_basic_client.lua"
574 ]
575 },
576 "workdir": "lua"
Roger Meier41ad4342015-03-24 22:30:40 +0100577 }
578]