diff options
author | Robert Collins <robertc@robertcollins.net> | 2015-07-13 23:02:48 +1200 |
---|---|---|
committer | Robert Collins <robertc@robertcollins.net> | 2015-07-13 23:02:48 +1200 |
commit | c90fc5d0a74f7bc8a7e0d9c846c2d0f46b97f8d2 (patch) | |
tree | c287802daae58d571c1b5a61123b4bf682bb7fad /filters | |
parent | 2bd3a0ef34b3fee9b6608799be31844cc0510164 (diff) | |
download | subunit-c90fc5d0a74f7bc8a7e0d9c846c2d0f46b97f8d2.tar.gz |
Add subunit2disk which exports a stream to the fs.
Diffstat (limited to 'filters')
-rwxr-xr-x | filters/subunit2disk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/filters/subunit2disk b/filters/subunit2disk new file mode 100755 index 0000000..c1d2e1a --- /dev/null +++ b/filters/subunit2disk @@ -0,0 +1,23 @@ +#!/usr/bin/env python +# subunit: extensions to python unittest to get test results from subprocesses. +# Copyright (C) 2013 Subunit Contributors +# +# Licensed under either the Apache License, Version 2.0 or the BSD 3-clause +# license at the users choice. A copy of both licenses are available in the +# project source as Apache-2.0 and BSD. You may not use this file except in +# compliance with one of these two licences. +# +# Unless required by applicable law or agreed to in writing, software +# distributed under these licenses is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# license you chose for the specific language governing permissions and +# limitations under that license. + + +"""Export a stream to files and directories on disk.""" + +from subunit._to_disk import to_disk + + +if __name__ == '__main__': + exit(to_disk()) |