This commit is contained in:
parent
5e09489389
commit
7cd1a8e43c
@ -83,6 +83,11 @@ rm -r %{buildroot}%{_includedir}/bv32-floatingpoint
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
%if 0%{?tools}
|
%if 0%{?tools}
|
||||||
|
%ifarch s390x ppc64 %sparc %sparc64
|
||||||
|
%define endianness BigEndian
|
||||||
|
%else
|
||||||
|
%define endianness LittleEndian
|
||||||
|
%endif
|
||||||
cd FloatingPoint/process
|
cd FloatingPoint/process
|
||||||
#return failure if TestBroadVoice32 fails
|
#return failure if TestBroadVoice32 fails
|
||||||
echo 'exit $checksum' >>TestBroadVoice32
|
echo 'exit $checksum' >>TestBroadVoice32
|
||||||
@ -93,13 +98,8 @@ grep -qF DG192BITSTREAM=0 ../meson.build && \
|
|||||||
sed -i '/cmp tv.bv32.bfe10.raw tv.bv32.bfe10.ref.raw/,/fi/d' TestBroadVoice32 && \
|
sed -i '/cmp tv.bv32.bfe10.raw tv.bv32.bfe10.ref.raw/,/fi/d' TestBroadVoice32 && \
|
||||||
sed -i '/cmp tvbe.bv32 tvbe.bv32.ref/,/fi/d' TestBroadVoice32 && \
|
sed -i '/cmp tvbe.bv32 tvbe.bv32.ref/,/fi/d' TestBroadVoice32 && \
|
||||||
sed -i '/cmp tvbe.bv32.bfe10.raw tvbe.bv32.bfe10.ref.raw/,/fi/d' TestBroadVoice32
|
sed -i '/cmp tvbe.bv32.bfe10.raw tvbe.bv32.bfe10.ref.raw/,/fi/d' TestBroadVoice32
|
||||||
%ifarch s390x ppc64 %sparc %sparc64
|
|
||||||
PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
|
PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
|
||||||
bash TestBroadVoice32 BigEndian
|
bash TestBroadVoice32 %endianness
|
||||||
%else
|
|
||||||
PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
|
|
||||||
bash TestBroadVoice32 LittleEndian
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?shared}
|
%if 0%{?shared}
|
||||||
|
Loading…
Reference in New Issue
Block a user