pass -k 0 to ninja

This makes failing builds print all failures, not just the first.
Successful builds, the usual case, are unaffected.

Change-Id: I8dde21e913f6715e7760b298a87f51d1b40a8789
Reviewed-on: https://skia-review.googlesource.com/67803
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
This commit is contained in:
Mike Klein 2017-11-06 09:28:59 -05:00 committed by Skia Commit-Bot
parent 4e8c00df69
commit 7a13d871ca
95 changed files with 188 additions and 4 deletions

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-arm-Release-Android_API26/Release"
],

View File

@ -36,6 +36,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-arm-Release-Chromebook_GLES/Release",
"nanobench",

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Debug-Chromebook_GLES/Debug",
"nanobench",

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE/Debug"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Release-Fast/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Release-Mini/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Release-Vulkan/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-EMCC-wasm-Release/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-GCC-x86_64-Release-ANGLE/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-GCC-x86_64-Release-Mesa/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-GCC-x86_64-Release-NoGPU/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-GCC-x86_64-Release-Shared/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-arm64-Debug-Android_Vulkan/Debug"
],

View File

@ -54,6 +54,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Debug"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Metal/Debug"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja.exe",
"-k",
"0",
"-C",
"[CUSTOM_C:\\_B_WORK]/skia/out/Build-Win-Clang-arm64-Release-Android/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja.exe",
"-k",
"0",
"-C",
"[CUSTOM_C:\\_B_WORK]/skia/out/Build-Win-Clang-x86_64-Debug-GDI/Debug_x64"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja.exe",
"-k",
"0",
"-C",
"[CUSTOM_C:\\_B_WORK]/skia/out/Build-Win-Clang-x86_64-Release-Vulkan/Release_x64"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja.exe",
"-k",
"0",
"-C",
"[CUSTOM_C:\\_B_WORK]/skia/out/Build-Win-Clang-x86_64-Release/Release_x64"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja.exe",
"-k",
"0",
"-C",
"[CUSTOM_C:\\_B_WORK]/skia/out/Build-Win-MSVC-x86-Debug-Exceptions/Debug"
],

View File

@ -50,6 +50,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release",
"nanobench",

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release",
"nanobench",

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release",
"nanobench",

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja.exe",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug_x64"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -34,6 +34,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -111,7 +111,7 @@ class GNAndroidFlavorUtils(default_flavor.DefaultFlavorUtils):
self._py('fetch-gn', self.m.vars.skia_dir.join('bin', 'fetch-gn'))
self._run('gn gen', gn, 'gen', self.out_dir, '--args=' + gn_args)
self._run('ninja', ninja, '-C', self.out_dir)
self._run('ninja', ninja, '-k', '0', '-C', self.out_dir)
def install(self):
self._adb('mkdir ' + self.device_dirs.resource_dir,

View File

@ -155,7 +155,9 @@ class GNChromebookFlavorUtils(gn_flavor.GNFlavorUtils):
env=env):
self._py('fetch-gn', self.m.vars.skia_dir.join('bin', 'fetch-gn'))
self._run('gn gen', [gn, 'gen', self.out_dir, '--args=' + gn_args])
self._run('ninja', [ninja, '-C', self.out_dir, 'nanobench', 'dm'])
self._run('ninja', [ninja, '-k', '0'
, '-C', self.out_dir
, 'nanobench', 'dm'])
def create_clean_device_dir(self, path):
# use -f to silently return if path doesn't exist

View File

@ -92,7 +92,7 @@ class GNChromecastFlavorUtils(gn_android_flavor.GNAndroidFlavorUtils):
self._py('fetch-gn', self.m.vars.skia_dir.join('bin', 'fetch-gn'))
self._run('gn gen', gn, 'gen', self.out_dir, '--args=' + gn_args)
self._run('ninja', ninja, '-C', self.out_dir, 'nanobench', 'dm')
self._run('ninja', ninja, '-k', '0', '-C', self.out_dir, 'nanobench', 'dm')
def install(self):
super(GNChromecastFlavorUtils, self).install()

View File

