-
Notifications
You must be signed in to change notification settings - Fork 627
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove libavutils from the asan suppresion list
Signed-off-by: Janusz Lisiecki <[email protected]>
- Loading branch information
Showing
2 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
...ali-docker-local/dali-ci/main/cu126/x86_64/tf_custom_op_clean_manylinux2010/py3.9/test.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/bin/bash -ex | ||
|
||
do_once() { | ||
# generate file_list.txt for label testing | ||
echo "${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test.mp4 0 0 99 | ||
${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test.mp4 1 100 199 | ||
${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test.mp4 2 200 256 | ||
" > /tmp/file_list.txt | ||
|
||
echo "${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test_25fps.mp4 0 0 1 | ||
${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test_25fps.mp4 1 2 3 | ||
${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test_25fps.mp4 2 4 5 | ||
" > /tmp/file_list_timestamp.txt | ||
|
||
echo "${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test_25fps.mp4 0 0 49 | ||
${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test_25fps.mp4 1 50 99 | ||
${DALI_EXTRA_PATH}/db/video/frame_num_timestamp/test_25fps.mp4 2 100 149 | ||
" > /tmp/file_list_frame_num.txt | ||
} | ||
|
||
test_body() { | ||
for BINNAME in \ | ||
"dali_core_test.bin" \ | ||
"dali_kernel_test.bin" \ | ||
"dali_test.bin" \ | ||
"dali_operator_test.bin" | ||
do | ||
for DIRNAME in \ | ||
"../../build/dali/python/nvidia/dali" \ | ||
"$(python -c 'import os; from nvidia import dali; print(os.path.dirname(dali.__file__))' 2>/dev/null || echo '')" | ||
do | ||
if [ -x "$DIRNAME/test/$BINNAME" ]; then | ||
FULLPATH="$DIRNAME/test/$BINNAME" | ||
break | ||
fi | ||
done | ||
|
||
if [[ -z "$FULLPATH" ]]; then | ||
echo "ERROR: $BINNAME not found" | ||
exit 1 | ||
fi | ||
|
||
DALI_USE_EXEC2=0 "$FULLPATH" | ||
done | ||
} | ||
|
||
pushd ../.. | ||
source ./qa/test_template.sh | ||
popd |