aboutsummaryrefslogtreecommitdiff
path: root/cast/standalone_e2e.py
diff options
context:
space:
mode:
Diffstat (limited to 'cast/standalone_e2e.py')
-rwxr-xr-xcast/standalone_e2e.py18
1 files changed, 11 insertions, 7 deletions
diff --git a/cast/standalone_e2e.py b/cast/standalone_e2e.py
index b27e3c65..c64ab5e7 100755
--- a/cast/standalone_e2e.py
+++ b/cast/standalone_e2e.py
@@ -177,13 +177,17 @@ class StandaloneCastTest(unittest.TestCase):
return
logging.debug('Credentials out of date, generating new ones...')
- subprocess.check_output(
- [
- cls.build_paths.cast_receiver,
- '-g', # Generate certificate and private key.
- '-v' # Enable verbose logging.
- ],
- stderr=subprocess.STDOUT)
+ try:
+ subprocess.check_output(
+ [
+ cls.build_paths.cast_receiver,
+ '-g', # Generate certificate and private key.
+ '-v' # Enable verbose logging.
+ ],
+ stderr=subprocess.STDOUT)
+ except subprocess.CalledProcessError as e:
+ print('Generation failed with output: ', e.output.decode())
+ raise
def launch_receiver(self):
"""Launches the receiver process with discovery disabled."""