]> git.proxmox.com Git - ovs.git/commit
tests: Disable no-format-truncation warnings
authorTimothy Redaelli <tredaelli@redhat.com>
Thu, 13 Jul 2017 14:29:33 +0000 (16:29 +0200)
committerRussell Bryant <russell@ovn.org>
Sat, 15 Jul 2017 01:09:31 +0000 (21:09 -0400)
commitdd95bb5e1390f2a6e6e82208d8e4e23148de002d
treed17449c37d04b2da7f6034be68efe1dc47479d05
parent8bdb2bdb1fc244185ad059d3b0c00426d7edc135
tests: Disable no-format-truncation warnings

test_snprintf function (tests/test-util.c) tests snprintf with shorter length,
but this emit a warning on GCC 7.0 or later.

This commit disables that warning on tests only.

Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Acked-by: Lance Richardson <lrichard@redhat.com>
Signed-off-by: Russell Bryant <russell@ovn.org>
configure.ac
tests/automake.mk