mirror of
https://github.com/tmux/tmux.git
synced 2026-07-03 10:22:29 +00:00
Put ASAN_OPTIONS in the right place.
This commit is contained in:
2
.github/workflows/regress.yml
vendored
2
.github/workflows/regress.yml
vendored
@@ -70,10 +70,10 @@ jobs:
|
||||
run: |
|
||||
sh autogen.sh
|
||||
./configure ${{ matrix.configure }}
|
||||
export ASAN_OPTIONS="abort_on_error=1:detect_leaks=0"
|
||||
${{ matrix.make }} -j"$(getconf _NPROCESSORS_ONLN)"
|
||||
|
||||
- name: test
|
||||
run: |
|
||||
cd regress
|
||||
export ASAN_OPTIONS="abort_on_error=1:detect_leaks=0"
|
||||
${{ matrix.make }}
|
||||
|
||||
@@ -8,7 +8,7 @@ all:
|
||||
for test in $(TESTS); do \
|
||||
printf '%-40s ' "$$test"; \
|
||||
start=$$(date +%s); \
|
||||
if sh "$$test" >/dev/null 2>&1; then \
|
||||
if env -i ASAN_OPTIONS="$$ASAN_OPTIONS" sh "$$test" >/dev/null 2>&1; then \
|
||||
end=$$(date +%s); \
|
||||
echo "PASS ($$((end - start))s)"; \
|
||||
else \
|
||||
|
||||
Reference in New Issue
Block a user