mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: compiling acr unit tests only for QNX
- Running following tests only for QNX since these are failing with new gpu firmware files on L4T nvgpu-acr.test_acr_prepare_ucode_blob(acr_prepare_ucode_blob) nvgpu-acr.test_acr_is_lsf_lazy_bootstrap(acr_is_lsf_lazy_bootstrap) nvgpu-acr.test_acr_construct_execute(acr_construct_execute) nvgpu-acr.test_acr_bootstrap_hs_acr(acr_bootstrap_hs_acr) Bug 3093555 Change-Id: I9eef07ee4454e387e0fcbd8ef6dba7898e54a180 Signed-off-by: srajum <srajum@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2430381 (cherry picked from commit 2701988bb86e906a13d0999644d96d1fb4a5e73c) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2433727 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
@@ -87,7 +87,7 @@ else
|
|||||||
|
|
||||||
LD_LIBRARY_PATH="build:build/units"
|
LD_LIBRARY_PATH="build:build/units"
|
||||||
# On host, must run single-threaded to avoid high VAs
|
# On host, must run single-threaded to avoid high VAs
|
||||||
NVGPU_UNIT="./build/nvgpu_unit --num-threads 1 -r required_tests.ini"
|
NVGPU_UNIT="./build/nvgpu_unit --num-threads 1"
|
||||||
fi
|
fi
|
||||||
export LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH
|
||||||
|
|
||||||
|
|||||||
@@ -992,6 +992,7 @@ static int free_falcon_test_env(struct unit_module *m, struct gk20a *g,
|
|||||||
|
|
||||||
struct unit_module_test nvgpu_acr_tests[] = {
|
struct unit_module_test nvgpu_acr_tests[] = {
|
||||||
UNIT_TEST(acr_init, test_acr_init, NULL, 0),
|
UNIT_TEST(acr_init, test_acr_init, NULL, 0),
|
||||||
|
#if defined(__QNX__)
|
||||||
UNIT_TEST(acr_prepare_ucode_blob, test_acr_prepare_ucode_blob, NULL, 0),
|
UNIT_TEST(acr_prepare_ucode_blob, test_acr_prepare_ucode_blob, NULL, 0),
|
||||||
UNIT_TEST(acr_is_lsf_lazy_bootstrap,
|
UNIT_TEST(acr_is_lsf_lazy_bootstrap,
|
||||||
test_acr_is_lsf_lazy_bootstrap, NULL, 0),
|
test_acr_is_lsf_lazy_bootstrap, NULL, 0),
|
||||||
@@ -1000,6 +1001,7 @@ struct unit_module_test nvgpu_acr_tests[] = {
|
|||||||
|
|
||||||
UNIT_TEST(acr_bootstrap_hs_acr, test_acr_bootstrap_hs_acr,
|
UNIT_TEST(acr_bootstrap_hs_acr, test_acr_bootstrap_hs_acr,
|
||||||
NULL, 0),
|
NULL, 0),
|
||||||
|
#endif
|
||||||
UNIT_TEST(acr_free_falcon_test_env, free_falcon_test_env, NULL, 0),
|
UNIT_TEST(acr_free_falcon_test_env, free_falcon_test_env, NULL, 0),
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user