blob: be7d52bbf894d35c2229f985b7936d095e5bbc91 [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",
184 "--host=localhost",
185 "--genpydir=gen-py"
186 ]
187 },
188 "transports": [
189 "buffered",
190 "framed"
191 ],
192 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400193 "ip",
194 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100195 ],
196 "protocols": [
197 "compact",
198 "binary",
199 "json",
200 "binary:accel"
201 ],
202 "workdir": "py"
203 },
204 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900205 "comment": "Using 'python3' executable to test py2 and 3 at once",
206 "name": "py3",
207 "server": {
208 "delay": 1,
209 "extra_args": ["TSimpleServer"],
210 "command": [
211 "python3",
212 "TestServer.py",
213 "--verbose",
214 "--libpydir=../../lib/py/build/lib",
215 "--genpydir=gen-py"
216 ]
217 },
218 "client": {
219 "timeout": 10,
220 "command": [
221 "python3",
222 "TestClient.py",
223 "--host=localhost",
224 "--libpydir=../../lib/py/build/lib",
225 "--genpydir=gen-py"
226 ]
227 },
228 "transports": [
229 "buffered",
230 "framed"
231 ],
232 "sockets": [
233 "ip-ssl",
234 "ip"
235 ],
236 "protocols": [
237 "compact",
238 "binary",
239 "json"
240 ],
241 "workdir": "py"
242 },
243 {
Roger Meier41ad4342015-03-24 22:30:40 +0100244 "name": "cpp",
245 "server": {
246 "delay": 2,
247 "command": [
248 "TestServer"
249 ]
250 },
251 "client": {
252 "timeout": 8,
253 "command": [
254 "TestClient"
255 ]
256 },
257 "transports": [
258 "buffered",
259 "http",
260 "framed"
261 ],
262 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100263 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400264 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100265 "domain"
266 ],
267 "protocols": [
268 "compact",
269 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800270 "json",
271 "header"
Roger Meier41ad4342015-03-24 22:30:40 +0100272 ],
273 "workdir": "cpp"
274 },
275 {
276 "name": "rb",
277 "server": {
278 "delay": 1,
279 "command": [
280 "ruby",
281 "../integration/TestServer.rb"
282 ]
283 },
284 "client": {
285 "timeout": 5,
286 "command": [
287 "ruby",
288 "../integration/TestClient.rb",
289 "--host=127.0.0.1"
290 ]
291 },
292 "transports": [
293 "buffered",
294 "framed"
295 ],
296 "sockets": [
297 "ip"
298 ],
299 "protocols": [
300 "compact",
301 "binary",
302 "json",
303 "binary:accel"
304 ],
305 "workdir": "rb/gen-rb"
306 },
307 {
308 "name": "csharp",
309 "env": {
310 "MONO_PATH": "../.."
311 },
312 "transports": [
313 "buffered",
314 "framed"
315 ],
316 "sockets": [
317 "ip",
318 "ip-ssl"
319 ],
320 "protocols": [
321 "binary",
322 "compact",
323 "json"
324 ],
325 "server": {
326 "delay": 3,
327 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900328 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100329 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200330 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100331 ]
332 },
333 "client": {
334 "timeout": 9,
335 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900336 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100337 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200338 "client"
Roger Meier41ad4342015-03-24 22:30:40 +0100339 ]
340 },
341 "workdir": "../lib/csharp/test/ThriftTest"
342 },
343 {
344 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400345 "transports": [
346 "buffered",
347 "framed"
348 ],
349 "sockets": [
350 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400351 "ip-ssl",
352 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400353 ],
354 "protocols": [
355 "binary"
356 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100357 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100358 "command": [
359 "perl",
360 "-Igen-perl/",
361 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400362 "TestClient.pl",
363 "--cert=../../test/keys/client.pem"
364 ]
365 },
366 "server": {
367 "command": [
368 "perl",
369 "-Igen-perl/",
370 "-I../../lib/perl/lib/",
371 "TestServer.pl",
372 "--cert=../../test/keys/server.pem",
373 "--key=../../test/keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100374 ]
375 },
376 "workdir": "perl"
377 },
378 {
379 "name": "php",
380 "client": {
381 "timeout": 6,
382 "transports": [
383 "buffered",
384 "framed"
385 ],
386 "sockets": [
387 "ip"
388 ],
389 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400390 "binary",
391 "compact",
392 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100393 ],
394 "command": [
395 "php",
396 "TestClient.php"
397 ]
398 },
399 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500400 },
401 {
402 "name": "dart",
403 "client": {
404 "transports": [
405 "buffered",
406 "framed",
407 "http"
408 ],
409 "sockets": [
410 "ip"
411 ],
412 "protocols": [
413 "binary",
414 "json"
415 ],
416 "command": [
417 "dart",
418 "test_client/bin/main.dart"
419 ]
420 },
421 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900422 },
423 {
424 "name": "erl",
425 "transports": [
426 "buffered",
427 "framed"
428 ],
429 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900430 "ip",
431 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900432 ],
433 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900434 "binary",
435 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900436 ],
437 "client": {
438 "command": [
439 "erl",
440 "+K",
441 "true",
442 "-noshell",
443 "-pa",
444 "../../lib/erl/ebin/",
445 "-pa",
446 "./ebin",
447 "-s",
448 "test_client",
449 "-s",
450 "init",
451 "stop",
452 "-extra"
453 ]
454 },
455 "server": {
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900456 "delay": 5,
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900457 "command": [
458 "erl",
459 "+K",
460 "true",
461 "-noshell",
462 "-pa",
463 "../../lib/erl/ebin/",
464 "-pa",
465 "./ebin",
466 "-s",
467 "test_thrift_server",
468 "-extra"
469 ]
470 },
471 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900472 },
473 {
474 "name": "js",
475 "transports": [
476 "http"
477 ],
478 "sockets": [
479 "ip"
480 ],
481 "protocols": [
482 "json"
483 ],
484 "client": {
485 "command": [
486 "phantomjs",
487 "test/phantom-client.js"
488 ]
489 },
490 "workdir": "../lib/js"
Roger Meier41ad4342015-03-24 22:30:40 +0100491 }
492]