@@ -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 :
@@ -847,69 +850,9 @@ $(foreach crate,$(TEST_CRATES), \
847
850
$(eval $(call DEF_CHECK_CRATE,$(crate))))
848
851
849
852
# #####################################################################
850
- # check-fast rules
853
+ # RMAKE rules
851
854
# #####################################################################
852
855
853
- FT := run_pass_stage2
854
- FT_LIB := $(call CFG_LIB_NAME_$(CFG_BUILD ) ,$(FT ) )
855
- FT_DRIVER := $(FT ) _driver
856
-
857
- GENERATED += tmp/$(FT ) .rc tmp/$(FT_DRIVER ) .rs
858
-
859
- tmp/$(FT ) .rc tmp/$(FT_DRIVER ) .rs : \
860
- $(RPASS_TESTS ) \
861
- $(S ) src/etc/combine-tests.py
862
- @$(call E, check: building combined stage2 test runner)
863
- $(Q )$(CFG_PYTHON ) $(S ) src/etc/combine-tests.py
864
-
865
- define DEF_CHECK_FAST_FOR_T_H
866
- # $(1) unused
867
- # $(2) target triple
868
- # $(3) host triple
869
-
870
- $$(TLIB2_T_$(2 ) _H_$(3 ) ) /$$(FT_LIB ) : \
871
- tmp/$$(FT ) .rc \
872
- $$(SREQ2_T_$(2 ) _H_$(3 ) )
873
- @$$(call E, oxidize: $$@ )
874
- $$(STAGE2_T_$(2 ) _H_$(3 ) ) --crate-type=dylib --out-dir $$(@D ) $$< \
875
- -L "$$(RT_OUTPUT_DIR_$(2 ) ) "
876
-
877
- $(3 ) /test/$$(FT_DRIVER ) -$(2 )$$(X_$(2 ) ) : \
878
- tmp/$$(FT_DRIVER ) .rs \
879
- $$(TLIB2_T_$(2 ) _H_$(3 ) ) /$$(FT_LIB ) \
880
- $$(SREQ2_T_$(2 ) _H_$(3 ) )
881
- @$$(call E, oxidize: $$@ $$< )
882
- $$(STAGE2_T_$(2 ) _H_$(3 ) ) -o $$@ $$< \
883
- -L "$$(RT_OUTPUT_DIR_$(2 ) ) "
884
-
885
- $(3 ) /test/$$(FT_DRIVER ) -$(2 ) .out: \
886
- $(3 ) /test/$$(FT_DRIVER ) -$(2 )$$(X_$(2 ) ) \
887
- $$(SREQ2_T_$(2 ) _H_$(3 ) )
888
- $$(Q )$$(call CFG_RUN_TEST_$(2 ) ,$$< ,$(2 ) ,$(3 ) ) \
889
- --logfile tmp/$$(FT_DRIVER ) -$(2 ) .log
890
-
891
- check-fast-T-$(2 ) -H-$(3 ) : \
892
- $(3 ) /test/$$(FT_DRIVER ) -$(2 ) .out
893
-
894
- endef
895
-
896
- $(foreach host,$(CFG_HOST), \
897
- $(eval $(foreach target,$(CFG_TARGET), \
898
- $(eval $(call DEF_CHECK_FAST_FOR_T_H,,$(target),$(host))))))
899
-
900
- check-fast : tidy check-fast-H-$(CFG_BUILD ) \
901
- $(foreach crate,$(TARGET_CRATES ) ,check-stage2-$(crate ) )
902
- $(Q )$(CFG_PYTHON ) $(S ) src/etc/check-summary.py tmp/* .log
903
-
904
- define DEF_CHECK_FAST_FOR_H
905
-
906
- check-fast-H-$(1 ) : check-fast-T-$(1 ) -H-$(1 )
907
-
908
- endef
909
-
910
- $(foreach host,$(CFG_HOST), \
911
- $(eval $(call DEF_CHECK_FAST_FOR_H,$(host))))
912
-
913
856
RMAKE_TESTS := $(shell ls -d $(S ) src/test/run-make/* /)
914
857
RMAKE_TESTS := $(RMAKE_TESTS:$(S ) src/test/run-make/%/=% )
915
858
0 commit comments