X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=mk%2Ftests.mk;h=e0984cfe86f077084f49b5c011df10d4c311afd1;hb=d2e13e822a73e0ea46ae9e21afdd3155fc997f6d;hp=28837e05195fdedcc1eb47d4a74d5842c8b74698;hpb=542d56ea91f403c5d7eb9511848509e5ddb8e05e;p=rust.git diff --git a/mk/tests.mk b/mk/tests.mk index 28837e05195..e0984cfe86f 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -22,7 +22,8 @@ $(eval $(call RUST_CRATE,coretest)) DEPS_collectionstest := $(eval $(call RUST_CRATE,collectionstest)) -TEST_TARGET_CRATES = $(filter-out core rustc_unicode,$(TARGET_CRATES)) \ +TEST_TARGET_CRATES = $(filter-out core rustc_unicode alloc_system \ + alloc_jemalloc,$(TARGET_CRATES)) \ collectionstest coretest TEST_DOC_CRATES = $(DOC_CRATES) TEST_HOST_CRATES = $(filter-out rustc_typeck rustc_borrowck rustc_resolve \ @@ -268,9 +269,10 @@ tidy-basic: .PHONY: tidy-binaries tidy-binaries: @$(call E, check: binaries) - $(Q)find $(S)src -type f -perm +a+x \ + $(Q)find $(S)src -type f \ + \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \ -not -name '*.rs' -and -not -name '*.py' \ - -and -not -name '*.sh' \ + -and -not -name '*.sh' -and -not -name '*.pp' \ | grep '^$(S)src/jemalloc' -v \ | grep '^$(S)src/libuv' -v \ | grep '^$(S)src/llvm' -v \ @@ -597,6 +599,10 @@ CTEST_DISABLE_debuginfo-gdb = CTEST_DISABLE_debuginfo-lldb = "lldb tests are disabled on android" endif +ifeq ($(findstring msvc,$(CFG_TARGET)),msvc) +CTEST_DISABLE_debuginfo-gdb = "gdb tests are disabled on MSVC" +endif + # CTEST_DISABLE_NONSELFHOST_$(TEST_GROUP), if set, will cause that # test group to be disabled *unless* the target is able to build a # compiler (i.e. when the target triple is in the set of of host @@ -1050,7 +1056,8 @@ $(3)/test/run-make/%-$(1)-T-$(2)-H-$(3).ok: \ $$(MAKE) \ $$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) \ $(3)/test/run-make/$$* \ - "$$(CC_$(3)) $$(CFG_GCCISH_CFLAGS_$(3))" \ + $$(CC_$(3)) \ + "$$(CFG_GCCISH_CFLAGS_$(3))" \ $$(HBIN$(1)_H_$(3))/rustdoc$$(X_$(3)) \ "$$(TESTNAME)" \ $$(LD_LIBRARY_PATH_ENV_NAME$(1)_T_$(2)_H_$(3)) \