Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / acceptance-tests / versions.mk
1 .PHONY: validate-versions reset-versions
2
3 SUBMODULES_CONFIG_FILE = $(top_srcdir)/acceptance-tests/SUBMODULES.json
4 include $(top_srcdir)/scripts/submodules/versions.mk
5
6 $(eval $(call ValidateVersionTemplate,benchmarker,BENCHMARKER))
7 $(eval $(call ValidateVersionTemplate,roslyn,ROSLYN))
8 $(eval $(call ValidateVersionTemplate,coreclr,CORECLR))
9 $(eval $(call ValidateVersionTemplate,ms-test-suite,MSTESTSUITE))
10
11 # Bump the given submodule to the revision given by the REV make variable
12 # If COMMIT is 1, commit the change
13 bump-benchmarker: __bump-benchmarker
14 bump-roslyn: __bump-version-roslyn
15 bump-coreclr: __bump-version-coreclr
16 bump-ms-test-suite: __bump-version-ms-test-suite
17
18 # Bump the given submodule to the branch given by the BRANCH/REMOTE_BRANCH make variables
19 # If COMMIT is 1, commit the change
20 bump-branch-benchmarker: __bump-branch-benchmarker
21 bump-branch-roslyn: __bump-branch-roslyn
22 bump-branch-coreclr: __bump-branch-coreclr
23 bump-branch-ms-test-suite: __bump-branch-ms-test-suite
24
25 # Bump the given submodule to its current GIT version
26 # If COMMIT is 1, commit the change
27 bump-current-benchmarker: __bump-current-benchmarker
28 bump-current-roslyn: __bump-current-version-roslyn
29 bump-current-coreclr: __bump-current-version-coreclr
30 bump-current-ms-test-suite: __bump-current-version-ms-test-suite
31
32 commit-bump-benchmarker:
33         $(MAKE) bump-benchmarker COMMIT=1
34
35 commit-bump-roslyn:
36         $(MAKE) bump-roslyn COMMIT=1
37
38 commit-bump-coreclr:
39         $(MAKE) bump-coreclr COMMIT=1
40
41 commit-bump-ms-test-suite:
42         $(MAKE) bump-ms-test-suite COMMIT=1
43
44 commit-bump-current-benchmarker:
45         $(MAKE) bump-current-benchmarker COMMIT=1
46
47 commit-bump-current-roslyn:
48         $(MAKE) bump-current-roslyn COMMIT=1
49
50 commit-bump-current-coreclr:
51         $(MAKE) bump-current-coreclr COMMIT=1
52
53 commit-bump-current-ms-test-suite:
54         $(MAKE) bump-current-ms-test-suite COMMIT=1