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

Side by Side Diff: catapult_build/build_steps_unittest.py

Issue 2056863002: [catapult_build] Disable everything but devil tests on Android. (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: update test Created 4 years, 6 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 | « catapult_build/build_steps.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium 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 os 5 import os
6 import unittest 6 import unittest
7 7
8 from catapult_build import build_steps 8 from catapult_build import build_steps
9 9
10 10
(...skipping 19 matching lines...) Expand all
30 self.assertIsInstance(test['additional_args'], list, msg=( 30 self.assertIsInstance(test['additional_args'], list, msg=(
31 'additional_args %s in build_steps._CATAPULT_TESTS %s not a list' 31 'additional_args %s in build_steps._CATAPULT_TESTS %s not a list'
32 % (test['additional_args'], test['name']) 32 % (test['additional_args'], test['name'])
33 )) 33 ))
34 if test.get('disabled'): 34 if test.get('disabled'):
35 self.assertIsInstance(test['disabled'], list, msg=( 35 self.assertIsInstance(test['disabled'], list, msg=(
36 'disabled %s in build_steps._CATAPULT_TESTS for %s not a list' 36 'disabled %s in build_steps._CATAPULT_TESTS for %s not a list'
37 % (test['disabled'], test['name']) 37 % (test['disabled'], test['name'])
38 )) 38 ))
39 for platform in test['disabled']: 39 for platform in test['disabled']:
40 self.assertIn(platform, ['win', 'mac', 'linux'], msg=( 40 self.assertIn(platform, ['win', 'mac', 'linux', 'android'], msg=(
41 'Bad platform %s in build_steps._CATAPULT_TESTS for %s;' 41 'Bad platform %s in build_steps._CATAPULT_TESTS for %s;'
42 'should be one of "linux", "win", "mac"' % ( 42 'should be one of "linux", "win", "mac"' % (
43 platform, test['name']) 43 platform, test['name'])
44 )) 44 ))
OLDNEW
« no previous file with comments | « catapult_build/build_steps.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698