summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-12-29 00:52:07 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2018-12-29 00:52:07 +0200
commit3b8735d2cc7abfc6ed6d216018047986b4de949d (patch)
treef9aa5f6165ff0a55461c573af87d7288d77a83cf
parentd42a3ae05ffb0495ccff913b9b759e3ad6bd92d1 (diff)
downloadmeson-rpathmsg.tar.gz
Better error message for rpath test.rpathmsg
-rwxr-xr-xrun_unittests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index a47f74ef1..a8efdf47a 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -2041,7 +2041,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.