Dan Talayco | d7c80d1 | 2012-04-03 15:20:57 -0700 | [diff] [blame] | 1 | """ |
| 2 | Sample profile |
| 3 | |
Rich Lane | 1673b8f | 2012-09-25 18:35:18 -0700 | [diff] [blame^] | 4 | A profile determines run specific behavior. It is meant to capture |
Dan Talayco | d7c80d1 | 2012-04-03 15:20:57 -0700 | [diff] [blame] | 5 | variations between different switch targets. |
| 6 | |
| 7 | A profile defines two target specific variables. |
| 8 | |
| 9 | 1. A set of tests to skip |
| 10 | |
| 11 | TO BE IMPLEMENTED: |
| 12 | |
| 13 | 2. A set of tests to run (overriding the default "skip" priority) |
| 14 | optionally specifying a test parameters specific to the test run |
| 15 | |
Dan Talayco | d7c80d1 | 2012-04-03 15:20:57 -0700 | [diff] [blame] | 16 | @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 |
| 20 | skip_test_list = [] |
| 21 | |
| 22 | # TO BE IMPLEMENTED |
| 23 | # A list of test cases with parameters(?) |
| 24 | # TBD |
| 25 | #@var run_test_list List of tests to run which would normally be skipped |
| 26 | run_test_list = dict( |
| 27 | # Example |
| 28 | # SomeTestCase = [dict(<params1>), dict(<params2>),...], |
| 29 | ) |
| 30 | |
| 31 | # for test_dict in profile.run_test_list: |
| 32 | # for test_name, test_params in test_dict.items(): |
| 33 | # ... |