mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
3827: Update regression.py to take care of the new platform structure.
This commit is contained in:
parent
60a679a813
commit
c32b4f5dc0
@ -468,9 +468,11 @@ class TestRunner(object):
|
|||||||
|
|
||||||
# if need autopsyPlatform setup
|
# if need autopsyPlatform setup
|
||||||
if len(test_data.main_config.autopsyPlatform) > 0:
|
if len(test_data.main_config.autopsyPlatform) > 0:
|
||||||
test_data.ant.append("-Dnbplatform.Autopsy_" + autopsyVersion + ".netbeans.dest.dir=" + test_data.main_config.autopsyPlatform)
|
platformPath = os.path.join(test_data.main_config.autopsyPlatform, "autopsy-" + autopsyVersion)
|
||||||
test_data.ant.append("-Dnbplatform.default.harness.dir=" + test_data.main_config.autopsyPlatform + "/harness")
|
harnessDir = os.path.join(platformPath, "harness")
|
||||||
test_data.ant.append("-Dnbplatform.Autopsy_" + autopsyVersion + ".harness.dir=" + test_data.main_config.autopsyPlatform + "/harness")
|
test_data.ant.append("-Dnbplatform.Autopsy_" + autopsyVersion + ".netbeans.dest.dir=" + platformPath)
|
||||||
|
test_data.ant.append("-Dnbplatform.default.harness.dir=" + harnessDir)
|
||||||
|
test_data.ant.append("-Dnbplatform.Autopsy_" + autopsyVersion + ".harness.dir=" + harnessDir)
|
||||||
|
|
||||||
Errors.print_out("Ingesting Image:\n" + test_data.image_file + "\n")
|
Errors.print_out("Ingesting Image:\n" + test_data.image_file + "\n")
|
||||||
Errors.print_out("CMD: " + " ".join(test_data.ant))
|
Errors.print_out("CMD: " + " ".join(test_data.ant))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user