blob: fe40b5118600760c2579f42b02734ec6b229978c [file] [log] [blame]
Nathaniel Manista840615e2015-01-22 20:31:47 +00001#!/bin/bash
Craig Tiller06059952015-02-18 08:34:56 -08002# Copyright 2015, Google Inc.
Craig Tiller83428812015-02-16 12:13:57 -08003# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met:
8#
9# * Redistributions of source code must retain the above copyright
10# notice, this list of conditions and the following disclaimer.
11# * Redistributions in binary form must reproduce the above
12# copyright notice, this list of conditions and the following disclaimer
13# in the documentation and/or other materials provided with the
14# distribution.
15# * Neither the name of Google Inc. nor the names of its
16# contributors may be used to endorse or promote products derived from
17# this software without specific prior written permission.
18#
19# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Nathaniel Manista840615e2015-01-22 20:31:47 +000030
31set -ex
32
33# change to grpc repo root
34cd $(dirname $0)/../..
35
36root=`pwd`
Craig Tiller75be91a2015-02-09 23:24:24 -080037export LD_LIBRARY_PATH=$root/libs/opt
38source python2.7_virtual_environment/bin/activate
Nathaniel Manistab8b0adf2015-01-29 00:30:51 +000039# TODO(issue 215): Properly itemize these in run_tests.py so that they can be parallelized.
Masood Malekghassemib13673d2015-02-20 18:21:02 -080040python2.7 -B test/compiler/python_plugin_test.py
Nathaniel Manistac25a3b32015-02-18 02:46:17 +000041python2.7 -B -m grpc._adapter._blocking_invocation_inline_service_test
42python2.7 -B -m grpc._adapter._c_test
43python2.7 -B -m grpc._adapter._event_invocation_synchronous_event_service_test
44python2.7 -B -m grpc._adapter._future_invocation_asynchronous_event_service_test
45python2.7 -B -m grpc._adapter._links_test
46python2.7 -B -m grpc._adapter._lonely_rear_link_test
47python2.7 -B -m grpc._adapter._low_test
Nathaniel Manista7efe54e2015-02-20 20:42:01 +000048python2.7 -B -m grpc.framework.assembly.implementations_test
Nathaniel Manistac25a3b32015-02-18 02:46:17 +000049python2.7 -B -m grpc.framework.base.packets.implementations_test
50python2.7 -B -m grpc.framework.face.blocking_invocation_inline_service_test
51python2.7 -B -m grpc.framework.face.event_invocation_synchronous_event_service_test
52python2.7 -B -m grpc.framework.face.future_invocation_asynchronous_event_service_test
53python2.7 -B -m grpc.framework.foundation._later_test
54python2.7 -B -m grpc.framework.foundation._logging_pool_test
Nathaniel Manistab8b0adf2015-01-29 00:30:51 +000055# TODO(nathaniel): Get tests working under 3.4 (requires 3.X-friendly protobuf)
Craig Tillerce5021b2015-02-18 09:25:21 -080056# python3.4 -B -m unittest discover -s src/python -p '*.py'