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 727f8d5..00d559a 100644
--- a/scripts/mbedtls_dev/test_generation.py
+++ b/scripts/mbedtls_dev/test_generation.py
@@ -41,6 +41,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.
@@ -50,6 +51,7 @@
"""
count = 0
case_description = ""
+ dependencies: List[str] = []
target_basename = ""
test_function = ""
test_name = ""
@@ -93,6 +95,7 @@
tc.set_description(self.description())
tc.set_function(self.test_function)
tc.set_arguments(self.arguments())
+ tc.set_dependencies(self.dependencies)
return tc