Split command into an engine path and an engine name to resolve issues with finding the binary

This commit is contained in:
AndyGrant committed 2020-04-16 06:01:15 -04:00
1 parent 0d4827bdd9
commit 4c4a3a198b
1 file changed
+2 -2
+2 -2
View File
@@ -197,13 +197,13 @@ def getCutechessCommand(arguments, data, nps):
)
# Options for the Dev Engine
devflags = '-engine cmd=./Engines/{0} proto={1} tc={2}{3} name={4}'.format(
devflags = '-engine dir=Engines/ cmd=./{0} proto={1} tc={2}{3} name={4}'.format(
data['test']['dev']['sha'], data['test']['dev']['protocol'], timecontrol,
devoptions, '{0}-{1}'.format(data['test']['engine'], data['test']['dev']['sha'][:8])
)
# Options for the Base Engine
baseflags = '-engine cmd=./Engines/{0} proto={1} tc={2}{3} name={4}'.format(
baseflags = '-engine dir=Engines/ cmd=./{0} proto={1} tc={2}{3} name={4}'.format(
data['test']['base']['sha'], data['test']['base']['protocol'], timecontrol,
baseoptions, '{0}-{1}'.format(data['test']['engine'], data['test']['base']['sha'][:8])
)