verify.py (12903:f81321fad993) verify.py (12937:e79dbd84705f)
1#!/usr/bin/env python2
2#
3# Copyright 2018 Google, Inc.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 202 unchanged lines hidden (view full) ---

211 test_data.iteritems() if eval(filt, dict(props))
212 }
213
214 if main_args.list:
215 for target, props in sorted(filtered_tests.iteritems()):
216 print('%s.%s' % (target, main_args.flavor))
217 for key, val in props.iteritems():
218 print(' %s: %s' % (key, val))
1#!/usr/bin/env python2
2#
3# Copyright 2018 Google, Inc.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 202 unchanged lines hidden (view full) ---

211 test_data.iteritems() if eval(filt, dict(props))
212 }
213
214 if main_args.list:
215 for target, props in sorted(filtered_tests.iteritems()):
216 print('%s.%s' % (target, main_args.flavor))
217 for key, val in props.iteritems():
218 print(' %s: %s' % (key, val))
219 print('Total tests: %d' % len(filtered_tests))
219 else:
220 tests_to_run = list([
221 Test(target, main_args.flavor, main_args.build_dir, props) for
222 target, props in sorted(filtered_tests.iteritems())
223 ])
224
225 for phase in phases:
226 phase.run(tests_to_run)
220 else:
221 tests_to_run = list([
222 Test(target, main_args.flavor, main_args.build_dir, props) for
223 target, props in sorted(filtered_tests.iteritems())
224 ])
225
226 for phase in phases:
227 phase.run(tests_to_run)