1 | # -*- coding: utf-8 -*-
|
---|
2 | # $Id: rtexitcode.py 93115 2022-01-01 11:31:46Z vboxsync $
|
---|
3 |
|
---|
4 | """
|
---|
5 | RTEXITCODE from iprt/types.h.
|
---|
6 | """
|
---|
7 |
|
---|
8 | __copyright__ = \
|
---|
9 | """
|
---|
10 | Copyright (C) 2012-2022 Oracle Corporation
|
---|
11 |
|
---|
12 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
13 | available from http://www.virtualbox.org. This file is free software;
|
---|
14 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
15 | General Public License (GPL) as published by the Free Software
|
---|
16 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
17 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
18 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
19 |
|
---|
20 | The contents of this file may alternatively be used under the terms
|
---|
21 | of the Common Development and Distribution License Version 1.0
|
---|
22 | (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
23 | VirtualBox OSE distribution, in which case the provisions of the
|
---|
24 | CDDL are applicable instead of those of the GPL.
|
---|
25 |
|
---|
26 | You may elect to license modified versions of this file under the
|
---|
27 | terms and conditions of either the GPL or the CDDL or both.
|
---|
28 | """
|
---|
29 | __version__ = "$Revision: 93115 $"
|
---|
30 |
|
---|
31 |
|
---|
32 | ## Success.
|
---|
33 | RTEXITCODE_SUCCESS = 0;
|
---|
34 | SUCCESS = RTEXITCODE_SUCCESS;
|
---|
35 | ## General failure.
|
---|
36 | RTEXITCODE_FAILURE = 1;
|
---|
37 | FAILURE = RTEXITCODE_FAILURE;
|
---|
38 | ## Invalid arguments.
|
---|
39 | RTEXITCODE_SYNTAX = 2;
|
---|
40 | SYNTAX = RTEXITCODE_SYNTAX;
|
---|
41 | ## Initialization failure.
|
---|
42 | RTEXITCODE_INIT = 3;
|
---|
43 | INIT = RTEXITCODE_INIT;
|
---|
44 | ## Test skipped.
|
---|
45 | RTEXITCODE_SKIPPED = 4;
|
---|
46 | SKIPPED = RTEXITCODE_SKIPPED;
|
---|
47 | ## Bad-testbox.
|
---|
48 | RTEXITCODE_BAD_TESTBOX = 32;
|
---|
49 | ## Bad-testbox.
|
---|
50 | BAD_TESTBOX = RTEXITCODE_BAD_TESTBOX;
|
---|
51 |
|
---|