diff options
author | Javi Merino <javi.merino@arm.com> | 2016-03-08 11:35:46 +0000 |
---|---|---|
committer | Javi Merino <javi.merino@arm.com> | 2016-03-08 11:37:27 +0000 |
commit | 541c887c9db1e92fc6dc3cc159ed3cb4a3f7a6a0 (patch) | |
tree | ff50fc169033e1b6fe912fa3c1c1bd5a03e5370f /tests | |
parent | 6e343e5461802b9a99a5ffe7a2cbeefc7f4fdfe7 (diff) | |
download | trappy-541c887c9db1e92fc6dc3cc159ed3cb4a3f7a6a0.tar.gz |
tests: use check_call when untarring WA's sysfs extractor output
If tar fails it's a test error. Don't blindly ignore it.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_wa_sysfs_extractor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_wa_sysfs_extractor.py b/tests/test_wa_sysfs_extractor.py index 69f0e3d..e976f90 100644 --- a/tests/test_wa_sysfs_extractor.py +++ b/tests/test_wa_sysfs_extractor.py @@ -32,7 +32,7 @@ class TestWASysfsExtractor(utils_tests.SetupDirectory): def setUp(self): super(TestWASysfsExtractor, self).setUp() - subprocess.call(["tar", "xf", self.wa_sysfs_fname]) + subprocess.check_call(["tar", "xf", self.wa_sysfs_fname]) def test_get_parameters(self): """Test that we can get the parameters of a sysfs extractor output""" |