mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-13 18:01:50 +00:00
Set RUST_BACKTRACE=1 everywhere
This commit is contained in:
parent
666f0397d5
commit
8e396fda05
6
debian/rules
vendored
6
debian/rules
vendored
@ -46,7 +46,7 @@ DEB_CONFIGURE_FLAGS = --enable-llvm-link-shared --disable-dist-src --prefix=/usr
|
||||
LLVM_VERSION = 4.0
|
||||
OLD_LLVM_VERSION = 3.9
|
||||
DEB_CONFIGURE_FLAGS += --llvm-root=/usr/lib/llvm-$(LLVM_VERSION)
|
||||
RUSTBUILD = ./x.py
|
||||
RUSTBUILD = RUST_BACKTRACE=1 ./x.py
|
||||
RUSTBUILD_FLAGS = --config debian/config.toml -v --on-fail env
|
||||
# To run a specific test, run something like:
|
||||
# $ debian/rules override_dh_auto_test-arch \
|
||||
@ -191,7 +191,7 @@ override_dh_auto_test-arch:
|
||||
test "$$(stat -c %s "$$x")" -lt 6000000; \
|
||||
done
|
||||
ifeq (, $(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
$(call RUN_TESTS,RUST_BACKTRACE=1 $(RUSTBUILD) test --no-fail-fast $(RUSTBUILD_FLAGS) $(RUSTBUILD_TEST_FLAGS))
|
||||
$(call RUN_TESTS,$(RUSTBUILD) test --no-fail-fast $(RUSTBUILD_FLAGS) $(RUSTBUILD_TEST_FLAGS))
|
||||
# don't continue if RUSTBUILD_TEST_FLAGS is non-empty
|
||||
test -z "$(RUSTBUILD_TEST_FLAGS)"
|
||||
endif
|
||||
@ -200,7 +200,7 @@ override_dh_auto_test-indep:
|
||||
ifneq (,$(BUILD_DOCS))
|
||||
ifeq (, $(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
# Run all rules that test the docs, i.e. in step.rs that depend on default:doc
|
||||
$(call RUN_TESTS,RUST_BACKTRACE=1 $(RUSTBUILD) test --no-fail-fast src/tools/linkchecker $(RUSTBUILD_FLAGS))
|
||||
$(call RUN_TESTS,$(RUSTBUILD) test --no-fail-fast src/tools/linkchecker $(RUSTBUILD_FLAGS))
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user