blob: 6be5a4aa5160b995d7c9c619e0a6573754b0432c [file] [log] [blame]
Alexander Afanasyevbc98fcf2014-08-16 23:18:50 -07001#!/usr/bin/env bash
2set -x
Vince Lehman0a7da612014-10-29 14:39:29 -05003set -e
Alexander Afanasyevbc98fcf2014-08-16 23:18:50 -07004
Vince Lehmanb45eed22015-01-13 14:58:07 -06005rm -Rf ~/.ndn
6
Davide Pesaventoc58cc7f2017-08-08 16:51:28 -05007ASAN_OPTIONS="color=always"
8ASAN_OPTIONS+=":detect_stack_use_after_return=true"
9ASAN_OPTIONS+=":check_initialization_order=true"
10ASAN_OPTIONS+=":strict_init_order=true"
11ASAN_OPTIONS+=":detect_invalid_pointer_pairs=1"
12ASAN_OPTIONS+=":detect_container_overflow=false"
13ASAN_OPTIONS+=":strict_string_checks=true"
14ASAN_OPTIONS+=":strip_path_prefix=${PWD}/"
15export ASAN_OPTIONS
16
Alexander Afanasyevbc98fcf2014-08-16 23:18:50 -070017./build/unit-tests-nlsr -l test_suite