@@ -183,6 +183,9 @@ check-ref: cleantestlibs cleantmptestlogs check-stage2-rpass \
183
183
check-docs : cleantestlibs cleantmptestlogs check-stage2-docs
184
184
$(Q )$(CFG_PYTHON ) $(S ) src/etc/check-summary.py tmp/* .log
185
185
186
+ # NOTE: Remove after reprogramming windows bots
187
+ check-fast : check-lite
188
+
186
189
.PHONY : cleantmptestlogs cleantestlibs
187
190
188
191
cleantmptestlogs :
@@ -875,69 +878,9 @@ $(foreach crate,$(TEST_CRATES), \
875
878
$(eval $(call DEF_CHECK_CRATE,$(crate))))
876
879
877
880
# #####################################################################
878
- # check-fast rules
881
+ # RMAKE rules
879
882
# #####################################################################
880
883
881
- FT := run_pass_stage2
882
- FT_LIB := $(call CFG_LIB_NAME_$(CFG_BUILD ) ,$(FT ) )
883
- FT_DRIVER := $(FT ) _driver
884
-
885
- GENERATED += tmp/$(FT ) .rc tmp/$(FT_DRIVER ) .rs
886
-
887
- tmp/$(FT ) .rc tmp/$(FT_DRIVER ) .rs : \
888
- $(RPASS_TESTS ) \
889
- $(S ) src/etc/combine-tests.py
890
- @$(call E, check: building combined stage2 test runner)
891
- $(Q )$(CFG_PYTHON ) $(S ) src/etc/combine-tests.py
892
-
893
- define DEF_CHECK_FAST_FOR_T_H
894
- # $(1) unused
895
- # $(2) target triple
896
- # $(3) host triple
897
-
898
- $$(TLIB2_T_$(2 ) _H_$(3 ) ) /$$(FT_LIB ) : \
899
- tmp/$$(FT ) .rc \
900
- $$(SREQ2_T_$(2 ) _H_$(3 ) )
901
- @$$(call E, oxidize: $$@ )
902
- $$(STAGE2_T_$(2 ) _H_$(3 ) ) --crate-type=dylib --out-dir $$(@D ) $$< \
903
- -L "$$(RT_OUTPUT_DIR_$(2 ) ) "
904
-
905
- $(3 ) /test/$$(FT_DRIVER ) -$(2 )$$(X_$(2 ) ) : \
906
- tmp/$$(FT_DRIVER ) .rs \
907
- $$(TLIB2_T_$(2 ) _H_$(3 ) ) /$$(FT_LIB ) \
908
- $$(SREQ2_T_$(2 ) _H_$(3 ) )
909
- @$$(call E, oxidize: $$@ $$< )
910
- $$(STAGE2_T_$(2 ) _H_$(3 ) ) -o $$@ $$< \
911
- -L "$$(RT_OUTPUT_DIR_$(2 ) ) "
912
-
913
- $(3 ) /test/$$(FT_DRIVER ) -$(2 ) .out: \
914
- $(3 ) /test/$$(FT_DRIVER ) -$(2 )$$(X_$(2 ) ) \
915
- $$(SREQ2_T_$(2 ) _H_$(3 ) )
916
- $$(Q )$$(call CFG_RUN_TEST_$(2 ) ,$$< ,$(2 ) ,$(3 ) ) \
917
- --logfile tmp/$$(FT_DRIVER ) -$(2 ) .log
918
-
919
- check-fast-T-$(2 ) -H-$(3 ) : \
920
- $(3 ) /test/$$(FT_DRIVER ) -$(2 ) .out
921
-
922
- endef
923
-
924
- $(foreach host,$(CFG_HOST), \
925
- $(eval $(foreach target,$(CFG_TARGET), \
926
- $(eval $(call DEF_CHECK_FAST_FOR_T_H,,$(target),$(host))))))
927
-
928
- check-fast : tidy check-fast-H-$(CFG_BUILD ) \
929
- $(foreach crate,$(TARGET_CRATES ) ,check-stage2-$(crate ) )
930
- $(Q )$(CFG_PYTHON ) $(S ) src/etc/check-summary.py tmp/* .log
931
-
932
- define DEF_CHECK_FAST_FOR_H
933
-
934
- check-fast-H-$(1 ) : check-fast-T-$(1 ) -H-$(1 )
935
-
936
- endef
937
-
938
- $(foreach host,$(CFG_HOST), \
939
- $(eval $(call DEF_CHECK_FAST_FOR_H,$(host))))
940
-
941
884
RMAKE_TESTS := $(shell ls -d $(S ) src/test/run-make/* /)
942
885
RMAKE_TESTS := $(RMAKE_TESTS:$(S ) src/test/run-make/%/=% )
943
886
0 commit comments