Skip to content

Commit c0d90b3

Browse files
committed
removing parallel report note: parallel reporting is supported
1 parent 4dc6183 commit c0d90b3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mcoq.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def check_args():
103103
parser.add_argument('--rdir', help= 'rdir for coq. Colon separated list that becomes coq rflags. For example .,StructTact:.,fcsl becomes --rflag .,StructTact --rflag .,fcsl', default="")
104104
parser.add_argument('--qdir', help='qdir for coq. Colon separated list that becomes coq flags. For example .,StructTact:.,fcsl becomes --flag .,StructTact --flag .,fcsl', default="" )
105105
parser.add_argument('--skipeq', help='skip equivelant mutants', default=False, action='store_true' )
106-
parser.add_argument('--threads', help='number of threads to run with mCoq. NOTE: if you are multithreading mcoq, reporting will not work', default='')
106+
parser.add_argument('--threads', help='number of threads to run with mCoq.', default='')
107107
parser.add_argument('--dry', help='immediately return command to run java MCoq tool', default=False, action='store_true' )
108108
parser.add_argument('--mutator', help='which mode of mCoq we are running in', default="", choices={"MutatorOneFileVO", "MutatorOneFileVOOptOrder", "MutatorOneFileVOSkip", "MutatorOneFileVONoLeaves", "MutatorOneFileVOParCheck", "MutatorOneFileVOParMutant"} )
109109
parser.add_argument('--mutations', help='list of mutations to run separated by ,', default="" )
@@ -115,6 +115,9 @@ def check_args():
115115
except:
116116
print("ERROR: Missing required arguments. Please ensure you have passed correct arguments. List of required args shown above.")
117117
return False
118+
119+
if args.mutator == "" and args.threads != "" and args.threads != "1":
120+
args.mutator = "MutatorOneFileVOParMutant"
118121

119122
if args.qdir == "" and args.rdir == "":
120123
print("ERROR: Missing required arguments qdir/rdir. You need to specify one of these two arguments.")

0 commit comments

Comments
 (0)