[ovs-dev] [PATCH] tests: Include actual Address Sanitizer output in testsuite log.

Mark Michelson mmichels at redhat.com
Thu Dec 13 20:25:47 UTC 2018


Acked-by: Mark Michelson <mmichels at redhat.com>

On 12/10/18 8:37 PM, Ben Pfaff wrote:
> This will make it easier to get the Address Sanitizer output in cases
> where we only have the testsuite.log, which happens with some autobuilders.
> 
> Signed-off-by: Ben Pfaff <blp at ovn.org>
> ---
>   tests/ovs-macros.at | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/tests/ovs-macros.at b/tests/ovs-macros.at
> index f2e6114ae822..fe7f0aa90f20 100644
> --- a/tests/ovs-macros.at
> +++ b/tests/ovs-macros.at
> @@ -190,6 +190,7 @@ OVS_START_SHELL_HELPERS
>   ovs_cleanup() {
>       if test "$(echo asan.*)" != 'asan.*'; then
>           echo "Address Sanitizer reported errors in:" asan.*
> +        cat asan.*
>           AT_FAIL_IF([:])
>       fi
>   }
> 



More information about the dev mailing list