blob: 0928119acf52f8dcf391b4a49baa5f94505ea9d4 [file] [log] [blame]
Dan Talaycod7c80d12012-04-03 15:20:57 -07001"""
2Sample profile
3
Rich Lane1673b8f2012-09-25 18:35:18 -07004A profile determines run specific behavior. It is meant to capture
Dan Talaycod7c80d12012-04-03 15:20:57 -07005variations between different switch targets.
6
7A profile defines two target specific variables.
8
91. A set of tests to skip
10
11TO BE IMPLEMENTED:
12
132. A set of tests to run (overriding the default "skip" priority)
14optionally specifying a test parameters specific to the test run
15
Dan Talaycod7c80d12012-04-03 15:20:57 -070016@todo Allow a test to be run multiple times with different params
17"""
18
19#@var skip_test_list The list of tests to skip for this run
20skip_test_list = []
21
Shudong Zhouc93b7d32012-11-26 17:55:36 -080022# A list of test cases
Dan Talaycod7c80d12012-04-03 15:20:57 -070023#@var run_test_list List of tests to run which would normally be skipped
Shudong Zhouc93b7d32012-11-26 17:55:36 -080024run_test_list = []
Dan Talaycod7c80d12012-04-03 15:20:57 -070025
Shudong Zhouc93b7d32012-11-26 17:55:36 -080026#
27# Ideally, we should allow parameters to be specified
28#
29# run_test_list = (
30# testcase = [dict(param1), dict(param2), ...],
31# )
32#
Dan Talaycod7c80d12012-04-03 15:20:57 -070033# for test_dict in profile.run_test_list:
34# for test_name, test_params in test_dict.items():
35# ...