mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: Remove `-v' from unit.sh on L4T
When running the unit tests on an L4T target in GVS the `-v' argument is specified in the unit test framework. This results in many megabytes of text logs getting dumped by the pd_cache tests. These logs consist of seemingly endless: 02:00 5: 00:55 27: nvgpu: gpu.USS nvgpu_pd_cache_alloc_direct:165 [DBG ] PD-Alloc [D] 4096 bytes 02:00 5: 00:55 27: nvgpu: gpu.USS nvgpu_pd_cache_alloc_direct:165 [DBG ] PD-Alloc [D] 4096 bytes 02:00 5: 00:55 27: nvgpu: gpu.USS nvgpu_pd_cache_alloc_direct:165 [DBG ] PD-Alloc [D] 4096 bytes 02:00 5: 00:55 27: nvgpu: gpu.USS nvgpu_pd_cache_alloc_direct:165 [DBG ] PD-Alloc [D] 4096 bytes This isn't very useful for debugging and generally clogs this log to a point where finding error messages is really time consuming. Change-Id: Idd0ee1bba7426448ed88f825344f7eddcb6b90ef Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2127436 GVS: Gerrit_Virtual_Submit Reviewed-by: Nicolas Benech <nbenech@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
119c8c0fef
commit
c28546d545
@@ -36,7 +36,7 @@ if [ -f nvgpu_unit ]; then
|
|||||||
# target, so use that dir structure
|
# target, so use that dir structure
|
||||||
LD_LIBRARY_PATH=".:units"
|
LD_LIBRARY_PATH=".:units"
|
||||||
cores=$(cat /proc/cpuinfo |grep processor |wc -l)
|
cores=$(cat /proc/cpuinfo |grep processor |wc -l)
|
||||||
NVGPU_UNIT="./nvgpu_unit -v --nvtest --unit-load-path units/ --no-color \
|
NVGPU_UNIT="./nvgpu_unit --nvtest --unit-load-path units/ --no-color \
|
||||||
--num-threads $cores"
|
--num-threads $cores"
|
||||||
else
|
else
|
||||||
# running on host
|
# running on host
|
||||||
|
|||||||
Reference in New Issue
Block a user