Alexander Afanasyev | bc98fcf | 2014-08-16 23:18:50 -0700 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | set -x |
Vince Lehman | 0a7da61 | 2014-10-29 14:39:29 -0500 | [diff] [blame] | 3 | set -e |
Alexander Afanasyev | bc98fcf | 2014-08-16 23:18:50 -0700 | [diff] [blame] | 4 | |
Vince Lehman | b45eed2 | 2015-01-13 14:58:07 -0600 | [diff] [blame] | 5 | rm -Rf ~/.ndn |
| 6 | |
Davide Pesavento | c58cc7f | 2017-08-08 16:51:28 -0500 | [diff] [blame] | 7 | ASAN_OPTIONS="color=always" |
| 8 | ASAN_OPTIONS+=":detect_stack_use_after_return=true" |
| 9 | ASAN_OPTIONS+=":check_initialization_order=true" |
| 10 | ASAN_OPTIONS+=":strict_init_order=true" |
| 11 | ASAN_OPTIONS+=":detect_invalid_pointer_pairs=1" |
| 12 | ASAN_OPTIONS+=":detect_container_overflow=false" |
| 13 | ASAN_OPTIONS+=":strict_string_checks=true" |
| 14 | ASAN_OPTIONS+=":strip_path_prefix=${PWD}/" |
| 15 | export ASAN_OPTIONS |
| 16 | |
Alexander Afanasyev | bc98fcf | 2014-08-16 23:18:50 -0700 | [diff] [blame] | 17 | ./build/unit-tests-nlsr -l test_suite |