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