@ -178,7 +178,7 @@ class GNFlavorUtils(default_flavor.DefaultFlavorUtils):
with self.m.env(env):
self._run('gn gen', [gn, 'gen', self.out_dir, '--args=' + gn_args])
self._run('ninja', [ninja, '-C', self.out_dir])
self._run('ninja', [ninja, '-k', '0', '-C', self.out_dir])
def copy_extra_build_products(self, swarming_out_dir):
configuration = self.m.vars.builder_cfg.get('configuration', '')

View File

@ -197,6 +197,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release"
],

View File

@ -197,6 +197,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release"
],

View File

@ -200,6 +200,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release"
],

View File

@ -132,6 +132,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-arm-Release-Chromebook_GLES/Release",
"nanobench",

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-arm64-Release-Android/Release"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-arm64-Release-Android_Vulkan/Release"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-mipsel-Debug-Android/Debug"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Debug-ASAN/Debug"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Debug-Coverage/Debug"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Debug-MSAN/Debug"
],

View File

@ -132,6 +132,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE/Debug"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Debug/Debug"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Release-Chromebook_GLES/Release",
"nanobench",

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Release-Fast/Release"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Release-Mini/Release"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Release-Vulkan/Release"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-x86_64-Release-Vulkan_Coverage/Release"
],

View File

@ -126,6 +126,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-EMCC-wasm-Release/Release"
],

View File

@ -126,6 +126,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-GCC-arm-Release-Chromecast/Release",
"nanobench",

View File

@ -126,6 +126,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-GCC-x86-Debug/Debug"
],

View File

@ -126,6 +126,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-GCC-x86_64-Debug-NoGPU/Debug"
],

View File

@ -126,6 +126,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-GCC-x86_64-Release-ANGLE/Release"
],

View File

@ -126,6 +126,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-GCC-x86_64-Release-Mesa/Release"
],

View File

@ -126,6 +126,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-GCC-x86_64-Release-Shared/Release"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-arm64-Debug-Android/Debug"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-arm64-Debug-iOS/Debug"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x64-Release-iOS/Release"
],

View File

@ -169,6 +169,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Debug"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Release/Release"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja.exe",
"-k",
"0",
"-C",
"[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-Clang-arm64-Release-Android\\Release"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja.exe",
"-k",
"0",
"-C",
"[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-Clang-x86_64-Release-Vulkan\\Release_x64"
],

View File

@ -126,6 +126,8 @@
{
"cmd": [
"ninja.exe",
"-k",
"0",
"-C",
"[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug-ANGLE\\Debug"
],

View File

@ -126,6 +126,8 @@
{
"cmd": [
"ninja.exe",
"-k",
"0",
"-C",
"[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug-Exceptions\\Debug"
],

View File

@ -126,6 +126,8 @@
{
"cmd": [
"ninja.exe",
"-k",
"0",
"-C",
"[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug\\Debug"
],

View File

@ -126,6 +126,8 @@
{
"cmd": [
"ninja.exe",
"-k",
"0",
"-C",
"[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Release-GDI\\Release"
],

View File

@ -130,6 +130,8 @@
{
"cmd": [
"ninja.exe",
"-k",
"0",
"-C",
"[CUSTOM_C:\\_B_WORK]/skia/out/Build-Win-Clang-x86_64-Release-Vulkan/Release_x64"
],

View File

@ -134,6 +134,8 @@
{
"cmd": [
"ninja.exe",
"-k",
"0",
"-C",
"[CUSTOM_C:\\_B_WORK]/skia/out/Build-Win-Clang-x86_64-Release-Vulkan/Release_x64"
],

View File

@ -141,6 +141,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release"
],

View File

@ -141,6 +141,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -141,6 +141,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -145,6 +145,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -141,6 +141,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -141,6 +141,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -141,6 +141,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -141,6 +141,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release"
],

View File

@ -141,6 +141,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Release"
],

View File

@ -141,6 +141,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -141,6 +141,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],

View File

@ -145,6 +145,8 @@
{
"cmd": [
"ninja",
"-k",
"0",
"-C",
"[START_DIR]/out/Debug"
],