#!/usr/bin/env bashmkdir cmake-build-release-thread-sunitizercd cmake-build-releasecmake .. -DCMAKE_BUILD_TYPE=RELEASE -DTHREAD_SANITIZER=ONmake# run the actual tests with sanitizer enabled, reporting the resultTSAN_OPTIONS="log_path=sanitizer.log exitcode=1" ./bin/tests