fix(hftest): logs from different setups would override
The logs from different setups targetting "hypervisor_and_spmc"
subfolder would override them selves, as they are likely
to run the same tests.
So far hftest was only using test suite and test name
to differentiate the tests.
Signed-off-by: J-Alves <joao.alves@arm.com>
Change-Id: I4e6156060462f1c62c9fdc2002064495e13025d3
diff --git a/test/hftest/hftest.py b/test/hftest/hftest.py
index dbeaed9..a790fad 100755
--- a/test/hftest/hftest.py
+++ b/test/hftest/hftest.py
@@ -1031,7 +1031,7 @@
vm_args = args.vm_args or ""
partitions = None
- global_run_name = None
+ global_run_name = "arch"
if args.driver == "fvp":
if args.partitions_json is not None:
partitions_dir = os.path.join(
@@ -1045,7 +1045,7 @@
global_run_name = os.path.basename(args.hypervisor).split(".")[0]
# Create class which will manage all test artifacts.
- log_dir = os.path.join(args.log, test_set_up)
+ log_dir = os.path.join(os.path.join(args.log, test_set_up), global_run_name)
artifacts = ArtifactsManager(log_dir)
# Create a driver for the platform we want to test on.