Better error message for rpath test.

pull/4691/head
Jussi Pakkanen 6 years ago
parent da5da5977a
commit 8a6c0aa13d
  1. 2
      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.

Loading…
Cancel
Save