glib: simplify test disable

This commit is contained in:
Dylan Araps 2021-07-27 18:29:48 +03:00
parent 3018544053
commit dee7a27eb9
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -8,11 +8,11 @@ mv -f _ gio/meson.build
sed 's/libmount_dep.found()/false/' meson.build > _
mv -f _ meson.build
# Don't build tests/fuzzing stuff.
find . -type f -name meson.build | while read -r f; do
sed "/subdir('tests')/d;/subdir('fuzzing')/d" "$f" > _
mv -f _ "$f"
done
: > glib/tests/meson.build
: > tests/meson.build
: > gobject/tests/mesom.build
: > gio/tests/meson.build
: > fuzzing/meson.build
meson \
--prefix=/usr \