@@ -9,40 +9,18 @@ distro ?= redhat
99
1010GENERATOR_F =./systemd/cloud-init-generator
1111DS_IDENTIFY =./tools/ds-identify
12- BENCHMARK =./tools/benchmark.sh
1312
1413
1514all : check
1615
1716check : test
1817
19- style-check : lint
20-
21- lint :
22- @$(CWD ) /tools/run-lint
23-
2418unittest : clean_pyc
2519 $(PYTHON ) -m pytest -v tests/unittests cloudinit
2620
2721render-template :
2822 $(PYTHON ) ./tools/render-template --variant=$(VARIANT ) $(FILE ) $(subst .tmpl,,$(FILE ) )
2923
30- # from systemd-generator(7) regarding generators:
31- # "We do recommend C code however, since generators are executed
32- # synchronously and hence delay the entire boot if they are slow."
33- #
34- # Our generator is a shell script. Make it easy to measure the
35- # generator. This should be monitored for performance regressions
36- benchmark-generator : FILE=$(GENERATOR_F ) .tmpl
37- benchmark-generator : VARIANT="benchmark"
38- benchmark-generator : export ITER=$(NUM_ITER )
39- benchmark-generator : render-template
40- $(BENCHMARK ) $(GENERATOR_F )
41-
42- benchmark-ds-identify : export ITER=$(NUM_ITER )
43- benchmark-ds-identify :
44- $(BENCHMARK ) $(DS_IDENTIFY )
45-
4624ci-deps-ubuntu :
4725 @$(PYTHON ) $(CWD ) /tools/read-dependencies --distro ubuntu --test-distro
4826
@@ -103,13 +81,6 @@ deb-src:
10381doc :
10482 tox -e doc
10583
106- fmt :
107- tox -e do_format && tox -e check_format
108-
109- fmt-tip :
110- tox -e do_format_tip && tox -e check_format_tip
111-
112-
113- .PHONY : all check test lint clean rpm srpm deb deb-src clean_pyc
114- .PHONY : unittest style-check render-template benchmark-generator
84+ .PHONY : all check test clean rpm srpm deb deb-src clean_pyc
85+ .PHONY : unittest render-template
11586.PHONY : clean_pytest clean_packaging clean_release doc
0 commit comments