Add dependencies attribute to BaseTarget
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
diff --git a/scripts/mbedtls_dev/test_generation.py b/scripts/mbedtls_dev/test_generation.py
index e833008..9eaa7e2 100644
--- a/scripts/mbedtls_dev/test_generation.py
+++ b/scripts/mbedtls_dev/test_generation.py
@@ -42,6 +42,7 @@
count: Counter for test cases from this class.
case_description: Short description of the test case. This may be
automatically generated using the class, or manually set.
+ dependencies: A list of dependencies required for the test case.
target_basename: Basename of file to write generated tests to. This
should be specified in a child class of BaseTarget.
test_function: Test function which the class generates cases for.
@@ -51,6 +52,7 @@
"""
count = 0
case_description = ""
+ dependencies: List[str] = []
target_basename = ""
test_function = ""
test_name = ""
@@ -94,6 +96,7 @@
tc.set_description(self.description())
tc.set_function(self.test_function)
tc.set_arguments(self.arguments())
+ tc.set_dependencies(self.dependencies)
return tc