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", |
| 184 | "--host=localhost", |
| 185 | "--genpydir=gen-py" |
| 186 | ] |
| 187 | }, |
| 188 | "transports": [ |
| 189 | "buffered", |
| 190 | "framed" |
| 191 | ], |
| 192 | "sockets": [ |
James E. King, III | 49f4dc0 | 2015-10-29 15:52:23 -0400 | [diff] [blame] | 193 | "ip", |
| 194 | "ip-ssl" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 195 | ], |
| 196 | "protocols": [ |
| 197 | "compact", |
| 198 | "binary", |
| 199 | "json", |
| 200 | "binary:accel" |
| 201 | ], |
| 202 | "workdir": "py" |
| 203 | }, |
| 204 | { |
Nobuaki Sukegawa | a185d7e | 2015-11-06 21:24:24 +0900 | [diff] [blame] | 205 | "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 Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 244 | "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 Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 263 | "ip", |
James E. King, III | 49f4dc0 | 2015-10-29 15:52:23 -0400 | [diff] [blame] | 264 | "ip-ssl", |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 265 | "domain" |
| 266 | ], |
| 267 | "protocols": [ |
| 268 | "compact", |
| 269 | "binary", |
Dave Watson | 792db4e | 2015-01-16 11:22:01 -0800 | [diff] [blame] | 270 | "json", |
| 271 | "header" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 272 | ], |
| 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": [ |
| 328 | "TestClientServer.exe", |
Jens Geyer | 178b813 | 2015-09-30 23:16:45 +0200 | [diff] [blame] | 329 | "server" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 330 | ] |
| 331 | }, |
| 332 | "client": { |
| 333 | "timeout": 9, |
| 334 | "command": [ |
| 335 | "TestClientServer.exe", |
Jens Geyer | 178b813 | 2015-09-30 23:16:45 +0200 | [diff] [blame] | 336 | "client" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 337 | ] |
| 338 | }, |
| 339 | "workdir": "../lib/csharp/test/ThriftTest" |
| 340 | }, |
| 341 | { |
| 342 | "name": "perl", |
Jim King | f5f1b35 | 2015-06-24 13:47:24 -0400 | [diff] [blame] | 343 | "transports": [ |
| 344 | "buffered", |
| 345 | "framed" |
| 346 | ], |
| 347 | "sockets": [ |
| 348 | "ip", |
James E. King, III | 49f4dc0 | 2015-10-29 15:52:23 -0400 | [diff] [blame] | 349 | "ip-ssl", |
| 350 | "domain" |
Jim King | f5f1b35 | 2015-06-24 13:47:24 -0400 | [diff] [blame] | 351 | ], |
| 352 | "protocols": [ |
| 353 | "binary" |
| 354 | ], |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 355 | "client": { |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 356 | "command": [ |
| 357 | "perl", |
| 358 | "-Igen-perl/", |
| 359 | "-I../../lib/perl/lib/", |
Jim King | f5f1b35 | 2015-06-24 13:47:24 -0400 | [diff] [blame] | 360 | "TestClient.pl", |
| 361 | "--cert=../../test/keys/client.pem" |
| 362 | ] |
| 363 | }, |
| 364 | "server": { |
| 365 | "command": [ |
| 366 | "perl", |
| 367 | "-Igen-perl/", |
| 368 | "-I../../lib/perl/lib/", |
| 369 | "TestServer.pl", |
| 370 | "--cert=../../test/keys/server.pem", |
| 371 | "--key=../../test/keys/server.key" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 372 | ] |
| 373 | }, |
| 374 | "workdir": "perl" |
| 375 | }, |
| 376 | { |
| 377 | "name": "php", |
| 378 | "client": { |
| 379 | "timeout": 6, |
| 380 | "transports": [ |
| 381 | "buffered", |
| 382 | "framed" |
| 383 | ], |
| 384 | "sockets": [ |
| 385 | "ip" |
| 386 | ], |
| 387 | "protocols": [ |
Jim King | 5903d67 | 2015-06-29 18:12:48 -0400 | [diff] [blame] | 388 | "binary", |
| 389 | "compact", |
| 390 | "binary:accel" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 391 | ], |
| 392 | "command": [ |
| 393 | "php", |
| 394 | "TestClient.php" |
| 395 | ] |
| 396 | }, |
| 397 | "workdir": "php" |
Mark Erickson | 932c470 | 2015-08-29 10:46:51 -0500 | [diff] [blame] | 398 | }, |
| 399 | { |
| 400 | "name": "dart", |
| 401 | "client": { |
| 402 | "transports": [ |
| 403 | "buffered", |
| 404 | "framed", |
| 405 | "http" |
| 406 | ], |
| 407 | "sockets": [ |
| 408 | "ip" |
| 409 | ], |
| 410 | "protocols": [ |
| 411 | "binary", |
| 412 | "json" |
| 413 | ], |
| 414 | "command": [ |
| 415 | "dart", |
| 416 | "test_client/bin/main.dart" |
| 417 | ] |
| 418 | }, |
| 419 | "workdir": "dart" |
Nobuaki Sukegawa | 826ea99 | 2015-10-28 22:19:45 +0900 | [diff] [blame] | 420 | }, |
| 421 | { |
| 422 | "name": "erl", |
| 423 | "transports": [ |
| 424 | "buffered", |
| 425 | "framed" |
| 426 | ], |
| 427 | "sockets": [ |
Nobuaki Sukegawa | f58bca7 | 2015-10-31 12:17:51 +0900 | [diff] [blame] | 428 | "ip", |
| 429 | "ip-ssl" |
Nobuaki Sukegawa | 826ea99 | 2015-10-28 22:19:45 +0900 | [diff] [blame] | 430 | ], |
| 431 | "protocols": [ |
Nobuaki Sukegawa | b31f090 | 2015-11-01 17:00:34 +0900 | [diff] [blame] | 432 | "binary", |
| 433 | "compact" |
Nobuaki Sukegawa | 826ea99 | 2015-10-28 22:19:45 +0900 | [diff] [blame] | 434 | ], |
| 435 | "client": { |
| 436 | "command": [ |
| 437 | "erl", |
| 438 | "+K", |
| 439 | "true", |
| 440 | "-noshell", |
| 441 | "-pa", |
| 442 | "../../lib/erl/ebin/", |
| 443 | "-pa", |
| 444 | "./ebin", |
| 445 | "-s", |
| 446 | "test_client", |
| 447 | "-s", |
| 448 | "init", |
| 449 | "stop", |
| 450 | "-extra" |
| 451 | ] |
| 452 | }, |
| 453 | "server": { |
| 454 | "command": [ |
| 455 | "erl", |
| 456 | "+K", |
| 457 | "true", |
| 458 | "-noshell", |
| 459 | "-pa", |
| 460 | "../../lib/erl/ebin/", |
| 461 | "-pa", |
| 462 | "./ebin", |
| 463 | "-s", |
| 464 | "test_thrift_server", |
| 465 | "-extra" |
| 466 | ] |
| 467 | }, |
| 468 | "workdir": "erl" |
Nobuaki Sukegawa | 6defea5 | 2015-11-14 17:36:29 +0900 | [diff] [blame] | 469 | }, |
| 470 | { |
| 471 | "name": "js", |
| 472 | "transports": [ |
| 473 | "http" |
| 474 | ], |
| 475 | "sockets": [ |
| 476 | "ip" |
| 477 | ], |
| 478 | "protocols": [ |
| 479 | "json" |
| 480 | ], |
| 481 | "client": { |
| 482 | "command": [ |
| 483 | "phantomjs", |
| 484 | "test/phantom-client.js" |
| 485 | ] |
| 486 | }, |
| 487 | "workdir": "../lib/js" |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 488 | } |
| 489 | ] |