diff --git a/.circleci/config.yml b/.circleci/config.yml index cf467f6c4..f4ae12ffb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,7 +30,9 @@ defaults: command: scripts/tests.sh --junit_report test_results - run_regressions: &run_regressions name: Regression tests - command: scripts/regressions.py -o test_results + command: | + export ASAN_OPTIONS="check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2" + scripts/regressions.py -o test_results - solc_artifact: &solc_artifact path: build/solc/solc destination: solc @@ -357,7 +359,7 @@ jobs: ulimit -a # Increase stack size because ASan makes stack frames bigger and that breaks our assumptions (in tests). ulimit -s 16384 - export ASAN_OPTIONS="check_initialization_order=1:detect_stack_use_after_return=1:strict_init_order=1:strict_string_checks=1:detect_invalid_pointer_pairs=1" + export ASAN_OPTIONS="check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2" build/test/soltest --logger=JUNIT,test_suite,test_results/result.xml -- --no-ipc --testpath test - run: name: Run commandline tests with ASAN @@ -365,7 +367,7 @@ jobs: ulimit -a # Increase stack size because ASan makes stack frames bigger and that breaks our assumptions (in tests). ulimit -s 16384 - export ASAN_OPTIONS="check_initialization_order=1:detect_stack_use_after_return=1:strict_init_order=1:strict_string_checks=1:detect_invalid_pointer_pairs=1" + export ASAN_OPTIONS="check_initialization_order=true:detect_stack_use_after_return=true:strict_init_order=true:strict_string_checks=true:detect_invalid_pointer_pairs=2" test/cmdlineTests.sh - store_test_results: path: test_results/