summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rwxr-xr-xtests/auto/bic/gen.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/bic/gen.sh b/tests/auto/bic/gen.sh
index 2479a33..31031aa 100755
--- a/tests/auto/bic/gen.sh
+++ b/tests/auto/bic/gen.sh
@@ -18,5 +18,9 @@ for module in $modules; do
echo "#include <$module/$module>" >test.cpp
g++ -c -I$QTDIR/include -DQT_NO_STL -DQT3_SUPPORT -fdump-class-hierarchy test.cpp
mv test.cpp*.class $module.$2.txt
+ # Remove template classes from the output
+ perl -pi -e '$skip = 0 if (/^\n/);
+ $skip = 1 if (/^(Class|Vtable).*</);
+ $_ = "" if ($skip);' $module.$2.txt
done