aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cpp-compile-test.cpp
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2018-03-19 15:13:14 +0000
committerDerek Foreman <derekf@osg.samsung.com>2018-03-19 11:44:28 -0500
commit3de11b8d798d657fb59e84792a44dbb027ab523f (patch)
tree1dad877e6f696b8a1d81635f353879c5c79ebe18 /tests/cpp-compile-test.cpp
parentwayland-egl: Pass nm path to check script (diff)
downloadwayland-3de11b8d798d657fb59e84792a44dbb027ab523f.tar
wayland-3de11b8d798d657fb59e84792a44dbb027ab523f.tar.gz
wayland-3de11b8d798d657fb59e84792a44dbb027ab523f.tar.bz2
wayland-3de11b8d798d657fb59e84792a44dbb027ab523f.tar.lz
wayland-3de11b8d798d657fb59e84792a44dbb027ab523f.tar.xz
wayland-3de11b8d798d657fb59e84792a44dbb027ab523f.tar.zst
wayland-3de11b8d798d657fb59e84792a44dbb027ab523f.zip
wayland-egl: Make symbol test fail on failure
The previous rewrite of the wayland-egl ABI checker introduced checks for removed symbols as well as added symbols, but broke some failure conditions. Add an explict return-code variable set in failure paths, rather than chaining or conditions. If we cannot find the binary or nm, we regard this as an error condition, rather than test failure. v2: Don't test if we can execute $NM. Signed-off-by: Daniel Stone <daniels@collabora.com> Reported-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Fixes: 21b1f22eb056 ("wayland-egl: enhance the symbol test") Cc: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions