Skip to content

Commit

Permalink
Incorporating CR comments
Browse files Browse the repository at this point in the history
wrichert committed Mar 17, 2016
1 parent 1aadfa1 commit 1dcae06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/EndToEndTests/TestDriver.py
Original file line number Diff line number Diff line change
@@ -240,8 +240,6 @@ def runImpl(self, flavor, device, args):
os.environ["TEST_CNTK_BINARY"] = os.path.join(args.build_location, (flavor + "_CpuOnly"), "cntk.exe")
else:
os.environ["TEST_CNTK_BINARY"] = os.path.join(args.build_location, flavor, "cntk.exe")
if not os.path.exists(os.environ["TEST_CNTK_BINARY"]):
raise ValueError("the cntk executable does not does not exist at path '%s'"%os.environ["TEST_CNTK_BINARY"])
os.environ["MPI_BINARY"] = os.path.join(os.environ["MSMPI_BIN"], "mpiexec.exe")
else:
tempPath = os.path.join(args.build_location, args.build_sku, flavor, "bin", "cntk")
@@ -252,6 +250,8 @@ def runImpl(self, flavor, device, args):
break
os.environ["TEST_CNTK_BINARY"] = tempPath
os.environ["MPI_BINARY"] = "mpiexec"
if not os.path.exists(os.environ["TEST_CNTK_BINARY"]):
raise ValueError("the cntk executable does not exist at path '%s'"%os.environ["TEST_CNTK_BINARY"])
os.environ["TEST_DIR"] = self.testDir
os.environ["TEST_DATA_DIR"] = self.dataDir
os.environ["TEST_RUN_DIR"] = runDir

0 comments on commit 1dcae06

Please sign in to comment.