cleanup tools/run_tests directory

pull/9176/head
Jan Tattermusch 8 years ago
parent d7c923d40b
commit 5c79a3199c
  1. 2
      .gitignore
  2. 0
      templates/tools/run_tests/generated/configs.json.template
  3. 0
      templates/tools/run_tests/generated/sources_and_headers.json.template
  4. 0
      templates/tools/run_tests/generated/tests.json.template
  5. 2
      tools/buildgen/generate_projects.py
  6. 41
      tools/run_tests/artifacts/__init__.py
  7. 37
      tools/run_tests/artifacts/artifact_targets.py
  8. 0
      tools/run_tests/artifacts/build_artifact_csharp.bat
  9. 2
      tools/run_tests/artifacts/build_artifact_csharp.sh
  10. 0
      tools/run_tests/artifacts/build_artifact_node.bat
  11. 2
      tools/run_tests/artifacts/build_artifact_node.sh
  12. 2
      tools/run_tests/artifacts/build_artifact_php.sh
  13. 2
      tools/run_tests/artifacts/build_artifact_protoc.bat
  14. 2
      tools/run_tests/artifacts/build_artifact_protoc.sh
  15. 0
      tools/run_tests/artifacts/build_artifact_python.bat
  16. 2
      tools/run_tests/artifacts/build_artifact_python.sh
  17. 2
      tools/run_tests/artifacts/build_artifact_ruby.sh
  18. 2
      tools/run_tests/artifacts/build_package_node.sh
  19. 2
      tools/run_tests/artifacts/build_package_php.sh
  20. 2
      tools/run_tests/artifacts/build_package_python.sh
  21. 2
      tools/run_tests/artifacts/build_package_ruby.sh
  22. 6
      tools/run_tests/artifacts/distribtest_targets.py
  23. 15
      tools/run_tests/artifacts/package_targets.py
  24. 0
      tools/run_tests/build_stats/build_stats_schema.json
  25. 0
      tools/run_tests/build_stats/build_stats_schema_no_matrix.json
  26. 0
      tools/run_tests/generated/configs.json
  27. 0
      tools/run_tests/generated/sources_and_headers.json
  28. 0
      tools/run_tests/generated/tests.json
  29. 2
      tools/run_tests/helper_scripts/build_csharp.sh
  30. 2
      tools/run_tests/helper_scripts/build_csharp_coreclr.bat
  31. 2
      tools/run_tests/helper_scripts/build_csharp_coreclr.sh
  32. 0
      tools/run_tests/helper_scripts/build_node.bat
  33. 2
      tools/run_tests/helper_scripts/build_node.sh
  34. 2
      tools/run_tests/helper_scripts/build_php.sh
  35. 2
      tools/run_tests/helper_scripts/build_python.sh
  36. 0
      tools/run_tests/helper_scripts/build_python_msys2.sh
  37. 2
      tools/run_tests/helper_scripts/build_ruby.sh
  38. 2
      tools/run_tests/helper_scripts/post_tests_c.sh
  39. 2
      tools/run_tests/helper_scripts/post_tests_csharp.bat
  40. 2
      tools/run_tests/helper_scripts/post_tests_csharp.sh
  41. 2
      tools/run_tests/helper_scripts/post_tests_php.sh
  42. 2
      tools/run_tests/helper_scripts/post_tests_ruby.sh
  43. 2
      tools/run_tests/helper_scripts/pre_build_c.bat
  44. 2
      tools/run_tests/helper_scripts/pre_build_csharp.bat
  45. 2
      tools/run_tests/helper_scripts/pre_build_csharp.sh
  46. 0
      tools/run_tests/helper_scripts/pre_build_node.bat
  47. 0
      tools/run_tests/helper_scripts/pre_build_node.sh
  48. 2
      tools/run_tests/helper_scripts/pre_build_ruby.sh
  49. 2
      tools/run_tests/helper_scripts/run_lcov.sh
  50. 0
      tools/run_tests/helper_scripts/run_node.bat
  51. 2
      tools/run_tests/helper_scripts/run_node.sh
  52. 2
      tools/run_tests/helper_scripts/run_python.sh
  53. 2
      tools/run_tests/helper_scripts/run_ruby.sh
  54. 2
      tools/run_tests/helper_scripts/run_tests_in_workspace.sh
  55. 0
      tools/run_tests/interop/interop_html_report.template
  56. 28
      tools/run_tests/python_utils/__init__.py
  57. 0
      tools/run_tests/python_utils/antagonist.py
  58. 3
      tools/run_tests/python_utils/dockerjob.py
  59. 0
      tools/run_tests/python_utils/filter_pull_request_tests.py
  60. 0
      tools/run_tests/python_utils/jobset.py
  61. 0
      tools/run_tests/python_utils/port_server.py
  62. 0
      tools/run_tests/python_utils/report_utils.py
  63. 0
      tools/run_tests/python_utils/watch_dirs.py
  64. 7
      tools/run_tests/run_interop_tests.py
  65. 8
      tools/run_tests/run_performance_tests.py
  66. 5
      tools/run_tests/run_stress_tests.py
  67. 72
      tools/run_tests/run_tests.py
  68. 9
      tools/run_tests/run_tests_matrix.py
  69. 2
      tools/run_tests/sanity/check_sources_and_headers.py
  70. 2
      tools/run_tests/sanity/check_test_filtering.py
  71. 9
      tools/run_tests/task_runner.py

2
.gitignore vendored

@ -96,7 +96,7 @@ DerivedData
Pods/ Pods/
# Artifacts directory # Artifacts directory
artifacts/ /artifacts/
# Git generated files for conflicting # Git generated files for conflicting
*.orig *.orig

@ -36,7 +36,7 @@ import shutil
import sys import sys
import tempfile import tempfile
import multiprocessing import multiprocessing
sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), '..', 'run_tests')) sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), '..', 'run_tests', 'python_utils'))
assert sys.argv[1:], 'run generate_projects.sh instead of this directly' assert sys.argv[1:], 'run generate_projects.sh instead of this directly'

