1 | #!/usr/bin/env python
|
---|
2 | # -*- coding: utf-8 -*-
|
---|
3 |
|
---|
4 | """
|
---|
5 | Copyright (C) 2010-2019 Oracle Corporation
|
---|
6 |
|
---|
7 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
8 | available from http://www.virtualbox.org. This file is free software;
|
---|
9 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
10 | General Public License (GPL) as published by the Free Software
|
---|
11 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
12 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
13 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
14 |
|
---|
15 | The contents of this file may alternatively be used under the terms
|
---|
16 | of the Common Development and Distribution License Version 1.0
|
---|
17 | (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
18 | VirtualBox OSE distribution, in which case the provisions of the
|
---|
19 | CDDL are applicable instead of those of the GPL.
|
---|
20 |
|
---|
21 | You may elect to license modified versions of this file under the
|
---|
22 | terms and conditions of either the GPL or the CDDL or both.
|
---|
23 | """
|
---|
24 |
|
---|
25 | __version__ = "$Id: td-dummy.py 76553 2019-01-01 01:45:53Z vboxsync $"
|
---|
26 |
|
---|
27 | import sys
|
---|
28 | sys.path.insert(0, "../");
|
---|
29 | import testdriver.reporter as reporter
|
---|
30 | import testdriver.vbox
|
---|
31 |
|
---|
32 |
|
---|
33 | class DummyTestDriver(testdriver.vbox.TestDriver):
|
---|
34 | """
|
---|
35 | Dummy Test driver for testing the package layout.
|
---|
36 | """
|
---|
37 |
|
---|
38 | def __init__(self):
|
---|
39 | testdriver.vbox.TestDriver.__init__(self);
|
---|
40 | self.dummy = 1;
|
---|
41 |
|
---|
42 | def main(self):
|
---|
43 | print "works";
|
---|
44 | reporter.log("the reporter works")
|
---|
45 | self.dump();
|
---|
46 | return 0;
|
---|
47 |
|
---|
48 |
|
---|
49 | td = DummyTestDriver();
|
---|
50 | sys.exit(td.main());
|
---|
51 |
|
---|