summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-20 20:41:37 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-23 16:58:28 +0900
commitae8ea079ca8def21ddf95cb26350da7a0da5ae60 (patch)
tree1c262068fdb0d7e9c4ac4b7b564f4d0821948102
parenta449e92b0a3e55f4b8cf79dc99d1111a713023d9 (diff)
downloadbuildstream-tristan/except-hook.tar.gz
tests/pipeline/unhandled.py: Adding FIXME comment of faulty test case.tristan/except-hook
This test case is still better than none.
-rw-r--r--tests/pipeline/unhandled.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pipeline/unhandled.py b/tests/pipeline/unhandled.py
index d6567c2bf..1b4cf67c6 100644
--- a/tests/pipeline/unhandled.py
+++ b/tests/pipeline/unhandled.py
@@ -17,6 +17,11 @@ DATA_DIR = os.path.join(
def test_unhandled_exception(cli, datafiles, tmpdir):
basedir = os.path.join(datafiles.dirname, datafiles.basename)
+ # FIXME: Find a better way to test this, currently this
+ # makes the unreasonable assumption that `bst` is installed,
+ # it further makes the assumption that the installed version
+ # of BuildStream is the one under test.
+ #
process = subprocess.Popen(['bst', 'fetch', 'error.bst'],
cwd=basedir, stderr=subprocess.PIPE)
try: