diff --git a/setup/swc-installation-test-2.py b/setup/swc-installation-test-2.py index 6da7ce7..ded36f6 100755 --- a/setup/swc-installation-test-2.py +++ b/setup/swc-installation-test-2.py @@ -438,6 +438,11 @@ def _get_version_stream(self, stdin=None, expect=(0,)): raise DependencyError(checker=self, message='\n'.join(lines)) for name,string in [('stdout', stdout), ('stderr', stderr)]: if name == self.version_stream: + if not string: + raise DependencyError( + checker=self, + message='empty version stream on {0} for {1}'.format( + self.version_stream, command)) return string raise NotImplementedError(self.version_stream)