+11
−2
Loading
To get the list of not-built files, we used to concatenate the list of files expected to be built and a specific chunk of the `make` output, then we cut out any repeated lines. Selecting that specific chunk of make output used to rely on 'Leaving directory' string from make, which apparently doesn't appear under certain circumstances, causing the build to fail with false-positives. Rewrite this code not to rely (this much) on make output: 1. get the list of files expected to be built 2. get the list of all built files 3. check if any file from #1 is not in #2 ^ comm utility does exactly that Change-Id: I6c6c1267c738f23d6804fe5c108cd80141329d10 Signed-off-by:Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/550 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>