projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DALi Version 1.5.0
[platform/core/uifw/dali-toolkit.git]
/
automated-tests
/
patch-coverage.pl
diff --git
a/automated-tests/patch-coverage.pl
b/automated-tests/patch-coverage.pl
index
5e5e164
..
c5d9083
100755
(executable)
--- a/
automated-tests/patch-coverage.pl
+++ b/
automated-tests/patch-coverage.pl
@@
-1,6
+1,6
@@
#!/usr/bin/perl
#
#!/usr/bin/perl
#
-# Copyright (c) 20
16
Samsung Electronics Co., Ltd.
+# Copyright (c) 20
20
Samsung Electronics Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@
-266,6
+266,12
@@
sub get_coverage
if(index( $source_file, $file ) > 0 )
{
$gcovfile = $coverage_file;
if(index( $source_file, $file ) > 0 )
{
$gcovfile = $coverage_file;
+ # Some header files do not produce an equivalent gcov file so we shouldn't parse them
+ if(($source_file =~ /\.h$/) && (! -e $gcovfile))
+ {
+ print "Omitting Header: $source_file\n" if $debug;
+ $gcovfile = ""
+ }
last;
}
}
last;
}
}