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

Commit 267cb88f authored by Christopher Wiley's avatar Christopher Wiley Committed by Gerrit Code Review
Browse files

Merge "Set up aidl for gtest"

parents 9d586927 8a8775c1
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -38,4 +38,13 @@ LOCAL_MODULE_HOST_OS := darwin linux windows

include $(BUILD_HOST_EXECUTABLE)

# Unit tests
include $(CLEAR_VARS)
LOCAL_MODULE := aidl_unittests
LOCAL_CFLAGS := -g -DUNIT_TEST
LOCAL_SRC_FILES := tests/test.cpp
LOCAL_STATIC_LIBRARIES := libgmock_host libgtest_host libBionicGtestMain
LOCAL_LDLIBS := -lrt
include $(BUILD_HOST_NATIVE_TEST)

endif # No TARGET_BUILD_APPS or TARGET_BUILD_PDK
+3 −0
Original line number Diff line number Diff line
#include <gtest/gtest.h>

TEST(DummyCase, DummyTest) {}