Added switch profile command option
Added --profile command line argument. If present, it must specify
a python file which is imported. Currently the only profile related
code is a variable called skip_test_list which gives a list of tests
that should _not_ be run for the platform. Only the test names
are currently checked; test-module checking is not checked.
A sample profile file is also included.
diff --git a/tests/profile.py b/tests/profile.py
new file mode 100644
index 0000000..938a6f2
--- /dev/null
+++ b/tests/profile.py
@@ -0,0 +1,36 @@
+"""
+Sample profile
+
+A profile determines run specific behavior. It is meant to capture
+variations between different switch targets.
+
+A profile defines two target specific variables.
+
+1. A set of tests to skip
+
+TO BE IMPLEMENTED:
+
+2. A set of tests to run (overriding the default "skip" priority)
+optionally specifying a test parameters specific to the test run
+
+This file should be imported "as profile" so references to the
+module will properly map.
+
+@todo Allow a test to be run multiple times with different params
+"""
+
+#@var skip_test_list The list of tests to skip for this run
+skip_test_list = []
+
+# TO BE IMPLEMENTED
+# A list of test cases with parameters(?)
+# TBD
+#@var run_test_list List of tests to run which would normally be skipped
+run_test_list = dict(
+ # Example
+ # SomeTestCase = [dict(<params1>), dict(<params2>),...],
+)
+
+# for test_dict in profile.run_test_list:
+# for test_name, test_params in test_dict.items():
+# ...