unittests/baseplatform: don't double print on error
@@ -186,7 +186,9 @@ class BasePlatformTests(TestCase):
print('Stderr:\n')
print(err)
raise RuntimeError('Configure failed')
- except Exception:
+ except Exception as e:
+ # Don't double print
+ if str(e) != 'Configure failed':
self._print_meson_log()
raise
finally:
