Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: build_tools/test_build_tools.py

Issue 1555913002: Build gtest from source rather than using SDK-provided version (Closed) Base URL: https://chromium.googlesource.com/webports.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build_tools/partition6.txt ('k') | ports/corelibs/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Native Client Authors. All rights reserved. 1 # Copyright 2014 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import mock 5 import mock
6 from mock import Mock, patch 6 from mock import Mock, patch
7 import StringIO 7 import StringIO
8 import unittest 8 import unittest
9 9
10 import webports 10 import webports
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 def test_deps(self): 112 def test_deps(self):
113 self.assertEqual( 113 self.assertEqual(
114 find_effected_packages(['ports/hello', 'ports/ruby'], False, None), 114 find_effected_packages(['ports/hello', 'ports/ruby'], False, None),
115 ['hello', 'ruby', 'ruby-ppapi']) 115 ['hello', 'ruby', 'ruby-ppapi'])
116 116
117 # The common dependencies of vim and nano should only appear once in this 117 # The common dependencies of vim and nano should only appear once in this
118 # list. 118 # list.
119 self.assertEqual( 119 self.assertEqual(
120 find_effected_packages(['ports/hello', 'ports/ruby'], True, None), 120 find_effected_packages(['ports/hello', 'ports/ruby'], True, None),
121 ['hello', 'corelibs', 'glibc-compat', 'ncurses', 'readline', 'zlib', 121 ['hello', 'corelibs', 'gtest', 'glibc-compat', 'ncurses', 'readline',
122 'ruby', 'libtar', 'nacl-spawn', 'ruby-ppapi']) 122 'zlib', 'ruby', 'libtar', 'nacl-spawn', 'ruby-ppapi'])
123 123
124 def test_filter(self): 124 def test_filter(self):
125 effected = find_effected_packages(['ports/corelibs'], True, 125 effected = find_effected_packages(['ports/corelibs'], True,
126 ['corelibs', 'glibc-compat']) 126 ['corelibs', 'glibc-compat'])
127 self.assertEqual(effected, ['corelibs', 'glibc-compat']) 127 self.assertEqual(effected, ['corelibs', 'glibc-compat'])
OLDNEW
« no previous file with comments | « build_tools/partition6.txt ('k') | ports/corelibs/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698