feat(hftest): macro to declare a long running test with precondition
This patch provides a macro to declare a long running test with a
precondition function.
One of the existing test, disallow_migration_blocked_sp, needs longer
time to run on some aarch64 developer machines as it has explicit
wait time to allow for call chain to be established on boot CPU.
Hence, this test now leverages the newly introduced test macro. Also,
the timeout for long running tests has been increased to 100s.
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: I93e536b95601adb4a342207046d2242fe7cd7395
diff --git a/test/hftest/hftest.py b/test/hftest/hftest.py
index cf24a94..dac74e1 100755
--- a/test/hftest/hftest.py
+++ b/test/hftest/hftest.py
@@ -345,7 +345,7 @@
debug = False, show_output = False):
"""Generate command line arguments for FVP."""
show_output = debug or show_output
- time_limit = "80s" if is_long_running else "40s"
+ time_limit = "100s" if is_long_running else "40s"
fvp_args = []
if not show_output: