in deviceManager.py, we should check the results directory for an existing test name, if it exists we should not run the test and kick back an error to the console.
Correct me if I am wrong, but the results directory is not set in the deviceManager.py, but in the startDevice.bat.
deviceManager.py passes information that may be able to be used, but the batch script holds the values for the directory in question.
I can add that feature to the batch script easy enough.
updated the startDevice.bat script to check for the existing test name and if it's there, return an error to the console.
Added a quick check in the SubmitTest.bat file
my check did not work :-(
now it does!
I'm doing something wrong
The python will not run if a duplicate directory exists.
Log in to post a comment.
Correct me if I am wrong, but the results directory is not set in the deviceManager.py, but in the startDevice.bat.
deviceManager.py passes information that may be able to be used, but the batch script holds the values for the directory in question.
I can add that feature to the batch script easy enough.
updated the startDevice.bat script to check for the existing test name and if it's there, return an error to the console.
Added a quick check in the SubmitTest.bat file
my check did not work :-(
now it does!
I'm doing something wrong
The python will not run if a duplicate directory exists.