Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04465e7f authored by Adam Lesinski's avatar Adam Lesinski
Browse files

AAPT2: Introduce command to run unit tests

This command will execute the aapt2_tests with a parameter
to emit XML test results into the out/dist directory.

Test: manual
Change-Id: I10cf119bb47b7698ddd91b1adf7323e51d169970
parent 178e6783
Loading
Loading
Loading
Loading

tools/aapt2/Android.mk

0 → 100644
+7 −0
Original line number Diff line number Diff line
include $(CLEAR_VARS)

.PHONY: aapt2_run_host_unit_tests
aapt2_run_host_unit_tests: PRIVATE_GTEST_OPTIONS := --gtest_output=xml:$(DIST_DIR)/gtest/aapt2_host_unit_tests_result.xml
aapt2_run_host_unit_tests: $(HOST_OUT_NATIVE_TESTS)/aapt2_tests/aapt2_tests
	-$(HOST_OUT_NATIVE_TESTS)/aapt2_tests/aapt2_tests $(PRIVATE_GTEST_OPTIONS) > /dev/null 2>&1