Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "name": "c_glib", |
| 4 | "platforms": [ |
| 5 | "Linux" |
Roger Meier | 40cc232 | 2014-06-11 11:09:14 +0200 | [diff] [blame] | 6 | ], |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 7 | "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, III | 49f4dc0 | 2015-10-29 15:52:23 -0400 | [diff] [blame] | 129 | "ip", |
| 130 | "ip-ssl" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 131 | ], |
| 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 Geyer | d629ea0 | 2015-09-23 21:16:50 +0200 | [diff] [blame] | 148 | "transports": [ |
| 149 | "http" |
| 150 | ], |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 151 | "command": [ |
| 152 | "TestClient" |
| 153 | ] |
| 154 | }, |
| 155 | "transports": [ |
| 156 | "buffered", |
Jens Geyer | d629ea0 | 2015-09-23 21:16:50 +0200 | [diff] [blame] | 157 | "framed" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 158 | ], |
| 159 | "sockets": [ |
Jens Geyer | d629ea0 | 2015-09-23 21:16:50 +0200 | [diff] [blame] | 160 | "ip" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 161 | ], |
| 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 Geyer | d629ea0 | 2015-09-23 21:16:50 +0200 | [diff] [blame] | 176 | "--verbose", |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 177 | "--genpydir=gen-py" |
| 178 | ] |
| 179 | }, |
| 180 | "client": { |
| 181 | "timeout": 10, |
| 182 | "command": [ |
| 183 | "TestClient.py", |
Nobuaki Sukegawa | e68ccc2 | 2015-12-13 21:45:39 +0900 | [diff] [blame] | 184 | "--verbose", |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 185 | "--host=localhost", |
| 186 | "--genpydir=gen-py" |
| 187 | ] |
| 188 | }, |
| 189 | "transports": [ |
| 190 | "buffered", |
| 191 | "framed" |
| 192 | ], |
| 193 | "sockets": [ |
James E. King, III | 49f4dc0 | 2015-10-29 15:52:23 -0400 | [diff] [blame] | 194 | "ip", |
| 195 | "ip-ssl" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 196 | ], |
| 197 | "protocols": [ |
| 198 | "compact", |
| 199 | "binary", |
| 200 | "json", |
| 201 | "binary:accel" |
| 202 | ], |
| 203 | "workdir": "py" |
| 204 | }, |
| 205 | { |
Nobuaki Sukegawa | a185d7e | 2015-11-06 21:24:24 +0900 | [diff] [blame] | 206 | "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 Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 245 | "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 Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 264 | "ip", |
James E. King, III | 49f4dc0 | 2015-10-29 15:52:23 -0400 | [diff] [blame] | 265 | "ip-ssl", |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 266 | "domain" |
| 267 | ], |
| 268 | "protocols": [ |
| 269 | "compact", |
| 270 | "binary", |
Dave Watson | 792db4e | 2015-01-16 11:22:01 -0800 | [diff] [blame] | 271 | "json", |
| 272 | "header" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 273 | ], |
| 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 Sukegawa | a6ab1f5 | 2015-11-28 15:04:39 +0900 | [diff] [blame] | 329 | "mono", |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 330 | "TestClientServer.exe", |
Jens Geyer | 178b813 | 2015-09-30 23:16:45 +0200 | [diff] [blame] | 331 | "server" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 332 | ] |
| 333 | }, |
| 334 | "client": { |
| 335 | "timeout": 9, |
| 336 | "command": [ |
Nobuaki Sukegawa | a6ab1f5 | 2015-11-28 15:04:39 +0900 | [diff] [blame] | 337 | "mono", |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 338 | "TestClientServer.exe", |
Jens Geyer | 178b813 | 2015-09-30 23:16:45 +0200 | [diff] [blame] | 339 | "client" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 340 | ] |
| 341 | }, |
| 342 | "workdir": "../lib/csharp/test/ThriftTest" |
| 343 | }, |
| 344 | { |
| 345 | "name": "perl", |
Jim King | f5f1b35 | 2015-06-24 13:47:24 -0400 | [diff] [blame] | 346 | "transports": [ |
| 347 | "buffered", |
| 348 | "framed" |
| 349 | ], |
| 350 | "sockets": [ |
| 351 | "ip", |
James E. King, III | 49f4dc0 | 2015-10-29 15:52:23 -0400 | [diff] [blame] | 352 | "ip-ssl", |
| 353 | "domain" |
Jim King | f5f1b35 | 2015-06-24 13:47:24 -0400 | [diff] [blame] | 354 | ], |
| 355 | "protocols": [ |
| 356 | "binary" |
| 357 | ], |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 358 | "client": { |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 359 | "command": [ |
| 360 | "perl", |
| 361 | "-Igen-perl/", |
| 362 | "-I../../lib/perl/lib/", |
Jim King | f5f1b35 | 2015-06-24 13:47:24 -0400 | [diff] [blame] | 363 | "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 Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 375 | ] |
| 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 King | 5903d67 | 2015-06-29 18:12:48 -0400 | [diff] [blame] | 391 | "binary", |
| 392 | "compact", |
| 393 | "binary:accel" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 394 | ], |
| 395 | "command": [ |
| 396 | "php", |
| 397 | "TestClient.php" |
| 398 | ] |
| 399 | }, |
| 400 | "workdir": "php" |
Mark Erickson | 932c470 | 2015-08-29 10:46:51 -0500 | [diff] [blame] | 401 | }, |
| 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 Sukegawa | 826ea99 | 2015-10-28 22:19:45 +0900 | [diff] [blame] | 423 | }, |
| 424 | { |
| 425 | "name": "erl", |
| 426 | "transports": [ |
| 427 | "buffered", |
| 428 | "framed" |
| 429 | ], |
| 430 | "sockets": [ |
Nobuaki Sukegawa | f58bca7 | 2015-10-31 12:17:51 +0900 | [diff] [blame] | 431 | "ip", |
| 432 | "ip-ssl" |
Nobuaki Sukegawa | 826ea99 | 2015-10-28 22:19:45 +0900 | [diff] [blame] | 433 | ], |
| 434 | "protocols": [ |
Nobuaki Sukegawa | b31f090 | 2015-11-01 17:00:34 +0900 | [diff] [blame] | 435 | "binary", |
| 436 | "compact" |
Nobuaki Sukegawa | 826ea99 | 2015-10-28 22:19:45 +0900 | [diff] [blame] | 437 | ], |
| 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 Sukegawa | a6ab1f5 | 2015-11-28 15:04:39 +0900 | [diff] [blame] | 457 | "delay": 5, |
Nobuaki Sukegawa | 826ea99 | 2015-10-28 22:19:45 +0900 | [diff] [blame] | 458 | "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 Sukegawa | 6defea5 | 2015-11-14 17:36:29 +0900 | [diff] [blame] | 473 | }, |
| 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 Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 492 | } |
| 493 | ] |