Commit 5091cadc authored by Paul Luse's avatar Paul Luse Committed by Daniel Verkamp
Browse files

bsd: add check for coverage



Error if trying to build with coverage on FreeBSD, this
may be something we try to resolve later but is not a
priority right now so lets just avoid people running into
issues if they try.

Change-Id: Ie90cec38e8fee1e6cfb5ca5d2dbff8a68146569c
Signed-off-by: default avatarPaul Luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/365300


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
parent e6d5f6c4
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -167,6 +167,14 @@ if [ "$CONFIG_ASAN" = "y" -a "$CONFIG_TSAN" = "y" ]; then
	exit 1
fi

if [[ "$OSTYPE" == "FreeBSD"* ]]; then
        # FreeBSD doesn't support all configurations
        if [[ "$CONFIG_COVERAGE" == "y" ]]; then
                echo "ERROR: CONFIG_COVERAGE not available on FreeBSD"
                exit 1
        fi
fi

echo -n "Creating CONFIG.local..."

# Write the configuration file