Another attempt at getting free space on win bots

git-svn-id: http://src.chromium.org/svn/trunk/src/build@254428 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
scottmg@chromium.org 2014-03-03 01:11:10 +00:00
Родитель 43fd678651
Коммит 87d7bd08de
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -527,10 +527,12 @@ if __name__ == '__main__':
os.environ['PATH'] = runtime_path + ';' + os.environ['PATH']
# TODO(scottmg): Temporarily add free space print to try to see how close
# we're getting to failures on windows bots. http://crbug.com/348350
print('Using automatic toolchain in %s (%s edition), free space: %dM.' % (
out_dir = os.path.abspath(GetOutputDirectory())
print('Using automatic toolchain in %s (%s edition), '
'free space in %s: %dM.' % (
toolchain,
'Pro' if version_is_pro else 'Express',
GetFreeSpaceMBWindows(GetOutputDirectory())))
out_dir, GetFreeSpaceMBWindows(out_dir)))
# If CHROMIUM_GYP_SYNTAX_CHECK is set to 1, it will invoke gyp with --check
# to enfore syntax checking.