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

Commit ef177697 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Set NATIVE_TESTS executable like EXECUTABLES

* Rust test modules should have NATIVE_TESTS class,
  not EXECUTABLES, to work with atest --host.

Bug: 140938178
Test: make rust projects
Change-Id: I45c84284d894702471ea46faaa599de27ab6be51
parent 9d789145
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ endif

$(LOCAL_BUILT_MODULE): $(LOCAL_PREBUILT_MODULE_FILE)
	$(transform-prebuilt-to-target)
ifneq ($(filter EXECUTABLES,$(LOCAL_MODULE_CLASS)),)
ifneq ($(filter EXECUTABLES NATIVE_TESTS,$(LOCAL_MODULE_CLASS)),)
	$(hide) chmod +x $@
endif