mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
script/autobuild.py: let nm_grep_symbols ignore __gcov_ symbols
Currently the gcov build currently fails with the following error: samba-libs: [allshared-no-public-nss_winbind] Running nm ./bin/plugins/libnss_winbind.so.2 | egrep -v ' (__bss_start|_edata|_init|_fini|_end)' | egrep -v ' T _nss_winbind_' |egrep ' [BDGTRVWS] ' && exit 1; exit 0; in '/tmp/samba-testbase/samba-libs/.' 0000000000232458 B __gcov_error_file 0000000000226340 D __gcov_master 000000000001c080 T __gcov_sort_n_vals 00000000002324a0 B __gcov_var samba-libs: [allshared-no-public-nss_winbind] failed 'nm ./bin/plugins/libnss_winbind.so.2 | egrep -v ' (__bss_start|_edata|_init|_fini|_end)' | egrep -v ' T _nss_winbind_' |egrep ' [BDGTRVWS] ' && exit 1; exit 0;' with status 1 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Sun Feb 6 13:39:09 UTC 2022 on sn-devel-184
This commit is contained in:
parent
136ec5bc01
commit
dcd65e1cb7
@ -122,7 +122,7 @@ CLEAN_SOURCE_TREE_CMD = "cd ${TEST_SOURCE_DIR} && script/clean-source-tree.sh"
|
|||||||
|
|
||||||
def nm_grep_symbols(sofile, expected_symbols=""):
|
def nm_grep_symbols(sofile, expected_symbols=""):
|
||||||
return "nm " + sofile + " | " + \
|
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 -v '" + expected_symbols + "' |" + \
|
||||||
"egrep ' [BDGTRVWS] ' && exit 1; exit 0;"
|
"egrep ' [BDGTRVWS] ' && exit 1; exit 0;"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user