aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-12-29 00:52:07 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2018-12-30 00:51:40 +0200
commit8a6c0aa13d6950332b955531ae0400303741d4b1 (patch)
treef8da04a7a81204f4f3b3b90d9ff8328e18bde306
parentda5da5977ab975480570b06b72df98318f2efd23 (diff)
downloadmeson-8a6c0aa13d6950332b955531ae0400303741d4b1.zip
meson-8a6c0aa13d6950332b955531ae0400303741d4b1.tar.gz
meson-8a6c0aa13d6950332b955531ae0400303741d4b1.tar.bz2
Better error message for rpath test.
-rwxr-xr-xrun_unittests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index be7ae57..ec1af0f 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -2082,7 +2082,7 @@ int main(int argc, char **argv) {
self.build()
for each in ('prog', 'subdir/liblib1.so', ):
rpath = get_rpath(os.path.join(self.builddir, each))
- self.assertTrue(rpath)
+ self.assertTrue(rpath, 'Rpath could not be determined for {}.'.format(each))
if is_dragonflybsd():
# DragonflyBSD will prepend /usr/lib/gccVERSION to the rpath,
# so ignore that.