~coreygoldberg/uci-tests/ucitests-py3-packaging

154 by Corey Goldberg
re-added shebang
1
#!/usr/bin/env python
30 by Vincent Ladeuil
Move make_case to fixtures for easier reuse.
2
# -*- Mode: python -*-
62 by Vincent Ladeuil
Fix copyright notices as per https://sites.google.com/a/canonical.com/legal-services/software-ip.
3
# This file is part of the Ubuntu Continuous Integration test tools
166 by Corey Goldberg
revert whitespace again
4
#
62 by Vincent Ladeuil
Fix copyright notices as per https://sites.google.com/a/canonical.com/legal-services/software-ip.
5
# Copyright 2013 Canonical Ltd.
166 by Corey Goldberg
revert whitespace again
6
#  
62 by Vincent Ladeuil
Fix copyright notices as per https://sites.google.com/a/canonical.com/legal-services/software-ip.
7
# This program is free software: you can redistribute it and/or modify it under
8
# the terms of the GNU General Public License version 3, as published by the
9
# Free Software Foundation.
166 by Corey Goldberg
revert whitespace again
10
#  
62 by Vincent Ladeuil
Fix copyright notices as per https://sites.google.com/a/canonical.com/legal-services/software-ip.
11
# This program is distributed in the hope that it will be useful, but WITHOUT
12
# ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
13
# SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14
# General Public License for more details.
166 by Corey Goldberg
revert whitespace again
15
#  
62 by Vincent Ladeuil
Fix copyright notices as per https://sites.google.com/a/canonical.com/legal-services/software-ip.
16
# You should have received a copy of the GNU General Public License along with
17
# this program.  If not, see <http://www.gnu.org/licenses/>.
4 by Vincent Ladeuil
Cheat a bit by having a simple test runner until we can bootstrap.
18
"""The CLI Ubuntu CI test runner."""
19
20
import sys
21
66 by Vincent Ladeuil
Change the namespace for clarity (we cannot share the uci one until py3) and get rid of empty __init__.py.
22
from ucitests import runners
4 by Vincent Ladeuil
Cheat a bit by having a simple test runner until we can bootstrap.
23
24
if __name__ == '__main__':
51 by Vincent Ladeuil
Test and implement option parsing and finally bootstrap ;)
25
    sys.exit(runners.cli_run())