mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-29 03:32:49 +00:00
16 lines
392 B
Bash
Executable File
16 lines
392 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
DIR=`dirname $0`
|
|
BTSTACK_ROOT="/Projects/btstack/"
|
|
|
|
# build image if it doesn't exist
|
|
if [[ "$(docker images -q fuzz 2> /dev/null)" == "" ]]; then
|
|
echo "Image for libfuzz does not exist, creating it now..."
|
|
docker image build --no-cache -t fuzz .
|
|
fi
|
|
|
|
# enter fuzz container and bring repo along
|
|
docker run --rm -ti -v $BTSTACK_ROOT:/btstack -w /btstack/test/fuzz fuzz
|
|
|