@ -1,5 +1,4 @@
#!/bin/bash # Copyright 2016, Google Inc.
# Copyright 2015, Google Inc.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -27,41 +26,3 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd `dirname $0`/../..
grpc_dir=`pwd`
distrib=`md5sum /etc/issue | cut -f1 -d\ `
echo "Configuring for distribution $distrib"
git submodule | while read sha path extra ; do
cd /tmp
name=`basename $path`
file=$name-$sha-$CONFIG-prebuilt-$distrib.tar.gz
echo -n "Looking for $file ..."
url=http://storage.googleapis.com/grpc-prebuilt-packages/$file
wget -q $url && (
echo " Found."
tar xfz $file
) || echo " Not found."
done
mkdir -p bins/$CONFIG/protobuf
mkdir -p libs/$CONFIG/protobuf
mkdir -p libs/$CONFIG/openssl
function cpt {
cp /tmp/prebuilt/$1 $2/$CONFIG/$3
touch $2/$CONFIG/$3/`basename $1`
}
if [ -e /tmp/prebuilt/bin/protoc ] ; then
touch third_party/protobuf/configure
cpt bin/protoc bins protobuf
cpt lib/libprotoc.a libs protobuf
cpt lib/libprotobuf.a libs protobuf
fi
if [ -e /tmp/prebuilt/lib/libssl.a ] ; then
cpt lib/libcrypto.a libs openssl
cpt lib/libssl.a libs openssl
fi

