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

Unified Diff: chromecast/build/tests/test_list.gypi

Issue 719353005: Chromecast: test support for builders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chromecast/chromecast.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/build/tests/test_list.gypi
diff --git a/chromecast/build/tests/test_list.gypi b/chromecast/build/tests/test_list.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..933738983881dfb12162a972e2ff2c4c07ac413a
--- /dev/null
+++ b/chromecast/build/tests/test_list.gypi
@@ -0,0 +1,54 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'variables': {
+ 'variables': {
+ # Note: priority can be set from 1 to 9 to indicate precedence for
+ # filters (larger overrides smaller).
+ 'priority%': 1,
+ 'test_output_folder': '<(SHARED_INTERMEDIATE_DIR)/chromecast/tests',
+ },
+ # Copy from previous level.
+ 'test_output_folder': '<(test_output_folder)',
+
+ 'test_output_file_prefix':
+ '<(test_output_folder)/<(priority)-<(_target_name)',
+ },
+ # Copy from previous level.
+ 'test_output_folder': '<(test_output_folder)',
+
+ 'test_filters_output_file': '<(test_output_file_prefix).filters',
+ 'test_generator_py': '<(DEPTH)/chromecast/tools/build/generate_test_lists.py',
+ 'test_list_output_file': '<(test_output_file_prefix).tests',
+ 'filters%': [],
+ },
+ 'actions': [
+ {
+ 'action_name': 'generate_test_list',
+ 'inputs': ['<(test_generator_py)'],
+ 'outputs': ['<(test_list_output_file)'],
+ 'message': 'Generating test list from <(_target_name)',
+ 'action': [
+ 'python', '<@(_inputs)',
+ '-o', '<(test_list_output_file)',
+ 'create_list',
+ '<@(_dependencies)'
+ ],
+ },
+ {
+ 'action_name': 'generate_filter_list',
+ 'inputs': ['<(test_generator_py)'],
+ 'outputs': ['<(test_filters_output_file)'],
+ 'message': 'Generating filter list from <(_target_name)',
+ 'action': [
+ 'python', '<@(_inputs)',
+ '-o', '<(test_filters_output_file)',
+ 'create_list',
+ '<@(filters)'
+ ],
+ },
+ ],
+}
« no previous file with comments | « no previous file | chromecast/chromecast.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698