mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Merge pull request #1116 from jordancarlin/dev
Reset code coverage when running regression
This commit is contained in:
commit
6a290a4297
@ -519,7 +519,7 @@ def main():
|
|||||||
pass
|
pass
|
||||||
if args.ccov:
|
if args.ccov:
|
||||||
TIMEOUT_DUR = 20*60 # seconds
|
TIMEOUT_DUR = 20*60 # seconds
|
||||||
os.system('rm -f questa/cov/*.ucdb')
|
os.system('rm -f questa/ucdb/* questa/cov/*')
|
||||||
elif args.fcov:
|
elif args.fcov:
|
||||||
TIMEOUT_DUR = 8*60
|
TIMEOUT_DUR = 8*60
|
||||||
os.system('rm -f questa/fcov_ucdb/* questa/fcov_logs/* questa/fcov/*')
|
os.system('rm -f questa/fcov_ucdb/* questa/fcov_logs/* questa/fcov/*')
|
||||||
@ -536,7 +536,7 @@ def main():
|
|||||||
# max out at a limited number of concurrent processes to not overwhelm the system
|
# max out at a limited number of concurrent processes to not overwhelm the system
|
||||||
# right now fcov, ccov, nightly all use Imperas
|
# right now fcov, ccov, nightly all use Imperas
|
||||||
if (args.ccov or args.fcov or args.nightly):
|
if (args.ccov or args.fcov or args.nightly):
|
||||||
ImperasDVLicenseCount = 8 # limit number of concurrent processes to avoid overloading ImperasDV licenses
|
ImperasDVLicenseCount = 16 # limit number of concurrent processes to avoid overloading ImperasDV licenses
|
||||||
else:
|
else:
|
||||||
ImperasDVLicenseCount = 10000 # effectively no license limit for non-lockstep tests
|
ImperasDVLicenseCount = 10000 # effectively no license limit for non-lockstep tests
|
||||||
with Pool(processes=min(len(configs),multiprocessing.cpu_count(), ImperasDVLicenseCount)) as pool:
|
with Pool(processes=min(len(configs),multiprocessing.cpu_count(), ImperasDVLicenseCount)) as pool:
|
||||||
|
Loading…
Reference in New Issue
Block a user