Tests: Make GCOV_PREFIX path directories

This commit is contained in:
Wilson Snyder 2024-09-09 21:47:47 -04:00
parent e566b5a4f5
commit 283a5edbdb

View File

@ -1657,7 +1657,7 @@ class VlTest:
self.setenv('GCOV_PREFIX_STRIP', '99') self.setenv('GCOV_PREFIX_STRIP', '99')
self.setenv('GCOV_PREFIX', self.setenv('GCOV_PREFIX',
os.path.abspath(__file__ + "/../obj_dist/gcov_" + str(self.running_id))) os.path.abspath(__file__ + "/../obj_dist/gcov_" + str(self.running_id)))
VtOs.mkdir_ok(os.environ['GCOV_PREFIX']) os.makedirs(os.environ['GCOV_PREFIX'], exist_ok=True)
else: else:
VtOs.delenv('GCOV_PREFIX_STRIP') VtOs.delenv('GCOV_PREFIX_STRIP')
VtOs.delenv('GCOV_PREFIX') VtOs.delenv('GCOV_PREFIX')