Do a dependency check on each binary produced
This commit is contained in:
parent
4c7053017e
commit
49f1b99e47
1 changed files with 2 additions and 1 deletions
|
|
@ -37,8 +37,9 @@ def doCheck(checkpathlist, build_variant = "") {
|
|||
if (build_variant) {
|
||||
def srcFile = "${WORKSPACE}/${checkpath}"
|
||||
def srcFileExpanded = srcFile.replace("-BUILDVARIANT-", "${build_variant}")
|
||||
// Print out dependencies of the built file
|
||||
echo "Showing dependencies of ${srcFileExpanded}"
|
||||
result = sh( script: """
|
||||
// Print out dependencies of the built file
|
||||
readelf -d "${srcFileExpanded}" | grep NEEDED
|
||||
if [ \$? -ne 0 ]; then exit 1; fi
|
||||
""",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue