#!/usr/bin/env bashmkdir cmake-build-release-address-sanitizercd cmake-build-release-address-sanitizercmake .. -DCMAKE_BUILD_TYPE=RELEASE -DTHREAD_SANITIZER=OFF -DADDRESS_SANITIZER=ONmake# run the actual tests with sanitizer enabled, reporting the resultASAN_OPTIONS="detect_stack_use_after_return=1 detect_leaks=1" ./bin/testsSTATUS_CODE=$?exit$STATUS_CODE