Revision 2cdfb123 tests/Makefile

b/tests/Makefile
196 196
	@echo " make check-qapi-schema    Run QAPI schema tests"
197 197
	@echo " make check-block          Run block tests"
198 198
	@echo " make check-report.html    Generates an HTML test report"
199
	@echo " make check-clean          Clean the tests"
199 200
	@echo
200 201
	@echo "Please note that HTML reports do not regenerate if the unit tests"
201 202
	@echo "has not changed."
......
270 271

  
271 272
# Consolidated targets
272 273

  
273
.PHONY: check-qapi-schema check-qtest check-unit check
274
.PHONY: check-qapi-schema check-qtest check-unit check check-clean
274 275
check-qapi-schema: $(patsubst %,check-%, $(check-qapi-schema-y))
275 276
check-qtest: $(patsubst %,check-qtest-%, $(QTEST_TARGETS))
276 277
check-unit: $(patsubst %,check-%, $(check-unit-y))
277 278
check-block: $(patsubst %,check-%, $(check-block-y))
278 279
check: check-qapi-schema check-unit check-qtest
280
check-clean:
281
	$(MAKE) -C tests/tcg clean
282
	rm -rf $(check-unit-y) $(check-qtest-i386-y) $(check-qtest-x86_64-y) $(check-qtest-sparc64-y) $(check-qtest-sparc-y) tests/*.o $(QEMU_IOTESTS_HELPERS-y)
283

  
284
clean: check-clean
279 285

  
280 286
# Build the help program automatically
281 287

  

Also available in: Unified diff