~kelemeng/checkbox/bug868571

« back to all changes in this revision

Viewing changes to test

  • Committer: Marc Tardif
  • Date: 2008-08-13 20:04:12 UTC
  • Revision ID: marc.tardif@canonical.com-20080813200412-52u3d6fs6ulnxlgv
Renamed hwtest to checkbox.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#
5
5
# Written by Marc Tardif <marc@interunion.ca>
6
6
#
7
 
# This file is part of HWTest.
 
7
# This file is part of Checkbox.
8
8
#
9
 
# HWTest is free software: you can redistribute it and/or modify
 
9
# Checkbox is free software: you can redistribute it and/or modify
10
10
# it under the terms of the GNU General Public License as published by
11
11
# the Free Software Foundation, either version 3 of the License, or
12
12
# (at your option) any later version.
13
13
#
14
 
# HWTest is distributed in the hope that it will be useful,
 
14
# Checkbox is distributed in the hope that it will be useful,
15
15
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
17
# GNU General Public License for more details.
18
18
#
19
19
# You should have received a copy of the GNU General Public License
20
 
# along with HWTest.  If not, see <http://www.gnu.org/licenses/>.
 
20
# along with Checkbox.  If not, see <http://www.gnu.org/licenses/>.
21
21
#
22
22
import optparse
23
23
 
149
149
    sys.exit(failed)
150
150
 
151
151
if __name__ == "__main__":
152
 
    runner = os.environ.get("HWTEST_TEST_RUNNER")
 
152
    runner = os.environ.get("CHECKBOX_TEST_RUNNER")
153
153
    if not runner:
154
154
        runner = "unittest"
155
155
    runner_func = globals().get("test_with_%s" % runner.replace(".", "_"))