fixed continuous testing

This commit is contained in:
Sean-M 2013-02-20 17:59:56 -05:00
parent 0a84f38902
commit b246e116f2

View File

@ -389,22 +389,19 @@ def run_config_test(config_file):
value = element.getAttribute("value").encode().decode("utf-8") value = element.getAttribute("value").encode().decode("utf-8")
counts[value] = 0 counts[value] = 0
#Begin infiniloop #Begin infiniloop
if(True): if(newDay()):
global daycount global daycount
global nxtproc global nxtproc
if (daycount==1):
print("starting process")
pid = subprocess.Popen(nxtproc,
stdout=subprocess.PIPE).pid
sys.exit()
else:
daycount = 1
setDay() setDay()
gitPull("sleuthkit") gitPull("sleuthkit")
vsBuild() vsBuild()
gitPull("autopsy") gitPull("autopsy")
antBuild("datamodel", False) antBuild("datamodel", False)
antBuild("autopsy", True) antBuild("autopsy", True)
print("starting process")
pid = subprocess.Popen(nxtproc,
stdout=subprocess.PIPE)
sys.exit()
else: else:
for img in values: for img in values:
if file_exists(img): if file_exists(img):
@ -1664,7 +1661,6 @@ def main():
errorem = "The test standard didn't match the gold standard.\n" errorem = "The test standard didn't match the gold standard.\n"
case = TestAutopsy() case = TestAutopsy()
database = Database() database = Database()
printout("") printout("")
args = Args() args = Args()
attachl = [] attachl = []