aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJavi Merino <javi.merino@arm.com>2016-03-08 11:35:46 +0000
committerJavi Merino <javi.merino@arm.com>2016-03-08 11:37:27 +0000
commit541c887c9db1e92fc6dc3cc159ed3cb4a3f7a6a0 (patch)
treeff50fc169033e1b6fe912fa3c1c1bd5a03e5370f /tests
parent6e343e5461802b9a99a5ffe7a2cbeefc7f4fdfe7 (diff)
downloadtrappy-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.py2
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"""