mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
travis: run make install and check for headers that have not been installed
This commit is contained in:
parent
9d48021af1
commit
423f7ed858
2 changed files with 38 additions and 1 deletions
|
|
@ -19,4 +19,8 @@ script:
|
||||||
-Dtest=true \
|
-Dtest=true \
|
||||||
-Dvideotestsrc=true \
|
-Dvideotestsrc=true \
|
||||||
-Dvolume=true \
|
-Dvolume=true \
|
||||||
&& make && make test'
|
&& make \
|
||||||
|
&& make test \
|
||||||
|
&& env DESTDIR=i make install \
|
||||||
|
&& env PREFIX=build/i/usr/local ./check_missing_headers.sh \
|
||||||
|
'
|
||||||
|
|
|
||||||
33
check_missing_headers.sh
Executable file
33
check_missing_headers.sh
Executable file
|
|
@ -0,0 +1,33 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# This script will tell you if there are headers in the source tree
|
||||||
|
# that have not been installed in $PREFIX
|
||||||
|
|
||||||
|
LIST=""
|
||||||
|
|
||||||
|
for i in `find spa/include -name '*.h' | sed s#spa/include/##`;
|
||||||
|
do
|
||||||
|
[ -f $PREFIX/include/$i ] || LIST="$i $LIST"
|
||||||
|
done
|
||||||
|
|
||||||
|
for i in `find src/extensions -name '*.h' | sed s#src/#pipewire/#`;
|
||||||
|
do
|
||||||
|
[ -f $PREFIX/include/$i ] || LIST="$i $LIST"
|
||||||
|
done
|
||||||
|
|
||||||
|
for i in `find src/pipewire -name '*.h' -a -not -name '*private.h' | sed s#src/##`;
|
||||||
|
do
|
||||||
|
[ -f $PREFIX/include/$i ] || LIST="$i $LIST"
|
||||||
|
done
|
||||||
|
|
||||||
|
for i in $LIST;
|
||||||
|
do
|
||||||
|
echo "$i not installed"
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ "$LIST" != "" ];
|
||||||
|
then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
Loading…
Add table
Add a link
Reference in a new issue