forked from pool/broadvoice16
This commit is contained in:
parent
d74789bd4c
commit
e8808009b9
@ -83,6 +83,11 @@ rm -r %{buildroot}%{_includedir}/bv16-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 TestBroadVoice16 fails
|
#return failure if TestBroadVoice16 fails
|
||||||
echo 'exit $checksum' >>TestBroadVoice16
|
echo 'exit $checksum' >>TestBroadVoice16
|
||||||
@ -93,13 +98,8 @@ grep -qF DG192BITSTREAM=0 ../meson.build && \
|
|||||||
sed -i '/cmp tv.bv16.bfe10.raw tv.bv16.bfe10.ref.raw/,/fi/d' TestBroadVoice16 && \
|
sed -i '/cmp tv.bv16.bfe10.raw tv.bv16.bfe10.ref.raw/,/fi/d' TestBroadVoice16 && \
|
||||||
sed -i '/cmp tvbe.bv16 tvbe.bv16.ref/,/fi/d' TestBroadVoice16 && \
|
sed -i '/cmp tvbe.bv16 tvbe.bv16.ref/,/fi/d' TestBroadVoice16 && \
|
||||||
sed -i '/cmp tvbe.bv16.bfe10.raw tvbe.bv16.bfe10.ref.raw/,/fi/d' TestBroadVoice16
|
sed -i '/cmp tvbe.bv16.bfe10.raw tvbe.bv16.bfe10.ref.raw/,/fi/d' TestBroadVoice16
|
||||||
%ifarch s390x ppc64 %sparc %sparc64
|
|
||||||
PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
|
PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
|
||||||
bash TestBroadVoice16 BigEndian
|
bash TestBroadVoice16 %endianness
|
||||||
%else
|
|
||||||
PATH=%{buildroot}%{_bindir}:$PATH LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
|
|
||||||
bash TestBroadVoice16 LittleEndian
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?shared}
|
%if 0%{?shared}
|
||||||
|
Loading…
Reference in New Issue
Block a user