This commit is contained in:
momo 2015-12-10 16:48:31 -05:00
parent c50ba07f25
commit 7b42caf6da
2 changed files with 1 additions and 9 deletions

View File

@ -774,7 +774,7 @@ class TestConfiguration(object):
# Sanity check to see if there are obvious gold images that we are not testing # Sanity check to see if there are obvious gold images that we are not testing
if not dir_exists(self.gold): if not dir_exists(self.gold):
Errors.print_error("Gold folder does not exists") Errors.print_error("Gold folder does not exist")
sys.exit(1) sys.exit(1)
gold_count = 0 gold_count = 0
for file in os.listdir(self.gold): for file in os.listdir(self.gold):

View File

@ -44,8 +44,6 @@ class TskDbDiff(object):
self.output_dir = output_dir self.output_dir = output_dir
self.gold_bb_dump = gold_bb_dump self.gold_bb_dump = gold_bb_dump
self.gold_dump = gold_dump self.gold_dump = gold_dump
self._generate_gold_dump = False
self._generate_gold_bb_dump = False
self._bb_dump_diff = "" self._bb_dump_diff = ""
self._dump_diff = "" self._dump_diff = ""
self._bb_dump = "" self._bb_dump = ""
@ -61,12 +59,6 @@ class TskDbDiff(object):
self._init_diff() self._init_diff()
# generate the gold database dumps if necessary
if self._generate_gold_dump:
TskDbDiff._dump_output_db_nonbb(self.gold_db_file, self.gold_dump)
if self._generate_gold_bb_dump:
TskDbDiff._dump_output_db_bb(self.gold_db_file, self.gold_bb_dump)
# generate the output database dumps (both DB and BB) # generate the output database dumps (both DB and BB)
TskDbDiff._dump_output_db_nonbb(self.output_db_file, self._dump) TskDbDiff._dump_output_db_nonbb(self.output_db_file, self._dump)
TskDbDiff._dump_output_db_bb(self.output_db_file, self._bb_dump) TskDbDiff._dump_output_db_bb(self.output_db_file, self._bb_dump)