From 98d092e73679be792f99bb6debb9ecffbf403987 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Wed, 27 Jun 2018 14:45:16 -0700 Subject: gpu: nvgpu: unit: Add test unit module Add a super simple tiny test unit module to test the unit test framework. This unit test has a test that deliberately fails so it obviously cannot be part of a real unit test run. Eventually this will have to be removed or otherwise skipped. JIRA NVGPU-525 Change-Id: I41532a85156445a778897bbc84bb5919deab56ae Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/1687095 GVS: Gerrit_Virtual_Submit Reviewed-by: Konsta Holtta Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- userspace/units/Makefile.units | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'userspace/units/Makefile.units') diff --git a/userspace/units/Makefile.units b/userspace/units/Makefile.units index 64b9e07d..9ba3111d 100644 --- a/userspace/units/Makefile.units +++ b/userspace/units/Makefile.units @@ -37,7 +37,7 @@ all: lib$(MODULE).so $(CC) $(CFLAGS) -c -o $@ $< lib$(MODULE).so: $(OBJS) - $(CC) -shared -o $@ $(OBJS) + $(CC) -shared -o $@ $(OBJS) $(LIB_PATHS) -lnvgpu_unit @mkdir -p $(UNIT_OUT)/ @cp $@ $(UNIT_OUT)/ -- cgit v1.2.2