@@ -47,14 +47,17 @@ help:
47
47
@echo " logs-join to join xdist log files into one"
48
48
@echo " logs-clean to delete all xdist log files in the root"
49
49
@echo " pyc-clean to delete all temporary artifacts"
50
+ @echo " uuid-check to check for duplicated @id: in testimony docstring tags"
51
+ @echo " uuid-replace-empty to replace empty @id: with new generated uuid"
52
+ @echo " uuid-replace-duplicate to replace duplicated @id: with new generated uuid"
50
53
51
54
docs :
52
55
@cd docs; $(MAKE ) html
53
56
54
57
docs-clean :
55
58
@cd docs; $(MAKE ) clean
56
59
57
- test-docstrings :
60
+ test-docstrings : uuid-check
58
61
testimony $(TESTIMONY_OPTIONS ) validate tests/foreman/api
59
62
testimony $(TESTIMONY_OPTIONS ) validate tests/foreman/cli
60
63
testimony $(TESTIMONY_OPTIONS ) validate tests/foreman/rhci
@@ -124,11 +127,21 @@ logs-join:
124
127
logs-clean :
125
128
-rm -f robottelo_gw* .log
126
129
130
+ uuid-check : # # list duplicated uuids
131
+ scripts/check_duplicate_uuids.sh
132
+
133
+ uuid-replace-duplicate : # # list duplicated uuids
134
+ scripts/replace_dup_uuids.sh
135
+
136
+ uuid-replace-empty : # # list duplicated uuids
137
+ scripts/replace_empty_uuids.sh
138
+
127
139
# Special Targets -------------------------------------------------------------
128
140
129
141
.PHONY : help docs docs-clean test-docstrings test-robottelo \
130
142
test-robottelo-coverage test-foreman-api test-foreman-cli \
131
143
test-foreman-rhai test-foreman-rhci test-foreman-tier1 \
132
144
test-foreman-tier2 test-foreman-tier3 test-foreman-tier4 \
133
145
test-foreman-ui test-foreman-ui-xvfb test-foreman-endtoend \
134
- graph-entities lint logs-join logs-clean pyc-clean
146
+ graph-entities lint logs-join logs-clean pyc-clean \
147
+ uuid-check uuid-replace-duplicate uuid-replace-empty
0 commit comments