script/autobuild.py: let nm_grep_symbols ignore __gcov_ symbols
[samba.git] / script / autobuild.py
index 6634356f0312b153fb79a9c1437449dcb2aaa58d..365b0ebe5ce5ac92eed28661d8687267a1f66292 100755 (executable)
@@ -122,7 +122,7 @@ CLEAN_SOURCE_TREE_CMD = "cd ${TEST_SOURCE_DIR} && script/clean-source-tree.sh"
 
 def nm_grep_symbols(sofile, expected_symbols=""):
     return "nm " + sofile + " | " + \
-           "egrep -v ' (__bss_start|_edata|_init|_fini|_end)' | " + \
+           "egrep -v ' (__bss_start|_edata|_init|_fini|_end|__gcov_)' | " + \
            "egrep -v '" + expected_symbols + "' |" + \
            "egrep ' [BDGTRVWS] ' && exit 1; exit 0;"