mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
Set the unit test configs correctly for the QNX unit test build. The defines __NVGPU_UNIT_TEST__ and NVGPU_UNITTEST_FAULT_INJECTION_ENABLEMENT were not being set for the unit tests in the QNX build, only for the libnvgpu_ut.so. Therefore, some structs were defined differently in the two files causing segfaults. JIRA NVGPU-3981 Change-Id: Ia4fbaae7df89b9034a3d50a8c99eefe1d19898a8 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2245554 Reviewed-by: Thomas Fleury <tfleury@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>