cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# -*- coding: utf-8 -*-
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# $Id$
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync"""
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncTest Manager - Test Manager Constants (without a more appropriate home).
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync"""
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync__copyright__ = \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync"""
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncCopyright (C) 2012-2014 Oracle Corporation
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncThis file is part of VirtualBox Open Source Edition (OSE), as
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncavailable from http://www.virtualbox.org. This file is free software;
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncyou can redistribute it and/or modify it under the terms of the GNU
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncGeneral Public License (GPL) as published by the Free Software
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncFoundation, in version 2 as it comes in the "COPYING" file of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncVirtualBox OSE distribution. VirtualBox OSE is distributed in the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsynchope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncThe contents of this file may alternatively be used under the terms
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncof the Common Development and Distribution License Version 1.0
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync(CDDL) only, as it comes in the "COPYING.CDDL" file of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncVirtualBox OSE distribution, in which case the provisions of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncCDDL are applicable instead of those of the GPL.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncYou may elect to license modified versions of this file under the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncterms and conditions of either the GPL or the CDDL or both.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync"""
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync__version__ = "$Revision$"
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## OS agnostic.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_ksOsAgnostic = 'os-agnostic';
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## All known OSes, except the agnostic one.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# See KBUILD_OSES in kBuild/header.kmk for reference.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_kasOses = ['darwin', 'dos', 'dragonfly', 'freebsd', 'haiku', 'l4', 'linux', 'netbsd', 'nt', 'openbsd', 'os2',
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 'solaris', 'win'];
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## All known OSes, including the agnostic one.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# See KBUILD_OSES in kBuild/header.kmk for reference.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_kasOsesAll = g_kasOses + [g_ksOsAgnostic,];
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Architecture agnostic.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_ksCpuArchAgnostic = 'noarch';
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## All known CPU architectures, except the agnostic one.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# See KBUILD_ARCHES in kBuild/header.kmk for reference.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_kasCpuArches = ['amd64', 'x86', 'sparc32', 'sparc64', 's390', 's390x', 'ppc32', 'ppc64', 'mips32', 'mips64', 'ia64',
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 'hppa32', 'hppa64', 'arm', 'alpha'];
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## All known CPU architectures, except the agnostic one.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# See KBUILD_ARCHES in kBuild/header.kmk for reference.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_kasCpuArchesAll = g_kasCpuArches + [g_ksCpuArchAgnostic,];
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## All known build types
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# See KBUILD_TYPE in kBuild/header.kmk for reference.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_kasBuildTypesAll = [ 'release', 'strict', 'profile', 'debug' ];
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## OS and CPU architecture agnostic.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_ksOsDotArchAgnostic = 'os-agnostic.noarch';
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Combinations of all OSes and CPU architectures, except the two agnostic ones.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# We do some of them by hand to avoid offering too many choices.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_kasOsDotCpus = \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync[
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 'darwin.amd64', 'darwin.x86', 'darwin.ppc32', 'darwin.ppc64', 'darwin.arm',
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 'dos.x86',
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 'dragonfly.amd64', 'dragonfly.x86',
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 'freebsd.amd64', 'freebsd.x86', 'freebsd.sparc64', 'freebsd.ia64', 'freebsd.ppc32', 'freebsd.ppc64', 'freebsd.arm',
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 'freebsd.mips32', 'freebsd.mips64',
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 'haiku.amd64', 'haiku.x86',
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 'l4.amd64', 'l4.x86', 'l4.ppc32', 'l4.ppc64', 'l4.arm',
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 'nt.amd64', 'nt.x86', 'nt.arm', 'nt.ia64', 'nt.mips32', 'nt.ppc32', 'nt.alpha',
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 'win.amd64', 'win.x86', 'win.arm', 'win.ia64', 'win.mips32', 'win.ppc32', 'win.alpha',
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 'os2.x86',
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync 'solaris.amd64', 'solaris.x86', 'solaris.sparc32', 'solaris.sparc64',
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync];
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncfor sOs in g_kasOses:
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync if sOs not in ['darwin', 'dos', 'dragonfly', 'freebsd', 'haiku', 'l4', 'nt', 'win', 'os2', 'solaris']:
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync for sArch in g_kasCpuArches:
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync g_kasOsDotCpus.append(sOs + '.' + sArch);
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_kasOsDotCpus.sort();
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## Combinations of all OSes and CPU architectures, including the two agnostic ones.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_kasOsDotCpusAll = [g_ksOsDotArchAgnostic]
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_kasOsDotCpusAll.extend(g_kasOsDotCpus);
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncfor sOs in g_kasOsesAll:
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync g_kasOsDotCpusAll.append(sOs + '.' + g_ksCpuArchAgnostic);
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncfor sArch in g_kasCpuArchesAll:
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync g_kasOsDotCpusAll.append(g_ksOsAgnostic + '.' + sArch);
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncg_kasOsDotCpusAll.sort();
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync