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