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": [ |
Chandler May | 6dde90b | 2016-01-10 06:01:10 +0000 | [diff] [blame] | 26 | "binary", |
| 27 | "compact" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 28 | ], |
| 29 | "workdir": "c_glib" |
| 30 | }, |
| 31 | { |
| 32 | "name": "go", |
| 33 | "server": { |
| 34 | "delay": 1, |
| 35 | "command": [ |
| 36 | "testserver", |
| 37 | "--certPath=../../keys" |
| 38 | ] |
| 39 | }, |
| 40 | "client": { |
| 41 | "timeout": 6, |
| 42 | "command": [ |
| 43 | "testclient" |
| 44 | ] |
| 45 | }, |
| 46 | "transports": [ |
| 47 | "buffered", |
| 48 | "framed" |
| 49 | ], |
| 50 | "sockets": [ |
| 51 | "ip", |
| 52 | "ip-ssl" |
| 53 | ], |
| 54 | "protocols": [ |
| 55 | "binary", |
| 56 | "compact", |
| 57 | "json" |
| 58 | ], |
| 59 | "workdir": "go/bin" |
| 60 | }, |
| 61 | { |
| 62 | "name": "java", |
| 63 | "join_args": true, |
| 64 | "command": [ |
| 65 | "ant", |
| 66 | "-f", |
| 67 | "build.xml", |
| 68 | "-Dno-gen-thrift=\"\"", |
| 69 | "-Dtestargs" |
| 70 | ], |
| 71 | "prepare": [ |
| 72 | "ant", |
| 73 | "-f", |
| 74 | "build.xml", |
| 75 | "compile-test" |
| 76 | ], |
| 77 | "server": { |
| 78 | "delay": 5, |
| 79 | "extra_args": ["run-testserver"] |
| 80 | }, |
| 81 | "client": { |
| 82 | "timeout": 13, |
| 83 | "extra_args": ["run-testclient"], |
| 84 | "transports": [ |
| 85 | "http" |
| 86 | ] |
| 87 | }, |
| 88 | "transports": [ |
| 89 | "buffered", |
| 90 | "framed", |
| 91 | "framed:fastframed" |
| 92 | ], |
| 93 | "sockets": [ |
| 94 | "ip-ssl", |
| 95 | "ip" |
| 96 | ], |
| 97 | "protocols": [ |
| 98 | "compact", |
| 99 | "binary", |
| 100 | "json" |
| 101 | ], |
| 102 | "workdir": "../lib/java" |
| 103 | }, |
| 104 | { |
| 105 | "name": "nodejs", |
| 106 | "env": { |
| 107 | "NODE_PATH": "../lib" |
| 108 | }, |
| 109 | "server": { |
| 110 | "delay": 1, |
| 111 | "command": [ |
| 112 | "node", |
| 113 | "server.js", |
| 114 | "--type=tcp" |
| 115 | ] |
| 116 | }, |
| 117 | "client": { |
| 118 | "timeout": 2.9, |
| 119 | "command": [ |
| 120 | "node", |
| 121 | "client.js", |
| 122 | "--type=tcp" |
| 123 | ] |
| 124 | }, |
| 125 | "transports": [ |
| 126 | "buffered", |
| 127 | "framed" |
| 128 | ], |
| 129 | "sockets": [ |
James E. King, III | 49f4dc0 | 2015-10-29 15:52:23 -0400 | [diff] [blame] | 130 | "ip", |
| 131 | "ip-ssl" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 132 | ], |
| 133 | "protocols": [ |
| 134 | "compact", |
| 135 | "binary", |
| 136 | "json" |
| 137 | ], |
| 138 | "workdir": "../lib/nodejs/test" |
| 139 | }, |
| 140 | { |
| 141 | "name": "hs", |
| 142 | "server": { |
| 143 | "command": [ |
| 144 | "TestServer" |
| 145 | ] |
| 146 | }, |
| 147 | "client": { |
| 148 | "timeout": 6, |
Jens Geyer | d629ea0 | 2015-09-23 21:16:50 +0200 | [diff] [blame] | 149 | "transports": [ |
| 150 | "http" |
| 151 | ], |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 152 | "command": [ |
| 153 | "TestClient" |
| 154 | ] |
| 155 | }, |
| 156 | "transports": [ |
| 157 | "buffered", |
Jens Geyer | d629ea0 | 2015-09-23 21:16:50 +0200 | [diff] [blame] | 158 | "framed" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 159 | ], |
| 160 | "sockets": [ |
Jens Geyer | d629ea0 | 2015-09-23 21:16:50 +0200 | [diff] [blame] | 161 | "ip" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 162 | ], |
| 163 | "protocols": [ |
| 164 | "compact", |
| 165 | "binary", |
| 166 | "json" |
| 167 | ], |
| 168 | "workdir": "hs" |
| 169 | }, |
| 170 | { |
| 171 | "name": "py", |
| 172 | "server": { |
| 173 | "delay": 1, |
| 174 | "extra_args": ["TSimpleServer"], |
| 175 | "command": [ |
| 176 | "TestServer.py", |
Jens Geyer | d629ea0 | 2015-09-23 21:16:50 +0200 | [diff] [blame] | 177 | "--verbose", |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 178 | "--genpydir=gen-py" |
| 179 | ] |
| 180 | }, |
| 181 | "client": { |
| 182 | "timeout": 10, |
| 183 | "command": [ |
| 184 | "TestClient.py", |
Nobuaki Sukegawa | e68ccc2 | 2015-12-13 21:45:39 +0900 | [diff] [blame] | 185 | "--verbose", |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 186 | "--host=localhost", |
| 187 | "--genpydir=gen-py" |
| 188 | ] |
| 189 | }, |
| 190 | "transports": [ |
| 191 | "buffered", |
| 192 | "framed" |
| 193 | ], |
| 194 | "sockets": [ |
James E. King, III | 49f4dc0 | 2015-10-29 15:52:23 -0400 | [diff] [blame] | 195 | "ip", |
| 196 | "ip-ssl" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 197 | ], |
| 198 | "protocols": [ |
| 199 | "compact", |
| 200 | "binary", |
| 201 | "json", |
| 202 | "binary:accel" |
| 203 | ], |
| 204 | "workdir": "py" |
| 205 | }, |
| 206 | { |
Nobuaki Sukegawa | a185d7e | 2015-11-06 21:24:24 +0900 | [diff] [blame] | 207 | "comment": "Using 'python3' executable to test py2 and 3 at once", |
| 208 | "name": "py3", |
| 209 | "server": { |
| 210 | "delay": 1, |
| 211 | "extra_args": ["TSimpleServer"], |
| 212 | "command": [ |
| 213 | "python3", |
| 214 | "TestServer.py", |
| 215 | "--verbose", |
| 216 | "--libpydir=../../lib/py/build/lib", |
| 217 | "--genpydir=gen-py" |
| 218 | ] |
| 219 | }, |
| 220 | "client": { |
| 221 | "timeout": 10, |
| 222 | "command": [ |
| 223 | "python3", |
| 224 | "TestClient.py", |
| 225 | "--host=localhost", |
| 226 | "--libpydir=../../lib/py/build/lib", |
| 227 | "--genpydir=gen-py" |
| 228 | ] |
| 229 | }, |
| 230 | "transports": [ |
| 231 | "buffered", |
| 232 | "framed" |
| 233 | ], |
| 234 | "sockets": [ |
| 235 | "ip-ssl", |
| 236 | "ip" |
| 237 | ], |
| 238 | "protocols": [ |
| 239 | "compact", |
| 240 | "binary", |
| 241 | "json" |
| 242 | ], |
| 243 | "workdir": "py" |
| 244 | }, |
| 245 | { |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 246 | "name": "cpp", |
| 247 | "server": { |
| 248 | "delay": 2, |
| 249 | "command": [ |
| 250 | "TestServer" |
| 251 | ] |
| 252 | }, |
| 253 | "client": { |
| 254 | "timeout": 8, |
| 255 | "command": [ |
| 256 | "TestClient" |
| 257 | ] |
| 258 | }, |
| 259 | "transports": [ |
| 260 | "buffered", |
| 261 | "http", |
| 262 | "framed" |
| 263 | ], |
| 264 | "sockets": [ |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 265 | "ip", |
James E. King, III | 49f4dc0 | 2015-10-29 15:52:23 -0400 | [diff] [blame] | 266 | "ip-ssl", |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 267 | "domain" |
| 268 | ], |
| 269 | "protocols": [ |
| 270 | "compact", |
| 271 | "binary", |
Dave Watson | 792db4e | 2015-01-16 11:22:01 -0800 | [diff] [blame] | 272 | "json", |
| 273 | "header" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 274 | ], |
| 275 | "workdir": "cpp" |
| 276 | }, |
| 277 | { |
| 278 | "name": "rb", |
| 279 | "server": { |
| 280 | "delay": 1, |
| 281 | "command": [ |
| 282 | "ruby", |
| 283 | "../integration/TestServer.rb" |
| 284 | ] |
| 285 | }, |
| 286 | "client": { |
| 287 | "timeout": 5, |
| 288 | "command": [ |
| 289 | "ruby", |
| 290 | "../integration/TestClient.rb", |
| 291 | "--host=127.0.0.1" |
| 292 | ] |
| 293 | }, |
| 294 | "transports": [ |
| 295 | "buffered", |
| 296 | "framed" |
| 297 | ], |
| 298 | "sockets": [ |
| 299 | "ip" |
| 300 | ], |
| 301 | "protocols": [ |
| 302 | "compact", |
| 303 | "binary", |
| 304 | "json", |
| 305 | "binary:accel" |
| 306 | ], |
| 307 | "workdir": "rb/gen-rb" |
| 308 | }, |
| 309 | { |
| 310 | "name": "csharp", |
| 311 | "env": { |
| 312 | "MONO_PATH": "../.." |
| 313 | }, |
| 314 | "transports": [ |
| 315 | "buffered", |
| 316 | "framed" |
| 317 | ], |
| 318 | "sockets": [ |
| 319 | "ip", |
| 320 | "ip-ssl" |
| 321 | ], |
| 322 | "protocols": [ |
| 323 | "binary", |
| 324 | "compact", |
| 325 | "json" |
| 326 | ], |
| 327 | "server": { |
| 328 | "delay": 3, |
| 329 | "command": [ |
Nobuaki Sukegawa | a6ab1f5 | 2015-11-28 15:04:39 +0900 | [diff] [blame] | 330 | "mono", |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 331 | "TestClientServer.exe", |
Jens Geyer | 178b813 | 2015-09-30 23:16:45 +0200 | [diff] [blame] | 332 | "server" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 333 | ] |
| 334 | }, |
| 335 | "client": { |
| 336 | "timeout": 9, |
| 337 | "command": [ |
Nobuaki Sukegawa | a6ab1f5 | 2015-11-28 15:04:39 +0900 | [diff] [blame] | 338 | "mono", |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 339 | "TestClientServer.exe", |
Jens Geyer | 178b813 | 2015-09-30 23:16:45 +0200 | [diff] [blame] | 340 | "client" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 341 | ] |
| 342 | }, |
| 343 | "workdir": "../lib/csharp/test/ThriftTest" |
| 344 | }, |
| 345 | { |
| 346 | "name": "perl", |
Jim King | f5f1b35 | 2015-06-24 13:47:24 -0400 | [diff] [blame] | 347 | "transports": [ |
| 348 | "buffered", |
| 349 | "framed" |
| 350 | ], |
| 351 | "sockets": [ |
| 352 | "ip", |
James E. King, III | 49f4dc0 | 2015-10-29 15:52:23 -0400 | [diff] [blame] | 353 | "ip-ssl", |
| 354 | "domain" |
Jim King | f5f1b35 | 2015-06-24 13:47:24 -0400 | [diff] [blame] | 355 | ], |
| 356 | "protocols": [ |
| 357 | "binary" |
| 358 | ], |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 359 | "client": { |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 360 | "command": [ |
| 361 | "perl", |
| 362 | "-Igen-perl/", |
| 363 | "-I../../lib/perl/lib/", |
Jim King | f5f1b35 | 2015-06-24 13:47:24 -0400 | [diff] [blame] | 364 | "TestClient.pl", |
| 365 | "--cert=../../test/keys/client.pem" |
| 366 | ] |
| 367 | }, |
| 368 | "server": { |
| 369 | "command": [ |
| 370 | "perl", |
| 371 | "-Igen-perl/", |
| 372 | "-I../../lib/perl/lib/", |
| 373 | "TestServer.pl", |
| 374 | "--cert=../../test/keys/server.pem", |
| 375 | "--key=../../test/keys/server.key" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 376 | ] |
| 377 | }, |
| 378 | "workdir": "perl" |
| 379 | }, |
| 380 | { |
| 381 | "name": "php", |
| 382 | "client": { |
| 383 | "timeout": 6, |
| 384 | "transports": [ |
| 385 | "buffered", |
| 386 | "framed" |
| 387 | ], |
| 388 | "sockets": [ |
| 389 | "ip" |
| 390 | ], |
| 391 | "protocols": [ |
Jim King | 5903d67 | 2015-06-29 18:12:48 -0400 | [diff] [blame] | 392 | "binary", |
| 393 | "compact", |
| 394 | "binary:accel" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 395 | ], |
| 396 | "command": [ |
| 397 | "php", |
| 398 | "TestClient.php" |
| 399 | ] |
| 400 | }, |
| 401 | "workdir": "php" |
Mark Erickson | 932c470 | 2015-08-29 10:46:51 -0500 | [diff] [blame] | 402 | }, |
| 403 | { |
| 404 | "name": "dart", |
| 405 | "client": { |
| 406 | "transports": [ |
| 407 | "buffered", |
| 408 | "framed", |
| 409 | "http" |
| 410 | ], |
| 411 | "sockets": [ |
| 412 | "ip" |
| 413 | ], |
| 414 | "protocols": [ |
| 415 | "binary", |
| 416 | "json" |
| 417 | ], |
| 418 | "command": [ |
| 419 | "dart", |
| 420 | "test_client/bin/main.dart" |
| 421 | ] |
| 422 | }, |
| 423 | "workdir": "dart" |
Nobuaki Sukegawa | 826ea99 | 2015-10-28 22:19:45 +0900 | [diff] [blame] | 424 | }, |
| 425 | { |
| 426 | "name": "erl", |
| 427 | "transports": [ |
| 428 | "buffered", |
| 429 | "framed" |
| 430 | ], |
| 431 | "sockets": [ |
Nobuaki Sukegawa | f58bca7 | 2015-10-31 12:17:51 +0900 | [diff] [blame] | 432 | "ip", |
| 433 | "ip-ssl" |
Nobuaki Sukegawa | 826ea99 | 2015-10-28 22:19:45 +0900 | [diff] [blame] | 434 | ], |
| 435 | "protocols": [ |
Nobuaki Sukegawa | b31f090 | 2015-11-01 17:00:34 +0900 | [diff] [blame] | 436 | "binary", |
| 437 | "compact" |
Nobuaki Sukegawa | 826ea99 | 2015-10-28 22:19:45 +0900 | [diff] [blame] | 438 | ], |
| 439 | "client": { |
| 440 | "command": [ |
| 441 | "erl", |
| 442 | "+K", |
| 443 | "true", |
| 444 | "-noshell", |
| 445 | "-pa", |
| 446 | "../../lib/erl/ebin/", |
| 447 | "-pa", |
| 448 | "./ebin", |
| 449 | "-s", |
| 450 | "test_client", |
| 451 | "-s", |
| 452 | "init", |
| 453 | "stop", |
| 454 | "-extra" |
| 455 | ] |
| 456 | }, |
| 457 | "server": { |
Nobuaki Sukegawa | a6ab1f5 | 2015-11-28 15:04:39 +0900 | [diff] [blame] | 458 | "delay": 5, |
Nobuaki Sukegawa | 826ea99 | 2015-10-28 22:19:45 +0900 | [diff] [blame] | 459 | "command": [ |
| 460 | "erl", |
| 461 | "+K", |
| 462 | "true", |
| 463 | "-noshell", |
| 464 | "-pa", |
| 465 | "../../lib/erl/ebin/", |
| 466 | "-pa", |
| 467 | "./ebin", |
| 468 | "-s", |
| 469 | "test_thrift_server", |
| 470 | "-extra" |
| 471 | ] |
| 472 | }, |
| 473 | "workdir": "erl" |
Nobuaki Sukegawa | 6defea5 | 2015-11-14 17:36:29 +0900 | [diff] [blame] | 474 | }, |
| 475 | { |
| 476 | "name": "js", |
| 477 | "transports": [ |
| 478 | "http" |
| 479 | ], |
| 480 | "sockets": [ |
| 481 | "ip" |
| 482 | ], |
| 483 | "protocols": [ |
| 484 | "json" |
| 485 | ], |
| 486 | "client": { |
| 487 | "command": [ |
| 488 | "phantomjs", |
| 489 | "test/phantom-client.js" |
| 490 | ] |
| 491 | }, |
| 492 | "workdir": "../lib/js" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 493 | } |
| 494 | ] |