mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Slight change to regression-wally.py comments
This commit is contained in:
parent
43d23e3d9b
commit
2c4eda2ba3
@ -4,7 +4,7 @@
|
|||||||
# regression-wally.py
|
# regression-wally.py
|
||||||
# David_Harris@Hmc.edu 25 January 2021
|
# David_Harris@Hmc.edu 25 January 2021
|
||||||
#
|
#
|
||||||
# Run a regression with multiple configurations and report any errors.
|
# Run a regression with multiple configurations in parallel and exit with non-zero status if an error happened
|
||||||
#
|
#
|
||||||
##################################
|
##################################
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ def test_config(config, print_res=True):
|
|||||||
if print_res:print(logname+": failures detected")
|
if print_res:print(logname+": failures detected")
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
# Run the tests and count the failures
|
||||||
pool = multiprocessing.Pool(min(len(confignames), 12))
|
pool = multiprocessing.Pool(min(len(confignames), 12))
|
||||||
fail = sum(pool.map(test_config, confignames))
|
fail = sum(pool.map(test_config, confignames))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user