blob: c816d6ef590d12cd36503bf09cf754b5b7068cff [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": {
8 "delay": 1,
9 "command": [
10 "test_server"
11 ]
12 },
13 "client": {
14 "command": [
15 "test_client"
16 ]
17 },
18 "transports": [
19 "buffered",
20 "framed"
21 ],
22 "sockets": [
23 "ip"
24 ],
25 "protocols": [
26 "binary"
27 ],
28 "workdir": "c_glib"
29 },
30 {
31 "name": "go",
32 "server": {
33 "delay": 1,
34 "command": [
35 "testserver",
36 "--certPath=../../keys"
37 ]
38 },
39 "client": {
40 "timeout": 6,
41 "command": [
42 "testclient"
43 ]
44 },
45 "transports": [
46 "buffered",
47 "framed"
48 ],
49 "sockets": [
50 "ip",
51 "ip-ssl"
52 ],
53 "protocols": [
54 "binary",
55 "compact",
56 "json"
57 ],
58 "workdir": "go/bin"
59 },
60 {
61 "name": "java",
62 "join_args": true,
63 "command": [
64 "ant",
65 "-f",
66 "build.xml",
67 "-Dno-gen-thrift=\"\"",
68 "-Dtestargs"
69 ],
70 "prepare": [
71 "ant",
72 "-f",
73 "build.xml",
74 "compile-test"
75 ],
76 "server": {
77 "delay": 5,
78 "extra_args": ["run-testserver"]
79 },
80 "client": {
81 "timeout": 13,
82 "extra_args": ["run-testclient"],
83 "transports": [
84 "http"
85 ]
86 },
87 "transports": [
88 "buffered",
89 "framed",
90 "framed:fastframed"
91 ],
92 "sockets": [
93 "ip-ssl",
94 "ip"
95 ],
96 "protocols": [
97 "compact",
98 "binary",
99 "json"
100 ],
101 "workdir": "../lib/java"
102 },
103 {
104 "name": "nodejs",
105 "env": {
106 "NODE_PATH": "../lib"
107 },
108 "server": {
109 "delay": 1,
110 "command": [
111 "node",
112 "server.js",
113 "--type=tcp"
114 ]
115 },
116 "client": {
117 "timeout": 2.9,
118 "command": [
119 "node",
120 "client.js",
121 "--type=tcp"
122 ]
123 },
124 "transports": [
125 "buffered",
126 "framed"
127 ],
128 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400129 "ip",
130 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100131 ],
132 "protocols": [
133 "compact",
134 "binary",
135 "json"
136 ],
137 "workdir": "../lib/nodejs/test"
138 },
139 {
140 "name": "hs",
141 "server": {
142 "command": [
143 "TestServer"
144 ]
145 },
146 "client": {
147 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200148 "transports": [
149 "http"
150 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100151 "command": [
152 "TestClient"
153 ]
154 },
155 "transports": [
156 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200157 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100158 ],
159 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200160 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100161 ],
162 "protocols": [
163 "compact",
164 "binary",
165 "json"
166 ],
167 "workdir": "hs"
168 },
169 {
170 "name": "py",
171 "server": {
172 "delay": 1,
173 "extra_args": ["TSimpleServer"],
174 "command": [
175 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200176 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100177 "--genpydir=gen-py"
178 ]
179 },
180 "client": {
181 "timeout": 10,
182 "command": [
183 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900184 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100185 "--host=localhost",
186 "--genpydir=gen-py"
187 ]
188 },
189 "transports": [
190 "buffered",
191 "framed"
192 ],
193 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400194 "ip",
195 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100196 ],
197 "protocols": [
198 "compact",
199 "binary",
200 "json",
201 "binary:accel"
202 ],
203 "workdir": "py"
204 },
205 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900206 "comment": "Using 'python3' executable to test py2 and 3 at once",
207 "name": "py3",
208 "server": {
209 "delay": 1,
210 "extra_args": ["TSimpleServer"],
211 "command": [
212 "python3",
213 "TestServer.py",
214 "--verbose",
215 "--libpydir=../../lib/py/build/lib",
216 "--genpydir=gen-py"
217 ]
218 },
219 "client": {
220 "timeout": 10,
221 "command": [
222 "python3",
223 "TestClient.py",
224 "--host=localhost",
225 "--libpydir=../../lib/py/build/lib",
226 "--genpydir=gen-py"
227 ]
228 },
229 "transports": [
230 "buffered",
231 "framed"
232 ],
233 "sockets": [
234 "ip-ssl",
235 "ip"
236 ],
237 "protocols": [
238 "compact",
239 "binary",
240 "json"
241 ],
242 "workdir": "py"
243 },
244 {
Roger Meier41ad4342015-03-24 22:30:40 +0100245 "name": "cpp",
246 "server": {
247 "delay": 2,
248 "command": [
249 "TestServer"
250 ]
251 },
252 "client": {
253 "timeout": 8,
254 "command": [
255 "TestClient"
256 ]
257 },
258 "transports": [
259 "buffered",
260 "http",
261 "framed"
262 ],
263 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100264 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400265 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100266 "domain"
267 ],
268 "protocols": [
269 "compact",
270 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800271 "json",
272 "header"
Roger Meier41ad4342015-03-24 22:30:40 +0100273 ],
274 "workdir": "cpp"
275 },
276 {
277 "name": "rb",
278 "server": {
279 "delay": 1,
280 "command": [
281 "ruby",
282 "../integration/TestServer.rb"
283 ]
284 },
285 "client": {
286 "timeout": 5,
287 "command": [
288 "ruby",
289 "../integration/TestClient.rb",
290 "--host=127.0.0.1"
291 ]
292 },
293 "transports": [
294 "buffered",
295 "framed"
296 ],
297 "sockets": [
298 "ip"
299 ],
300 "protocols": [
301 "compact",
302 "binary",
303 "json",
304 "binary:accel"
305 ],
306 "workdir": "rb/gen-rb"
307 },
308 {
309 "name": "csharp",
310 "env": {
311 "MONO_PATH": "../.."
312 },
313 "transports": [
314 "buffered",
315 "framed"
316 ],
317 "sockets": [
318 "ip",
319 "ip-ssl"
320 ],
321 "protocols": [
322 "binary",
323 "compact",
324 "json"
325 ],
326 "server": {
327 "delay": 3,
328 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900329 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100330 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200331 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100332 ]
333 },
334 "client": {
335 "timeout": 9,
336 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900337 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100338 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200339 "client"
Roger Meier41ad4342015-03-24 22:30:40 +0100340 ]
341 },
342 "workdir": "../lib/csharp/test/ThriftTest"
343 },
344 {
345 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400346 "transports": [
347 "buffered",
348 "framed"
349 ],
350 "sockets": [
351 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400352 "ip-ssl",
353 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400354 ],
355 "protocols": [
356 "binary"
357 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100358 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100359 "command": [
360 "perl",
361 "-Igen-perl/",
362 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400363 "TestClient.pl",
364 "--cert=../../test/keys/client.pem"
365 ]
366 },
367 "server": {
368 "command": [
369 "perl",
370 "-Igen-perl/",
371 "-I../../lib/perl/lib/",
372 "TestServer.pl",
373 "--cert=../../test/keys/server.pem",
374 "--key=../../test/keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100375 ]
376 },
377 "workdir": "perl"
378 },
379 {
380 "name": "php",
381 "client": {
382 "timeout": 6,
383 "transports": [
384 "buffered",
385 "framed"
386 ],
387 "sockets": [
388 "ip"
389 ],
390 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400391 "binary",
392 "compact",
393 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100394 ],
395 "command": [
396 "php",
397 "TestClient.php"
398 ]
399 },
400 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500401 },
402 {
403 "name": "dart",
404 "client": {
405 "transports": [
406 "buffered",
407 "framed",
408 "http"
409 ],
410 "sockets": [
411 "ip"
412 ],
413 "protocols": [
414 "binary",
415 "json"
416 ],
417 "command": [
418 "dart",
419 "test_client/bin/main.dart"
420 ]
421 },
422 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900423 },
424 {
425 "name": "erl",
426 "transports": [
427 "buffered",
428 "framed"
429 ],
430 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900431 "ip",
432 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900433 ],
434 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900435 "binary",
436 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900437 ],
438 "client": {
439 "command": [
440 "erl",
441 "+K",
442 "true",
443 "-noshell",
444 "-pa",
445 "../../lib/erl/ebin/",
446 "-pa",
447 "./ebin",
448 "-s",
449 "test_client",
450 "-s",
451 "init",
452 "stop",
453 "-extra"
454 ]
455 },
456 "server": {
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900457 "delay": 5,
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900458 "command": [
459 "erl",
460 "+K",
461 "true",
462 "-noshell",
463 "-pa",
464 "../../lib/erl/ebin/",
465 "-pa",
466 "./ebin",
467 "-s",
468 "test_thrift_server",
469 "-extra"
470 ]
471 },
472 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900473 },
474 {
475 "name": "js",
476 "transports": [
477 "http"
478 ],
479 "sockets": [
480 "ip"
481 ],
482 "protocols": [
483 "json"
484 ],
485 "client": {
486 "command": [
487 "phantomjs",
488 "test/phantom-client.js"
489 ]
490 },
491 "workdir": "../lib/js"
Roger Meier41ad4342015-03-24 22:30:40 +0100492 }
493]