Stanley Cheung | c865c31 | 2015-06-24 10:48:39 -0700 | [diff] [blame] | 1 | #!/bin/bash |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 2 | # Copyright 2015 gRPC authors. |
Craig Tiller | 8342881 | 2015-02-16 12:13:57 -0800 | [diff] [blame] | 3 | # |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
Craig Tiller | 8342881 | 2015-02-16 12:13:57 -0800 | [diff] [blame] | 7 | # |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
Craig Tiller | 8342881 | 2015-02-16 12:13:57 -0800 | [diff] [blame] | 9 | # |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
Craig Tiller | 8342881 | 2015-02-16 12:13:57 -0800 | [diff] [blame] | 15 | |
Stanley Cheung | c865c31 | 2015-06-24 10:48:39 -0700 | [diff] [blame] | 16 | set -e |
mlumish | b892a27 | 2014-12-09 16:28:23 -0800 | [diff] [blame] | 17 | cd $(dirname $0) |
Stanley Cheung | c865c31 | 2015-06-24 10:48:39 -0700 | [diff] [blame] | 18 | source ./determine_extension_dir.sh |
Stanley Cheung | 4a5c654 | 2015-07-11 01:31:17 -0700 | [diff] [blame] | 19 | export GRPC_TEST_HOST=localhost:50051 |
Stanley Cheung | 75457ff | 2015-10-20 16:27:55 -0700 | [diff] [blame] | 20 | php $extension_dir -d max_execution_time=300 $(which phpunit) -v --debug \ |
Craig Tiller | ce5021b | 2015-02-18 09:25:21 -0800 | [diff] [blame] | 21 | ../tests/generated_code/GeneratedCodeTest.php |
Stanley Cheung | 75457ff | 2015-10-20 16:27:55 -0700 | [diff] [blame] | 22 | php $extension_dir -d max_execution_time=300 $(which phpunit) -v --debug \ |
Stanley Cheung | 2c9c763 | 2015-04-20 14:13:54 -0700 | [diff] [blame] | 23 | ../tests/generated_code/GeneratedCodeWithCallbackTest.php |