blob: e98ce364717d7b645cf208bad27e2b5918566d0e [file] [log] [blame]
Stanley Cheungc865c312015-06-24 10:48:39 -07001#!/bin/bash
Jan Tattermusch7897ae92017-06-07 22:57:36 +02002# Copyright 2015 gRPC authors.
Craig Tiller83428812015-02-16 12:13:57 -08003#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02004# 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 Tiller83428812015-02-16 12:13:57 -08007#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02008# http://www.apache.org/licenses/LICENSE-2.0
Craig Tiller83428812015-02-16 12:13:57 -08009#
Jan Tattermusch7897ae92017-06-07 22:57:36 +020010# 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 Tiller83428812015-02-16 12:13:57 -080015
Stanley Cheungc865c312015-06-24 10:48:39 -070016set -e
mlumishb892a272014-12-09 16:28:23 -080017cd $(dirname $0)
Stanley Cheungc865c312015-06-24 10:48:39 -070018source ./determine_extension_dir.sh
Stanley Cheung4a5c6542015-07-11 01:31:17 -070019export GRPC_TEST_HOST=localhost:50051
Stanley Cheung75457ff2015-10-20 16:27:55 -070020php $extension_dir -d max_execution_time=300 $(which phpunit) -v --debug \
Craig Tillerce5021b2015-02-18 09:25:21 -080021 ../tests/generated_code/GeneratedCodeTest.php
Stanley Cheung75457ff2015-10-20 16:27:55 -070022php $extension_dir -d max_execution_time=300 $(which phpunit) -v --debug \
Stanley Cheung2c9c7632015-04-20 14:13:54 -070023 ../tests/generated_code/GeneratedCodeWithCallbackTest.php