summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-02-14 20:14:10 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2016-02-14 20:14:10 +0000
commitbb0f50a9a92937540e13ae063abf4e7aec79237b (patch)
tree3e05fc09a646948a97a6488c2813c26f7f72aa28
parentExclude failsafe exit from test coverage (diff)
downloadnetfs-bb0f50a9a92937540e13ae063abf4e7aec79237b.tar.bz2
netfs-bb0f50a9a92937540e13ae063abf4e7aec79237b.tar.xz
netfs-bb0f50a9a92937540e13ae063abf4e7aec79237b.zip
Exclude debug operator<< from test coverage
-rw-r--r--netfs/unittests/testCore.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/netfs/unittests/testCore.cpp b/netfs/unittests/testCore.cpp
index c3b925b..a35274c 100644
--- a/netfs/unittests/testCore.cpp
+++ b/netfs/unittests/testCore.cpp
@@ -16,10 +16,12 @@ operator==(const struct stat & a, const struct stat & b)
}
namespace std {
+ // LCOV_EXCL_START
ostream & operator<<(ostream & s, const struct stat & ss)
{
return s << "dev: " << ss.st_dev << " inode: " << ss.st_ino;
}
+ // LCOV_EXCL_STOP
}
class Core {