Skip to content

Commit

Permalink
[Spec] Skip test in case that ASAN is enabled
Browse files Browse the repository at this point in the history
In case of GCC v14, the build process is stopped when ASAN option is
enabled. Build engineer suggested to skip the test in such case to avoid
the build failure.

Signed-off-by: Sangjung Woo <[email protected]>
  • Loading branch information
again4you committed Nov 7, 2024
1 parent 178e7a0 commit 796c63d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packaging/nnstreamer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -971,8 +971,8 @@ export ORC_DEBUG=2

%define test_script $(pwd)/packaging/run_unittests_binaries.sh

# if it's tizen && non-TV, run unittest even if "unit_test"==0 for build-time sanity checks.
%if ( %{with tizen} && "%{?profile}" != "tv" )
# if it's tizen && non-TV && ASAN is enabled, run unittest even if "unit_test"==0 for build-time sanity checks.
%if ( %{with tizen} && "%{?profile}" != "tv" && "%{asan}" != "1")
%if 0%{nnfw_support}
bash %{test_script} ./tests/tizen_nnfw_runtime/unittest_nnfw_runtime_raw
%endif
Expand Down

0 comments on commit 796c63d

Please sign in to comment.