Skip to content
Snippets Groups Projects
Commit 50d0a264 authored by Peter Scheibel's avatar Peter Scheibel
Browse files

Not all package stages have an archive file (e.g. source code repos) but all of

them do have a source_path: use this instead to check whether the package
resources were successfully retrieved.
parent 3b554c70
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,7 @@ def create_test_output(topSpec, newInstalls, output, getLogFunc=fetch_log):
depBID = BuildId(dep)
errOutput = "Skipped due to failed dependency: {0}".format(
depBID.stringId())
elif (not package.installed) and (not package.stage.archive_file):
elif (not package.installed) and (not package.stage.source_path):
result = TestResult.FAILED
errOutput = "Failure to fetch package resources."
elif not package.installed:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment