1
0
mirror of synced 2026-04-24 19:50:09 +00:00

Testsuite: Optimize modules.sh

This commit is contained in:
Axel Beckert
2015-06-11 22:32:00 +02:00
parent a52d422ba8
commit 1d07f06953
2 changed files with 2 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ use Test::More qw( no_plan );
EOF
for i in `grep '^use ' -r .. | egrep -v '^\./\.git/' | grep -v Expect | grep -v POSIX | grep -v Xen:: | awk '{print $2}' | tr -d
for i in `grep '^use ' -r .. | egrep -v '^\./\.git/|Expect|POSIX|Xen::' | awk '{print $2}' | tr -d '\r;()' | sort -u`; \
do \
echo "BEGIN{ use_ok( '$i' ); }"; \
echo "require_ok( '$i' );" ; \