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: |
|
run: |
|
||||||
sh autogen.sh
|
sh autogen.sh
|
||||||
./configure ${{ matrix.configure }}
|
./configure ${{ matrix.configure }}
|
||||||
export ASAN_OPTIONS="abort_on_error=1:detect_leaks=0"
|
|
||||||
${{ matrix.make }} -j"$(getconf _NPROCESSORS_ONLN)"
|
${{ matrix.make }} -j"$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
cd regress
|
cd regress
|
||||||
|
export ASAN_OPTIONS="abort_on_error=1:detect_leaks=0"
|
||||||
${{ matrix.make }}
|
${{ matrix.make }}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ all:
|
|||||||
for test in $(TESTS); do \
|
for test in $(TESTS); do \
|
||||||
printf '%-40s ' "$$test"; \
|
printf '%-40s ' "$$test"; \
|
||||||
start=$$(date +%s); \
|
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); \
|
end=$$(date +%s); \
|
||||||
echo "PASS ($$((end - start))s)"; \
|
echo "PASS ($$((end - start))s)"; \
|
||||||
else \
|
else \
|
||||||
|
|||||||
Reference in New Issue
Block a user