mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +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:
|
||||
theproc = subprocess.Popen(case.ant, shell = True)
|
||||
theproc.communicate()
|
||||
antout.close()
|
||||
|
||||
# Returns the type of image file, based off extension
|
||||
class IMGTYPE:
|
||||
@ -1291,6 +1292,7 @@ def gitPull(TskOrAutopsy):
|
||||
else:
|
||||
ccwd = os.path.join("..", "..")
|
||||
subprocess.call(call, stdout=gpout, cwd=ccwd)
|
||||
gpout.close()
|
||||
|
||||
|
||||
#Builds TSK as a win32 applicatiion
|
||||
@ -1307,6 +1309,7 @@ def vsBuild():
|
||||
VSpth = make_local_path(case.output_dir, "VSOutput.txt")
|
||||
VSout = open(VSpth, 'a')
|
||||
subprocess.call(vs, stdout=VSout)
|
||||
VSout.close()
|
||||
chk = os.path.join("..", "..", "..","sleuthkit", "win32", "Release", "libtsk_jni.dll")
|
||||
try:
|
||||
open(chk)
|
||||
@ -1336,6 +1339,7 @@ def antBuild(which, Build):
|
||||
antpth = make_local_path(case.output_dir, "ant" + which + "Output.txt")
|
||||
antout = open(antpth, 'a')
|
||||
succd = subprocess.call(ant, stdout=antout)
|
||||
antout.close()
|
||||
if which == "datamodel":
|
||||
chk = os.path.join("..", "..", "..","sleuthkit", "bindings", "java", "dist", "TSK_DataModel.jar")
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user