mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-18 18:47:43 +00:00
fixes to regression tests
This commit is contained in:
parent
fb0d09e2bf
commit
21768acdad
@ -521,6 +521,7 @@ def run_ant():
|
|||||||
elif SYS is OS.WIN:
|
elif SYS is OS.WIN:
|
||||||
theproc = subprocess.Popen(case.ant, shell = True)
|
theproc = subprocess.Popen(case.ant, shell = True)
|
||||||
theproc.communicate()
|
theproc.communicate()
|
||||||
|
antout.close()
|
||||||
|
|
||||||
# Returns the type of image file, based off extension
|
# Returns the type of image file, based off extension
|
||||||
class IMGTYPE:
|
class IMGTYPE:
|
||||||
@ -1291,6 +1292,7 @@ def gitPull(TskOrAutopsy):
|
|||||||
else:
|
else:
|
||||||
ccwd = os.path.join("..", "..")
|
ccwd = os.path.join("..", "..")
|
||||||
subprocess.call(call, stdout=gpout, cwd=ccwd)
|
subprocess.call(call, stdout=gpout, cwd=ccwd)
|
||||||
|
gpout.close()
|
||||||
|
|
||||||
|
|
||||||
#Builds TSK as a win32 applicatiion
|
#Builds TSK as a win32 applicatiion
|
||||||
@ -1307,6 +1309,7 @@ def vsBuild():
|
|||||||
VSpth = make_local_path(case.output_dir, "VSOutput.txt")
|
VSpth = make_local_path(case.output_dir, "VSOutput.txt")
|
||||||
VSout = open(VSpth, 'a')
|
VSout = open(VSpth, 'a')
|
||||||
subprocess.call(vs, stdout=VSout)
|
subprocess.call(vs, stdout=VSout)
|
||||||
|
VSout.close()
|
||||||
chk = os.path.join("..", "..", "..","sleuthkit", "win32", "Release", "libtsk_jni.dll")
|
chk = os.path.join("..", "..", "..","sleuthkit", "win32", "Release", "libtsk_jni.dll")
|
||||||
try:
|
try:
|
||||||
open(chk)
|
open(chk)
|
||||||
@ -1336,6 +1339,7 @@ def antBuild(which, Build):
|
|||||||
antpth = make_local_path(case.output_dir, "ant" + which + "Output.txt")
|
antpth = make_local_path(case.output_dir, "ant" + which + "Output.txt")
|
||||||
antout = open(antpth, 'a')
|
antout = open(antpth, 'a')
|
||||||
succd = subprocess.call(ant, stdout=antout)
|
succd = subprocess.call(ant, stdout=antout)
|
||||||
|
antout.close()
|
||||||
if which == "datamodel":
|
if which == "datamodel":
|
||||||
chk = os.path.join("..", "..", "..","sleuthkit", "bindings", "java", "dist", "TSK_DataModel.jar")
|
chk = os.path.join("..", "..", "..","sleuthkit", "bindings", "java", "dist", "TSK_DataModel.jar")
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user