diff options
| author | Jim MacArthur <jim.macarthur@codethink.co.uk> | 2018-01-19 15:14:13 +0000 |
|---|---|---|
| committer | Jim MacArthur <jim.macarthur@codethink.co.uk> | 2018-03-22 18:44:53 +0000 |
| commit | 2053ee754fcb83a28f5a85b043f2ecdf4b9b33d7 (patch) | |
| tree | f0db3674f3818a552df385de39954fc39f619972 /tests/pipeline/unhandled-error/project.conf | |
| parent | 9c418946bb55fa1e4cf2216f1dff316482b3484a (diff) | |
| download | buildstream-2053ee754fcb83a28f5a85b043f2ecdf4b9b33d7.tar.gz | |
Add a test for unhandled exceptions.
This reproduces one of the conditions which caused issue #197.
The test uses subprocess instead of the usual Cli class because with
Cli.invoke(), PyTest would handle the exception before our custom excepthook
has a chance to.
Diffstat (limited to 'tests/pipeline/unhandled-error/project.conf')
| -rw-r--r-- | tests/pipeline/unhandled-error/project.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/pipeline/unhandled-error/project.conf b/tests/pipeline/unhandled-error/project.conf new file mode 100644 index 000000000..20a234413 --- /dev/null +++ b/tests/pipeline/unhandled-error/project.conf @@ -0,0 +1,11 @@ +# Basic project configuration that doesnt override anything +# +name: pony + +# Whitelist the local test Source "errorplugin" to be loaded +# +plugins: +- origin: local + path: errorplugin + sources: + preflighterror: 0 |