@ -35,7 +35,8 @@ import random
import string import string
import sys import sys
import jobset sys.path.insert(0, os.path.abspath('..'))
import python_utils.jobset as jobset
def create_docker_jobspec(name, dockerfile_dir, shell_command, environ={}, def create_docker_jobspec(name, dockerfile_dir, shell_command, environ={},
@ -113,7 +114,7 @@ class PythonArtifact:
environ['GRPC_BUILD_MANYLINUX_WHEEL'] = 'TRUE' environ['GRPC_BUILD_MANYLINUX_WHEEL'] = 'TRUE'
return create_docker_jobspec(self.name, return create_docker_jobspec(self.name,
'tools/dockerfile/grpc_artifact_python_manylinux_%s' % self.arch, 'tools/dockerfile/grpc_artifact_python_manylinux_%s' % self.arch,
'tools/run_tests/build_artifact_python.sh', 'tools/run_tests/artifacts/build_artifact_python.sh',
environ=environ, environ=environ,
timeout_seconds=60*60) timeout_seconds=60*60)
elif self.platform == 'windows': elif self.platform == 'windows':
@ -125,7 +126,7 @@ class PythonArtifact:
# seed. We create a random temp-dir here # seed. We create a random temp-dir here
dir = ''.join(random.choice(string.ascii_uppercase) for _ in range(10)) dir = ''.join(random.choice(string.ascii_uppercase) for _ in range(10))
return create_jobspec(self.name, return create_jobspec(self.name,
['tools\\run_tests\\build_artifact_python.bat', ['tools\\run_tests\\artifacts\\build_artifact_python.bat',
self.py_version, self.py_version,
'32' if self.arch == 'x86' else '64', '32' if self.arch == 'x86' else '64',
dir dir
@ -136,7 +137,7 @@ class PythonArtifact:
environ['PYTHON'] = self.py_version environ['PYTHON'] = self.py_version
environ['SKIP_PIP_INSTALL'] = 'TRUE' environ['SKIP_PIP_INSTALL'] = 'TRUE'
return create_jobspec(self.name, return create_jobspec(self.name,
['tools/run_tests/build_artifact_python.sh'], ['tools/run_tests/artifacts/build_artifact_python.sh'],
environ=environ) environ=environ)
def __str__(self): def __str__(self):
@ -165,11 +166,11 @@ class RubyArtifact:
environ['SETARCH_CMD'] = 'linux32' environ['SETARCH_CMD'] = 'linux32'
return create_docker_jobspec(self.name, return create_docker_jobspec(self.name,
'tools/dockerfile/grpc_artifact_linux_%s' % self.arch, 'tools/dockerfile/grpc_artifact_linux_%s' % self.arch,
'tools/run_tests/build_artifact_ruby.sh', 'tools/run_tests/artifacts/build_artifact_ruby.sh',
environ=environ) environ=environ)
else: else:
return create_jobspec(self.name, return create_jobspec(self.name,
['tools/run_tests/build_artifact_ruby.sh']) ['tools/run_tests/artifacts/build_artifact_ruby.sh'])
class CSharpExtArtifact: class CSharpExtArtifact:
@ -184,7 +185,7 @@ class CSharpExtArtifact:
def pre_build_jobspecs(self): def pre_build_jobspecs(self):
if self.platform == 'windows': if self.platform == 'windows':
return [create_jobspec('prebuild_%s' % self.name, return [create_jobspec('prebuild_%s' % self.name,
['tools\\run_tests\\pre_build_c.bat'], ['tools\\run_tests\\helper_scripts\\pre_build_c.bat'],
shell=True, shell=True,
flake_retries=5, flake_retries=5,
timeout_retries=2)] timeout_retries=2)]
@ -195,7 +196,7 @@ class CSharpExtArtifact:
if self.platform == 'windows': if self.platform == 'windows':
msbuild_platform = 'Win32' if self.arch == 'x86' else self.arch msbuild_platform = 'Win32' if self.arch == 'x86' else self.arch
return create_jobspec(self.name, return create_jobspec(self.name,
['tools\\run_tests\\build_artifact_csharp.bat', ['tools\\run_tests\\artifacts\\build_artifact_csharp.bat',
'vsprojects\\grpc_csharp_ext.sln', 'vsprojects\\grpc_csharp_ext.sln',
'/p:Configuration=Release', '/p:Configuration=Release',
'/p:PlatformToolset=v120', '/p:PlatformToolset=v120',
@ -210,14 +211,14 @@ class CSharpExtArtifact:
if self.platform == 'linux': if self.platform == 'linux':
return create_docker_jobspec(self.name, return create_docker_jobspec(self.name,
'tools/dockerfile/grpc_artifact_linux_%s' % self.arch, 'tools/dockerfile/grpc_artifact_linux_%s' % self.arch,
'tools/run_tests/build_artifact_csharp.sh', 'tools/run_tests/artifacts/build_artifact_csharp.sh',
environ=environ) environ=environ)
else: else:
archflag = _ARCH_FLAG_MAP[self.arch] archflag = _ARCH_FLAG_MAP[self.arch]
environ['CFLAGS'] += ' %s %s' % (archflag, _MACOS_COMPAT_FLAG) environ['CFLAGS'] += ' %s %s' % (archflag, _MACOS_COMPAT_FLAG)
environ['LDFLAGS'] += ' %s' % archflag environ['LDFLAGS'] += ' %s' % archflag
return create_jobspec(self.name, return create_jobspec(self.name,
['tools/run_tests/build_artifact_csharp.sh'], ['tools/run_tests/artifacts/build_artifact_csharp.sh'],
environ=environ) environ=environ)
def __str__(self): def __str__(self):
@ -245,7 +246,7 @@ class NodeExtArtifact:
def build_jobspec(self): def build_jobspec(self):
if self.platform == 'windows': if self.platform == 'windows':
return create_jobspec(self.name, return create_jobspec(self.name,
['tools\\run_tests\\build_artifact_node.bat', ['tools\\run_tests\\artifacts\\build_artifact_node.bat',
self.gyp_arch], self.gyp_arch],
shell=True) shell=True)
else: else:
@ -253,10 +254,10 @@ class NodeExtArtifact:
return create_docker_jobspec( return create_docker_jobspec(
self.name, self.name,
'tools/dockerfile/grpc_artifact_linux_{}'.format(self.arch), 'tools/dockerfile/grpc_artifact_linux_{}'.format(self.arch),
'tools/run_tests/build_artifact_node.sh {}'.format(self.gyp_arch)) 'tools/run_tests/artifacts/build_artifact_node.sh {}'.format(self.gyp_arch))
else: else:
return create_jobspec(self.name, return create_jobspec(self.name,
['tools/run_tests/build_artifact_node.sh', ['tools/run_tests/artifacts/build_artifact_node.sh',
self.gyp_arch]) self.gyp_arch])
class PHPArtifact: class PHPArtifact:
@ -276,10 +277,10 @@ class PHPArtifact:
return create_docker_jobspec( return create_docker_jobspec(
self.name, self.name,
'tools/dockerfile/grpc_artifact_linux_{}'.format(self.arch), 'tools/dockerfile/grpc_artifact_linux_{}'.format(self.arch),
'tools/run_tests/build_artifact_php.sh') 'tools/run_tests/artifacts/build_artifact_php.sh')
else: else:
return create_jobspec(self.name, return create_jobspec(self.name,
['tools/run_tests/build_artifact_php.sh']) ['tools/run_tests/artifacts/build_artifact_php.sh'])
class ProtocArtifact: class ProtocArtifact:
"""Builds protoc and protoc-plugin artifacts""" """Builds protoc and protoc-plugin artifacts"""
@ -306,18 +307,18 @@ class ProtocArtifact:
if self.platform == 'linux': if self.platform == 'linux':
return create_docker_jobspec(self.name, return create_docker_jobspec(self.name,
'tools/dockerfile/grpc_artifact_protoc', 'tools/dockerfile/grpc_artifact_protoc',
'tools/run_tests/build_artifact_protoc.sh', 'tools/run_tests/artifacts/build_artifact_protoc.sh',
environ=environ) environ=environ)
else: else:
environ['CXXFLAGS'] += ' -std=c++11 -stdlib=libc++ %s' % _MACOS_COMPAT_FLAG environ['CXXFLAGS'] += ' -std=c++11 -stdlib=libc++ %s' % _MACOS_COMPAT_FLAG
return create_jobspec(self.name, return create_jobspec(self.name,
['tools/run_tests/build_artifact_protoc.sh'], ['tools/run_tests/artifacts/build_artifact_protoc.sh'],
environ=environ) environ=environ)
else: else:
generator = 'Visual Studio 12 Win64' if self.arch == 'x64' else 'Visual Studio 12' generator = 'Visual Studio 12 Win64' if self.arch == 'x64' else 'Visual Studio 12'
vcplatform = 'x64' if self.arch == 'x64' else 'Win32' vcplatform = 'x64' if self.arch == 'x64' else 'Win32'
return create_jobspec(self.name, return create_jobspec(self.name,
['tools\\run_tests\\build_artifact_protoc.bat'], ['tools\\run_tests\\artifacts\\build_artifact_protoc.bat'],
environ={'generator': generator, environ={'generator': generator,
'Platform': vcplatform}) 'Platform': vcplatform})

@ -30,7 +30,7 @@
set -ex set -ex
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
make grpc_csharp_ext make grpc_csharp_ext

@ -34,7 +34,7 @@ source ~/.nvm/nvm.sh
nvm use 4 nvm use 4
set -ex set -ex
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
rm -rf build || true rm -rf build || true

@ -31,7 +31,7 @@
PHP_TARGET_ARCH=$1 PHP_TARGET_ARCH=$1
set -ex set -ex
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
mkdir -p artifacts mkdir -p artifacts

@ -34,7 +34,7 @@ cd third_party/protobuf/cmake
mkdir build & cd build mkdir build & cd build
mkdir solution & cd solution mkdir solution & cd solution
cmake -G "%generator%" -Dprotobuf_BUILD_TESTS=OFF ../.. || goto :error cmake -G "%generator%" -Dprotobuf_BUILD_TESTS=OFF ../../.. || goto :error
endlocal endlocal
call vsprojects/build_plugins.bat || goto :error call vsprojects/build_plugins.bat || goto :error

@ -33,7 +33,7 @@ source scl_source enable devtoolset-1.1
set -ex set -ex
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
make plugins make plugins

@ -30,7 +30,7 @@
set -ex set -ex
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
export GRPC_PYTHON_USE_CUSTOM_BDIST=0 export GRPC_PYTHON_USE_CUSTOM_BDIST=0
export GRPC_PYTHON_BUILD_WITH_CYTHON=1 export GRPC_PYTHON_BUILD_WITH_CYTHON=1

@ -31,7 +31,7 @@ set -ex
SYSTEM=`uname | cut -f 1 -d_` SYSTEM=`uname | cut -f 1 -d_`
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
set +ex set +ex
[[ -s /etc/profile.d/rvm.sh ]] && . /etc/profile.d/rvm.sh [[ -s /etc/profile.d/rvm.sh ]] && . /etc/profile.d/rvm.sh
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

@ -33,7 +33,7 @@ source ~/.nvm/nvm.sh
nvm use 4 nvm use 4
set -ex set -ex
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
base=$(pwd) base=$(pwd)

@ -30,7 +30,7 @@
set -ex set -ex
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
mkdir -p artifacts/ mkdir -p artifacts/
cp -r $EXTERNAL_GIT_ROOT/architecture={x86,x64},language=php,platform={windows,linux,macos}/artifacts/* artifacts/ || true cp -r $EXTERNAL_GIT_ROOT/architecture={x86,x64},language=php,platform={windows,linux,macos}/artifacts/* artifacts/ || true

@ -30,7 +30,7 @@
set -ex set -ex
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
mkdir -p artifacts/ mkdir -p artifacts/

@ -30,7 +30,7 @@
set -ex set -ex
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
base=$(pwd) base=$(pwd)

@ -30,7 +30,11 @@
"""Definition of targets run distribution package tests.""" """Definition of targets run distribution package tests."""
import jobset import os.path
import sys
sys.path.insert(0, os.path.abspath('..'))
import python_utils.jobset as jobset
def create_docker_jobspec(name, dockerfile_dir, shell_command, environ={}, def create_docker_jobspec(name, dockerfile_dir, shell_command, environ={},

@ -30,7 +30,12 @@
"""Definition of targets to build distribution packages.""" """Definition of targets to build distribution packages."""
import jobset import os.path
import sys
sys.path.insert(0, os.path.abspath('..'))
import python_utils.jobset as jobset
def create_docker_jobspec(name, dockerfile_dir, shell_command, environ={}, def create_docker_jobspec(name, dockerfile_dir, shell_command, environ={},
flake_retries=0, timeout_retries=0): flake_retries=0, timeout_retries=0):
@ -114,7 +119,7 @@ class NodePackage:
return create_docker_jobspec( return create_docker_jobspec(
self.name, self.name,
'tools/dockerfile/grpc_artifact_linux_x64', 'tools/dockerfile/grpc_artifact_linux_x64',
'tools/run_tests/build_package_node.sh') 'tools/run_tests/artifacts/build_package_node.sh')
class RubyPackage: class RubyPackage:
@ -131,7 +136,7 @@ class RubyPackage:
return create_docker_jobspec( return create_docker_jobspec(
self.name, self.name,
'tools/dockerfile/grpc_artifact_linux_x64', 'tools/dockerfile/grpc_artifact_linux_x64',
'tools/run_tests/build_package_ruby.sh') 'tools/run_tests/artifacts/build_package_ruby.sh')
class PythonPackage: class PythonPackage:
@ -148,7 +153,7 @@ class PythonPackage:
return create_docker_jobspec( return create_docker_jobspec(
self.name, self.name,
'tools/dockerfile/grpc_artifact_linux_x64', 'tools/dockerfile/grpc_artifact_linux_x64',
'tools/run_tests/build_package_python.sh') 'tools/run_tests/artifacts/build_package_python.sh')
class PHPPackage: class PHPPackage:
@ -165,7 +170,7 @@ class PHPPackage:
return create_docker_jobspec( return create_docker_jobspec(
self.name, self.name,
'tools/dockerfile/grpc_artifact_linux_x64', 'tools/dockerfile/grpc_artifact_linux_x64',
'tools/run_tests/build_package_php.sh') 'tools/run_tests/artifacts/build_package_php.sh')
def targets(): def targets():

@ -30,7 +30,7 @@
set -ex set -ex
cd $(dirname $0)/../../src/csharp cd $(dirname $0)/../../../src/csharp
# overriding NativeDependenciesConfigurationUnix is needed to make gcov code coverage work. # overriding NativeDependenciesConfigurationUnix is needed to make gcov code coverage work.
xbuild /p:Configuration=$MSBUILD_CONFIG /p:NativeDependenciesConfigurationUnix=$CONFIG Grpc.sln xbuild /p:Configuration=$MSBUILD_CONFIG /p:NativeDependenciesConfigurationUnix=$CONFIG Grpc.sln

@ -29,7 +29,7 @@
setlocal setlocal
cd /d %~dp0\..\..\src\csharp cd /d %~dp0\..\..\..\src\csharp
dotnet restore . || goto :error dotnet restore . || goto :error

@ -30,7 +30,7 @@
set -ex set -ex
cd $(dirname $0)/../../src/csharp cd $(dirname $0)/../../../src/csharp
# TODO(jtattermusch): introduce caching # TODO(jtattermusch): introduce caching
dotnet restore . dotnet restore .

@ -38,6 +38,6 @@ set -ex
CONFIG=${CONFIG:-opt} CONFIG=${CONFIG:-opt}
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
npm install --unsafe-perm --build-from-source npm install --unsafe-perm --build-from-source

@ -33,7 +33,7 @@ set -ex
CONFIG=${CONFIG:-opt} CONFIG=${CONFIG:-opt}
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
root=`pwd` root=`pwd`
export GRPC_LIB_SUBDIR=libs/$CONFIG export GRPC_LIB_SUBDIR=libs/$CONFIG

@ -31,7 +31,7 @@
set -ex set -ex
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
########################## ##########################
# Portability operations # # Portability operations #

@ -34,7 +34,7 @@ set -ex
export GRPC_CONFIG=${CONFIG:-opt} export GRPC_CONFIG=${CONFIG:-opt}
# change to grpc's ruby directory # change to grpc's ruby directory
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
rm -rf ./tmp rm -rf ./tmp
rake compile rake compile

@ -32,7 +32,7 @@ set -ex
if [ "$CONFIG" != "gcov" ] ; then exit ; fi if [ "$CONFIG" != "gcov" ] ; then exit ; fi
root=$(readlink -f $(dirname $0)/../..) root=$(readlink -f $(dirname $0)/../../..)
out=$root/reports/c_cxx_coverage out=$root/reports/c_cxx_coverage
tmp1=$(mktemp) tmp1=$(mktemp)
tmp2=$(mktemp) tmp2=$(mktemp)

@ -36,7 +36,7 @@ if not "%CONFIG%" == "gcov" (
) )
@rem enter src/csharp directory @rem enter src/csharp directory
cd /d %~dp0\..\..\src\csharp cd /d %~dp0\..\..\..\src\csharp
@rem Generate code coverage report @rem Generate code coverage report
@rem TODO(jtattermusch): currently the report list is hardcoded @rem TODO(jtattermusch): currently the report list is hardcoded

@ -33,7 +33,7 @@ set -ex
if [ "$CONFIG" != "gcov" ] ; then exit ; fi if [ "$CONFIG" != "gcov" ] ; then exit ; fi
# change to gRPC repo root # change to gRPC repo root
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
# Generate the csharp extension coverage report # Generate the csharp extension coverage report
gcov objs/gcov/src/csharp/ext/*.o gcov objs/gcov/src/csharp/ext/*.o

@ -32,7 +32,7 @@ set -ex
if [ "$CONFIG" != "gcov" ] ; then exit ; fi if [ "$CONFIG" != "gcov" ] ; then exit ; fi
root=$(readlink -f $(dirname $0)/../..) root=$(readlink -f $(dirname $0)/../../..)
out=$root/reports/php_ext_coverage out=$root/reports/php_ext_coverage
tmp1=$(mktemp) tmp1=$(mktemp)
tmp2=$(mktemp) tmp2=$(mktemp)

@ -32,7 +32,7 @@ set -ex
if [ "$CONFIG" != "gcov" ] ; then exit ; fi if [ "$CONFIG" != "gcov" ] ; then exit ; fi
root=$(readlink -f $(dirname $0)/../..) root=$(readlink -f $(dirname $0)/../../..)
out=$root/reports/ruby_ext_coverage out=$root/reports/ruby_ext_coverage
tmp1=$(mktemp) tmp1=$(mktemp)
tmp2=$(mktemp) tmp2=$(mktemp)

@ -32,7 +32,7 @@
setlocal setlocal
@rem enter repo root @rem enter repo root
cd /d %~dp0\..\.. cd /d %~dp0\..\..\..
@rem Location of nuget.exe @rem Location of nuget.exe
set NUGET=C:\nuget\nuget.exe set NUGET=C:\nuget\nuget.exe

@ -32,7 +32,7 @@
setlocal setlocal
@rem enter repo root @rem enter repo root
cd /d %~dp0\..\.. cd /d %~dp0\..\..\..
@rem Location of nuget.exe @rem Location of nuget.exe
set NUGET=C:\nuget\nuget.exe set NUGET=C:\nuget\nuget.exe

@ -31,7 +31,7 @@
set -ex set -ex
# cd to gRPC csharp directory # cd to gRPC csharp directory
cd $(dirname $0)/../../src/csharp cd $(dirname $0)/../../../src/csharp
root=`pwd` root=`pwd`

@ -34,6 +34,6 @@ set -ex
export GRPC_CONFIG=${CONFIG:-opt} export GRPC_CONFIG=${CONFIG:-opt}
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
bundle install bundle install

@ -32,7 +32,7 @@ set -ex
out=$(readlink -f ${1:-coverage}) out=$(readlink -f ${1:-coverage})
root=$(readlink -f $(dirname $0)/../..) root=$(readlink -f $(dirname $0)/../../..)
shift || true shift || true
tmp=$(mktemp) tmp=$(mktemp)
cd $root cd $root

@ -37,7 +37,7 @@ set -ex
CONFIG=${CONFIG:-opt} CONFIG=${CONFIG:-opt}
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
root=`pwd` root=`pwd`

@ -31,7 +31,7 @@
set -ex set -ex
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
PYTHON=`realpath -s "${1:-py27/bin/python}"` PYTHON=`realpath -s "${1:-py27/bin/python}"`

@ -31,6 +31,6 @@
set -ex set -ex
# change to grpc repo root # change to grpc repo root
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
rake rake

@ -34,7 +34,7 @@
# newly created workspace) # newly created workspace)
set -ex set -ex
cd $(dirname $0)/../.. cd $(dirname $0)/../../..
export repo_root=$(pwd) export repo_root=$(pwd)
rm -rf "${WORKSPACE_NAME}" rm -rf "${WORKSPACE_NAME}"

@ -0,0 +1,28 @@
# Copyright 2016, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

@ -31,13 +31,14 @@
from __future__ import print_function from __future__ import print_function
import jobset
import tempfile import tempfile
import time import time
import uuid import uuid
import os import os
import subprocess import subprocess
import jobset
_DEVNULL = open(os.devnull, 'w') _DEVNULL = open(os.devnull, 'w')

@ -34,20 +34,21 @@ from __future__ import print_function
import argparse import argparse
import atexit import atexit
import dockerjob
import itertools import itertools
import jobset
import json import json
import multiprocessing import multiprocessing
import os import os
import re import re
import report_utils
import subprocess import subprocess
import sys import sys
import tempfile import tempfile
import time import time
import uuid import uuid
import python_utils.dockerjob as dockerjob
import python_utils.jobset as jobset
import python_utils.report_utils as report_utils
# Docker doesn't clean up after itself, so we do it on exit. # Docker doesn't clean up after itself, so we do it on exit.
atexit.register(lambda: subprocess.call(['stty', 'echo'])) atexit.register(lambda: subprocess.call(['stty', 'echo']))

@ -35,21 +35,21 @@ from __future__ import print_function
import argparse import argparse
import collections import collections
import itertools import itertools
import jobset
import json import json
import multiprocessing import multiprocessing
import os import os
import performance.scenario_config as scenario_config
import pipes import pipes
import re import re
import report_utils
import subprocess import subprocess
import sys import sys
import tempfile import tempfile
import time import time
import traceback import traceback
import uuid import uuid
import report_utils
import performance.scenario_config as scenario_config
import python_utils.jobset as jobset
import python_utils.report_utils as report_utils
_ROOT = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '../..')) _ROOT = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '../..'))

@ -33,9 +33,7 @@ from __future__ import print_function
import argparse import argparse
import atexit import atexit
import dockerjob
import itertools import itertools
import jobset
import json import json
import multiprocessing import multiprocessing
import os import os
@ -46,6 +44,9 @@ import tempfile
import time import time
import uuid import uuid
import python_utils.dockerjob as dockerjob
import python_utils.jobset as jobset
# Docker doesn't clean up after itself, so we do it on exit. # Docker doesn't clean up after itself, so we do it on exit.
atexit.register(lambda: subprocess.call(['stty', 'echo'])) atexit.register(lambda: subprocess.call(['stty', 'echo']))

@ -54,9 +54,9 @@ import time
from six.moves import urllib from six.moves import urllib
import uuid import uuid
import jobset import python_utils.jobset as jobset
import report_utils import python_utils.report_utils as report_utils
import watch_dirs import python_utils.watch_dirs as watch_dirs
_ROOT = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '../..')) _ROOT = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '../..'))
@ -116,7 +116,7 @@ class Config(object):
def get_c_tests(travis, test_lang) : def get_c_tests(travis, test_lang) :
out = [] out = []
platforms_str = 'ci_platforms' if travis else 'platforms' platforms_str = 'ci_platforms' if travis else 'platforms'
with open('tools/run_tests/tests.json') as f: with open('tools/run_tests/generated/tests.json') as f:
js = json.load(f) js = json.load(f)
return [tgt return [tgt
for tgt in js for tgt in js
@ -300,7 +300,7 @@ class CLanguage(object):
def pre_build_steps(self): def pre_build_steps(self):
if self.platform == 'windows': if self.platform == 'windows':
return [['tools\\run_tests\\pre_build_c.bat']] return [['tools\\run_tests\\helper_scripts\\pre_build_c.bat']]
else: else:
return [] return []
@ -311,7 +311,7 @@ class CLanguage(object):
if self.platform == 'windows': if self.platform == 'windows':
return [] return []
else: else:
return [['tools/run_tests/post_tests_c.sh']] return [['tools/run_tests/helper_scripts/post_tests_c.sh']]
def makefile_name(self): def makefile_name(self):
return 'Makefile' return 'Makefile'
@ -382,16 +382,16 @@ class NodeLanguage(object):
def test_specs(self): def test_specs(self):
if self.platform == 'windows': if self.platform == 'windows':
return [self.config.job_spec(['tools\\run_tests\\run_node.bat'])] return [self.config.job_spec(['tools\\run_tests\\helper_scripts\\run_node.bat'])]
else: else:
return [self.config.job_spec(['tools/run_tests/run_node.sh', self.node_version], return [self.config.job_spec(['tools/run_tests/helper_scripts/run_node.sh', self.node_version],
environ=_FORCE_ENVIRON_FOR_WRAPPERS)] environ=_FORCE_ENVIRON_FOR_WRAPPERS)]
def pre_build_steps(self): def pre_build_steps(self):
if self.platform == 'windows': if self.platform == 'windows':
return [['tools\\run_tests\\pre_build_node.bat']] return [['tools\\run_tests\\helper_scripts\\pre_build_node.bat']]
else: else:
return [['tools/run_tests/pre_build_node.sh', self.node_version]] return [['tools/run_tests/helper_scripts/pre_build_node.sh', self.node_version]]
def make_targets(self): def make_targets(self):
return [] return []
@ -401,9 +401,9 @@ class NodeLanguage(object):
def build_steps(self): def build_steps(self):
if self.platform == 'windows': if self.platform == 'windows':
return [['tools\\run_tests\\build_node.bat']] return [['tools\\run_tests\\helper_scripts\\build_node.bat']]
else: else:
return [['tools/run_tests/build_node.sh', self.node_version]] return [['tools/run_tests/helper_scripts/build_node.sh', self.node_version]]
def post_tests_steps(self): def post_tests_steps(self):
return [] return []
@ -439,10 +439,10 @@ class PhpLanguage(object):
return [] return []
def build_steps(self): def build_steps(self):
return [['tools/run_tests/build_php.sh']] return [['tools/run_tests/helper_scripts/build_php.sh']]
def post_tests_steps(self): def post_tests_steps(self):
return [['tools/run_tests/post_tests_php.sh']] return [['tools/run_tests/helper_scripts/post_tests_php.sh']]
def makefile_name(self): def makefile_name(self):
return 'Makefile' return 'Makefile'
@ -475,10 +475,10 @@ class Php7Language(object):
return [] return []
def build_steps(self): def build_steps(self):
return [['tools/run_tests/build_php.sh']] return [['tools/run_tests/helper_scripts/build_php.sh']]
def post_tests_steps(self): def post_tests_steps(self):
return [['tools/run_tests/post_tests_php.sh']] return [['tools/run_tests/helper_scripts/post_tests_php.sh']]
def makefile_name(self): def makefile_name(self):
return 'Makefile' return 'Makefile'
@ -547,18 +547,18 @@ class PythonLanguage(object):
if os.name == 'nt': if os.name == 'nt':
shell = ['bash'] shell = ['bash']
builder = [os.path.abspath('tools/run_tests/build_python_msys2.sh')] builder = [os.path.abspath('tools/run_tests/helper_scripts/build_python_msys2.sh')]
builder_prefix_arguments = ['MINGW{}'.format(bits)] builder_prefix_arguments = ['MINGW{}'.format(bits)]
venv_relative_python = ['Scripts/python.exe'] venv_relative_python = ['Scripts/python.exe']
toolchain = ['mingw32'] toolchain = ['mingw32']
else: else:
shell = [] shell = []
builder = [os.path.abspath('tools/run_tests/build_python.sh')] builder = [os.path.abspath('tools/run_tests/helper_scripts/build_python.sh')]
builder_prefix_arguments = [] builder_prefix_arguments = []
venv_relative_python = ['bin/python'] venv_relative_python = ['bin/python']
toolchain = ['unix'] toolchain = ['unix']
runner = [os.path.abspath('tools/run_tests/run_python.sh')] runner = [os.path.abspath('tools/run_tests/helper_scripts/run_python.sh')]
config_vars = _PythonConfigVars(shell, builder, builder_prefix_arguments, config_vars = _PythonConfigVars(shell, builder, builder_prefix_arguments,
venv_relative_python, toolchain, runner) venv_relative_python, toolchain, runner)
python27_config = _python_config_generator(name='py27', major='2', python27_config = _python_config_generator(name='py27', major='2',
@ -610,12 +610,12 @@ class RubyLanguage(object):
_check_compiler(self.args.compiler, ['default']) _check_compiler(self.args.compiler, ['default'])
def test_specs(self): def test_specs(self):
return [self.config.job_spec(['tools/run_tests/run_ruby.sh'], return [self.config.job_spec(['tools/run_tests/helper_scripts/run_ruby.sh'],
timeout_seconds=10*60, timeout_seconds=10*60,
environ=_FORCE_ENVIRON_FOR_WRAPPERS)] environ=_FORCE_ENVIRON_FOR_WRAPPERS)]
def pre_build_steps(self): def pre_build_steps(self):
return [['tools/run_tests/pre_build_ruby.sh']] return [['tools/run_tests/helper_scripts/pre_build_ruby.sh']]
def make_targets(self): def make_targets(self):
return [] return []
@ -624,10 +624,10 @@ class RubyLanguage(object):
return [] return []
def build_steps(self): def build_steps(self):
return [['tools/run_tests/build_ruby.sh']] return [['tools/run_tests/helper_scripts/build_ruby.sh']]
def post_tests_steps(self): def post_tests_steps(self):
return [['tools/run_tests/post_tests_ruby.sh']] return [['tools/run_tests/helper_scripts/post_tests_ruby.sh']]
def makefile_name(self): def makefile_name(self):
return 'Makefile' return 'Makefile'
@ -725,9 +725,9 @@ class CSharpLanguage(object):
def pre_build_steps(self): def pre_build_steps(self):
if self.platform == 'windows': if self.platform == 'windows':
return [['tools\\run_tests\\pre_build_csharp.bat']] return [['tools\\run_tests\\helper_scripts\\pre_build_csharp.bat']]
else: else:
return [['tools/run_tests/pre_build_csharp.sh']] return [['tools/run_tests/helper_scripts/pre_build_csharp.sh']]
def make_targets(self): def make_targets(self):
return ['grpc_csharp_ext'] return ['grpc_csharp_ext']
@ -738,22 +738,22 @@ class CSharpLanguage(object):
def build_steps(self): def build_steps(self):
if self.args.compiler == 'coreclr': if self.args.compiler == 'coreclr':
if self.platform == 'windows': if self.platform == 'windows':
return [['tools\\run_tests\\build_csharp_coreclr.bat']] return [['tools\\run_tests\\helper_scripts\\build_csharp_coreclr.bat']]
else: else:
return [['tools/run_tests/build_csharp_coreclr.sh']] return [['tools/run_tests/helper_scripts/build_csharp_coreclr.sh']]
else: else:
if self.platform == 'windows': if self.platform == 'windows':
return [[_windows_build_bat(self.args.compiler), return [[_windows_build_bat(self.args.compiler),
'src/csharp/Grpc.sln', 'src/csharp/Grpc.sln',
'/p:Configuration=%s' % _MSBUILD_CONFIG[self.config.build_config]]] '/p:Configuration=%s' % _MSBUILD_CONFIG[self.config.build_config]]]
else: else:
return [['tools/run_tests/build_csharp.sh']] return [['tools/run_tests/helper_scripts/build_csharp.sh']]
def post_tests_steps(self): def post_tests_steps(self):
if self.platform == 'windows': if self.platform == 'windows':
return [['tools\\run_tests\\post_tests_csharp.bat']] return [['tools\\run_tests\\helper_scripts\\post_tests_csharp.bat']]
else: else:
return [['tools/run_tests/post_tests_csharp.sh']] return [['tools/run_tests/helper_scripts/post_tests_csharp.sh']]
def makefile_name(self): def makefile_name(self):
return 'Makefile' return 'Makefile'
@ -872,9 +872,9 @@ class NodeExpressLanguage(object):
def pre_build_steps(self): def pre_build_steps(self):
if self.platform == 'windows': if self.platform == 'windows':
return [['tools\\run_tests\\pre_build_node.bat']] return [['tools\\run_tests\\helper_scripts\\pre_build_node.bat']]
else: else:
return [['tools/run_tests/pre_build_node.sh', self.node_version]] return [['tools/run_tests/helper_scripts/pre_build_node.sh', self.node_version]]
def make_targets(self): def make_targets(self):
return [] return []
@ -898,7 +898,7 @@ class NodeExpressLanguage(object):
return 'node_express' return 'node_express'
# different configurations we can run under # different configurations we can run under
with open('tools/run_tests/configs.json') as f: with open('tools/run_tests/generated/configs.json') as f:
_CONFIGS = dict((cfg['config'], Config(**cfg)) for cfg in ast.literal_eval(f.read())) _CONFIGS = dict((cfg['config'], Config(**cfg)) for cfg in ast.literal_eval(f.read()))
@ -1299,7 +1299,7 @@ def _start_port_server(port_server_port):
running = False running = False
if running: if running:
current_version = int(subprocess.check_output( current_version = int(subprocess.check_output(
[sys.executable, os.path.abspath('tools/run_tests/port_server.py'), [sys.executable, os.path.abspath('tools/run_tests/python_utils/port_server.py'),
'dump_version'])) 'dump_version']))
print('my port server is version %d' % current_version) print('my port server is version %d' % current_version)
running = (version >= current_version) running = (version >= current_version)
@ -1311,7 +1311,7 @@ def _start_port_server(port_server_port):
fd, logfile = tempfile.mkstemp() fd, logfile = tempfile.mkstemp()
os.close(fd) os.close(fd)
print('starting port_server, with log file %s' % logfile) print('starting port_server, with log file %s' % logfile)
args = [sys.executable, os.path.abspath('tools/run_tests/port_server.py'), args = [sys.executable, os.path.abspath('tools/run_tests/python_utils/port_server.py'),
'-p', '%d' % port_server_port, '-l', logfile] '-p', '%d' % port_server_port, '-l', logfile]
env = dict(os.environ) env = dict(os.environ)
env['BUILD_ID'] = 'pleaseDontKillMeJenkins' env['BUILD_ID'] = 'pleaseDontKillMeJenkins'
@ -1417,7 +1417,7 @@ def _build_and_run(
return [] return []
# start antagonists # start antagonists
antagonists = [subprocess.Popen(['tools/run_tests/antagonist.py']) antagonists = [subprocess.Popen(['tools/run_tests/python_utils/antagonist.py'])
for _ in range(0, args.antagonists)] for _ in range(0, args.antagonists)]
port_server_port = 32766 port_server_port = 32766
_start_port_server(port_server_port) _start_port_server(port_server_port)

@ -31,12 +31,13 @@
"""Run test matrix.""" """Run test matrix."""
import argparse import argparse
import jobset
import multiprocessing import multiprocessing
import os import os
import report_utils
import sys import sys
from filter_pull_request_tests import filter_tests
import python_utils.jobset as jobset
import python_utils.report_utils as report_utils
from python_utils.filter_pull_request_tests import filter_tests
_ROOT = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '../..')) _ROOT = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '../..'))
os.chdir(_ROOT) os.chdir(_ROOT)
@ -69,7 +70,7 @@ def _workspace_jobspec(name, runtests_args=[], workspace_name=None, inner_jobs=_
workspace_name = 'workspace_%s' % name workspace_name = 'workspace_%s' % name
env = {'WORKSPACE_NAME': workspace_name} env = {'WORKSPACE_NAME': workspace_name}
test_job = jobset.JobSpec( test_job = jobset.JobSpec(
cmdline=['tools/run_tests/run_tests_in_workspace.sh', cmdline=['tools/run_tests/helper_scripts/run_tests_in_workspace.sh',
'-t', '-t',
'-j', str(inner_jobs), '-j', str(inner_jobs),
'-x', '../report_%s.xml' % name, '-x', '../report_%s.xml' % name,

@ -34,7 +34,7 @@ import re
import sys import sys
root = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '../../..')) root = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '../../..'))
with open(os.path.join(root, 'tools', 'run_tests', 'sources_and_headers.json')) as f: with open(os.path.join(root, 'tools', 'run_tests', 'generated', 'sources_and_headers.json')) as f:
js = json.loads(f.read()) js = json.loads(f.read())
re_inc1 = re.compile(r'^#\s*include\s*"([^"]*)"') re_inc1 = re.compile(r'^#\s*include\s*"([^"]*)"')

@ -38,7 +38,7 @@ import re
# hack import paths to pick up extra code # hack import paths to pick up extra code
sys.path.insert(0, os.path.abspath('tools/run_tests/')) sys.path.insert(0, os.path.abspath('tools/run_tests/'))
from run_tests_matrix import _create_test_jobs, _create_portability_test_jobs from run_tests_matrix import _create_test_jobs, _create_portability_test_jobs
import filter_pull_request_tests import python_utils.filter_pull_request_tests as filter_pull_request_tests
_LIST_OF_LANGUAGE_LABELS = ['c', 'c++', 'csharp', 'node', 'objc', 'php', 'php7', 'python', 'ruby'] _LIST_OF_LANGUAGE_LABELS = ['c', 'c++', 'csharp', 'node', 'objc', 'php', 'php7', 'python', 'ruby']
_LIST_OF_PLATFORM_LABELS = ['linux', 'macos', 'windows'] _LIST_OF_PLATFORM_LABELS = ['linux', 'macos', 'windows']

@ -33,14 +33,13 @@
from __future__ import print_function from __future__ import print_function
import argparse import argparse
import atexit
import jobset
import multiprocessing import multiprocessing
import sys import sys
import artifact_targets import artifacts.artifact_targets as artifact_targets
import distribtest_targets import artifacts.distribtest_targets as distribtest_targets
import package_targets import artifacts.package_targets as package_targets
import python_utils.jobset as jobset
_TARGETS = [] _TARGETS = []
_TARGETS += artifact_targets.targets() _TARGETS += artifact_targets.targets()

Loading…
Cancel
Save