blob: 5de36f59f4d80146cedb8793efd92b9658ae51f1 [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"
James E. King, III36628a22017-02-13 15:25:41 -050015 ],
16 "sockets": [
17 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +010018 ]
19 },
20 "transports": [
21 "buffered",
22 "framed"
23 ],
24 "sockets": [
25 "ip"
26 ],
27 "protocols": [
Chandler May6dde90b2016-01-10 06:01:10 +000028 "binary",
29 "compact"
Roger Meier41ad4342015-03-24 22:30:40 +010030 ],
31 "workdir": "c_glib"
32 },
33 {
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090034 "name": "d",
35 "server": {
36 "command": [
37 "thrift_test_server"
38 ]
39 },
40 "client": {
41 "command": [
42 "thrift_test_client"
43 ]
44 },
45 "transports": [
46 "http",
47 "buffered",
48 "framed"
49 ],
50 "sockets": [
51 "ip",
52 "ip-ssl"
53 ],
54 "protocols": [
55 "binary",
56 "compact",
57 "json"
58 ],
59 "workdir": "../lib/d/test"
60 },
61 {
Roger Meier41ad4342015-03-24 22:30:40 +010062 "name": "go",
63 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +010064 "command": [
65 "testserver",
66 "--certPath=../../keys"
67 ]
68 },
69 "client": {
70 "timeout": 6,
71 "command": [
72 "testclient"
73 ]
74 },
75 "transports": [
76 "buffered",
claudemirof8ca0552016-01-10 23:31:30 -020077 "framed",
78 "http"
Roger Meier41ad4342015-03-24 22:30:40 +010079 ],
80 "sockets": [
81 "ip",
82 "ip-ssl"
83 ],
84 "protocols": [
85 "binary",
86 "compact",
87 "json"
88 ],
89 "workdir": "go/bin"
90 },
91 {
92 "name": "java",
93 "join_args": true,
94 "command": [
95 "ant",
96 "-f",
97 "build.xml",
98 "-Dno-gen-thrift=\"\"",
99 "-Dtestargs"
100 ],
101 "prepare": [
102 "ant",
103 "-f",
104 "build.xml",
105 "compile-test"
106 ],
107 "server": {
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900108 "delay": 10,
Roger Meier41ad4342015-03-24 22:30:40 +0100109 "extra_args": ["run-testserver"]
110 },
111 "client": {
112 "timeout": 13,
113 "extra_args": ["run-testclient"],
114 "transports": [
115 "http"
116 ]
117 },
118 "transports": [
119 "buffered",
120 "framed",
121 "framed:fastframed"
122 ],
123 "sockets": [
124 "ip-ssl",
125 "ip"
126 ],
127 "protocols": [
128 "compact",
129 "binary",
130 "json"
131 ],
132 "workdir": "../lib/java"
133 },
134 {
135 "name": "nodejs",
136 "env": {
137 "NODE_PATH": "../lib"
138 },
139 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100140 "command": [
141 "node",
142 "server.js",
143 "--type=tcp"
144 ]
145 },
146 "client": {
147 "timeout": 2.9,
148 "command": [
149 "node",
150 "client.js",
151 "--type=tcp"
152 ]
153 },
154 "transports": [
155 "buffered",
156 "framed"
157 ],
158 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400159 "ip",
160 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100161 ],
162 "protocols": [
163 "compact",
164 "binary",
165 "json"
166 ],
167 "workdir": "../lib/nodejs/test"
168 },
169 {
170 "name": "hs",
171 "server": {
172 "command": [
173 "TestServer"
174 ]
175 },
176 "client": {
177 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200178 "transports": [
179 "http"
180 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100181 "command": [
182 "TestClient"
183 ]
184 },
185 "transports": [
186 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200187 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100188 ],
189 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200190 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100191 ],
192 "protocols": [
193 "compact",
194 "binary",
195 "json"
196 ],
197 "workdir": "hs"
198 },
199 {
200 "name": "py",
201 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100202 "extra_args": ["TSimpleServer"],
203 "command": [
204 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200205 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100206 "--genpydir=gen-py"
207 ]
208 },
209 "client": {
210 "timeout": 10,
211 "command": [
212 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900213 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100214 "--host=localhost",
215 "--genpydir=gen-py"
216 ]
217 },
218 "transports": [
219 "buffered",
220 "framed"
221 ],
222 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400223 "ip",
224 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100225 ],
226 "protocols": [
227 "compact",
228 "binary",
229 "json",
Nobuaki Sukegawa6525f6a2016-02-11 13:58:39 +0900230 "binary:accel",
231 "compact:accelc"
Roger Meier41ad4342015-03-24 22:30:40 +0100232 ],
233 "workdir": "py"
234 },
235 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900236 "comment": "Using 'python3' executable to test py2 and 3 at once",
237 "name": "py3",
238 "server": {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900239 "extra_args": ["TSimpleServer"],
240 "command": [
241 "python3",
242 "TestServer.py",
243 "--verbose",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900244 "--genpydir=gen-py"
245 ]
246 },
247 "client": {
248 "timeout": 10,
249 "command": [
250 "python3",
251 "TestClient.py",
252 "--host=localhost",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900253 "--genpydir=gen-py"
254 ]
255 },
256 "transports": [
257 "buffered",
258 "framed"
259 ],
260 "sockets": [
261 "ip-ssl",
262 "ip"
263 ],
264 "protocols": [
265 "compact",
266 "binary",
Nobuaki Sukegawa7af189a2016-02-11 16:21:01 +0900267 "json",
268 "binary:accel",
269 "compact:accelc"
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900270 ],
271 "workdir": "py"
272 },
273 {
Roger Meier41ad4342015-03-24 22:30:40 +0100274 "name": "cpp",
275 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100276 "command": [
277 "TestServer"
278 ]
279 },
280 "client": {
281 "timeout": 8,
282 "command": [
283 "TestClient"
284 ]
285 },
286 "transports": [
287 "buffered",
288 "http",
289 "framed"
290 ],
291 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100292 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400293 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100294 "domain"
295 ],
296 "protocols": [
297 "compact",
298 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800299 "json",
300 "header"
Roger Meier41ad4342015-03-24 22:30:40 +0100301 ],
302 "workdir": "cpp"
303 },
304 {
305 "name": "rb",
306 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100307 "command": [
308 "ruby",
309 "../integration/TestServer.rb"
310 ]
311 },
312 "client": {
313 "timeout": 5,
314 "command": [
315 "ruby",
Nobuaki Sukegawae1e09c72016-02-18 01:03:07 +0900316 "../integration/TestClient.rb"
Roger Meier41ad4342015-03-24 22:30:40 +0100317 ]
318 },
319 "transports": [
320 "buffered",
321 "framed"
322 ],
323 "sockets": [
324 "ip"
325 ],
326 "protocols": [
327 "compact",
328 "binary",
329 "json",
330 "binary:accel"
331 ],
332 "workdir": "rb/gen-rb"
333 },
334 {
335 "name": "csharp",
336 "env": {
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900337 "MONO_PATH": "../../lib/csharp/"
Roger Meier41ad4342015-03-24 22:30:40 +0100338 },
339 "transports": [
340 "buffered",
341 "framed"
342 ],
343 "sockets": [
344 "ip",
345 "ip-ssl"
346 ],
347 "protocols": [
348 "binary",
349 "compact",
350 "json"
351 ],
352 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100353 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900354 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100355 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200356 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100357 ]
358 },
359 "client": {
360 "timeout": 9,
361 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900362 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100363 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200364 "client"
Roger Meier41ad4342015-03-24 22:30:40 +0100365 ]
366 },
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900367 "workdir": "csharp"
Roger Meier41ad4342015-03-24 22:30:40 +0100368 },
369 {
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500370 "name": "netcore",
371 "transports": [
372 "buffered",
373 "framed"
374 ],
375 "sockets": [
376 "ip",
377 "ip-ssl"
378 ],
379 "protocols": [
380 "binary",
381 "compact",
382 "json"
383 ],
384 "server": {
385 "command": [
386 "dotnet restore && dotnet run server"
387 ]
388 },
389 "client": {
390 "timeout": 10,
391 "command": [
392 "dotnet run client"
393 ]
394 },
395 "workdir": "netcore/ThriftTest"
396 },
397 {
Roger Meier41ad4342015-03-24 22:30:40 +0100398 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400399 "transports": [
400 "buffered",
401 "framed"
402 ],
403 "sockets": [
404 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400405 "ip-ssl",
406 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400407 ],
408 "protocols": [
409 "binary"
410 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100411 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100412 "command": [
413 "perl",
414 "-Igen-perl/",
415 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400416 "TestClient.pl",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900417 "--cert=../keys/client.pem"
Jim Kingf5f1b352015-06-24 13:47:24 -0400418 ]
419 },
420 "server": {
421 "command": [
422 "perl",
423 "-Igen-perl/",
424 "-I../../lib/perl/lib/",
425 "TestServer.pl",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900426 "--cert=../keys/server.pem",
427 "--key=../keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100428 ]
429 },
430 "workdir": "perl"
431 },
432 {
433 "name": "php",
434 "client": {
435 "timeout": 6,
436 "transports": [
437 "buffered",
438 "framed"
439 ],
440 "sockets": [
441 "ip"
442 ],
443 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400444 "binary",
445 "compact",
446 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100447 ],
448 "command": [
449 "php",
HÃ¥kon Hitlandf39d4c82016-11-17 16:18:03 +0100450 "-dextension_dir=../../lib/php/src/ext/thrift_protocol/modules/",
451 "--php-ini=../../lib/php/thrift_protocol.ini",
452 "--no-php-ini",
453 "-ddisplay_errors=stderr",
454 "-dlog_errors=0",
455 "-derror_reporting=E_ALL",
Roger Meier41ad4342015-03-24 22:30:40 +0100456 "TestClient.php"
457 ]
458 },
459 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500460 },
461 {
462 "name": "dart",
463 "client": {
464 "transports": [
465 "buffered",
466 "framed",
467 "http"
468 ],
469 "sockets": [
470 "ip"
471 ],
472 "protocols": [
473 "binary",
Mark Ericksonb5f126f2016-02-29 15:27:59 -0600474 "compact",
Mark Erickson932c4702015-08-29 10:46:51 -0500475 "json"
476 ],
477 "command": [
478 "dart",
479 "test_client/bin/main.dart"
480 ]
481 },
482 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900483 },
484 {
485 "name": "erl",
486 "transports": [
487 "buffered",
488 "framed"
489 ],
490 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900491 "ip",
492 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900493 ],
494 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900495 "binary",
496 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900497 ],
498 "client": {
499 "command": [
500 "erl",
501 "+K",
502 "true",
503 "-noshell",
504 "-pa",
505 "../../lib/erl/ebin/",
506 "-pa",
507 "./ebin",
508 "-s",
509 "test_client",
510 "-s",
511 "init",
512 "stop",
513 "-extra"
514 ]
515 },
516 "server": {
517 "command": [
518 "erl",
519 "+K",
520 "true",
521 "-noshell",
522 "-pa",
523 "../../lib/erl/ebin/",
524 "-pa",
525 "./ebin",
526 "-s",
527 "test_thrift_server",
528 "-extra"
529 ]
530 },
531 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900532 },
533 {
534 "name": "js",
535 "transports": [
536 "http"
537 ],
538 "sockets": [
539 "ip"
540 ],
541 "protocols": [
542 "json"
543 ],
544 "client": {
545 "command": [
546 "phantomjs",
547 "test/phantom-client.js"
548 ]
549 },
550 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900551 },
552 {
553 "name": "lua",
554 "TODO": "Add dll to LUA_CPATH",
555 "env": {
556 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
557 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
558 },
559 "client": {
560 "timeout": 5,
561 "transports": [
562 "buffered",
Wang Yaofue432c6b2016-03-09 16:39:03 +0800563 "framed",
564 "http"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900565 ],
566 "sockets": [
567 "ip"
568 ],
569 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900570 "binary",
Wang Yaofu19a3a272016-02-14 18:15:45 +0800571 "compact",
572 "json"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900573 ],
574 "command": [
575 "lua",
576 "test_basic_client.lua"
577 ]
578 },
579 "workdir": "lua"
Allen George8b96bfb2016-11-02 08:01:08 -0400580 },
581 {
582 "name": "rs",
583 "server": {
584 "command": [
585 "test_server"
586 ]
587 },
588 "client": {
589 "timeout": 6,
590 "command": [
591 "test_client"
592 ]
593 },
594 "transports": [
595 "buffered",
596 "framed"
597 ],
598 "sockets": [
599 "ip"
600 ],
601 "protocols": [
602 "binary",
603 "compact"
604 ],
605 "workdir": "rs/bin"
Roger Meier41ad4342015-03-24 22:30:40 +0100606 }
607]