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