From c80c35b4742003eab2752531b153e90c3c7843f7 Mon Sep 17 00:00:00 2001 From: anil Date: Sun, 23 Aug 2020 15:21:07 +0200 Subject: [PATCH] testing cr --- python/validateCodeFlaws.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/validateCodeFlaws.py b/python/validateCodeFlaws.py index ae35284..b15f1cf 100644 --- a/python/validateCodeFlaws.py +++ b/python/validateCodeFlaws.py @@ -62,7 +62,8 @@ def test_all(testerPath,validTests): out,e = shellGitCheckout(cmd) # out = client.containers.exec(container=container, command=cmd, context='/experiment/') - if 'Accepted' not in out or e != '': + # if 'Accepted' not in out or e != '': + if 'Accepted' not in out : failure += 1 failure_cases.append(test) # test_outcomes.append(out.output) @@ -178,7 +179,7 @@ def validate(): bugList.append(b) # results = parallelRunMerge(testCore, bugList,max_workers=10) - results = parallelRunMerge(validateCore, bugList) + results = parallelRunMerge(validateCore, bugList,max_workers=6) print('\n'.join(results)) with open(join(DATA_PATH, 'codeFlawsResults'), 'w', encoding='utf-8') as writeFile: