1 | @echo off
|
---|
2 | REM $Id: autoexec-testbox.cmd 69447 2017-10-27 16:34:26Z vboxsync $
|
---|
3 | REM REM @file
|
---|
4 | REM VirtualBox Validation Kit - testbox script, automatic execution wrapper.
|
---|
5 | REM
|
---|
6 |
|
---|
7 | REM
|
---|
8 | REM Copyright (C) 2006-2017 Oracle Corporation
|
---|
9 | REM
|
---|
10 | REM This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
11 | REM available from http://www.virtualbox.org. This file is free software;
|
---|
12 | REM you can redistribute it and/or modify it under the terms of the GNU
|
---|
13 | REM General Public License (GPL) as published by the Free Software
|
---|
14 | REM Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
15 | REM VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
16 | REM hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
17 | REM
|
---|
18 | REM The contents of this file may alternatively be used under the terms
|
---|
19 | REM of the Common Development and Distribution License Version 1.0
|
---|
20 | REM (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
21 | REM VirtualBox OSE distribution, in which case the provisions of the
|
---|
22 | REM CDDL are applicable instead of those of the GPL.
|
---|
23 | REM
|
---|
24 | REM You may elect to license modified versions of this file under the
|
---|
25 | REM terms and conditions of either the GPL or the CDDL or both.
|
---|
26 | REM
|
---|
27 |
|
---|
28 | @echo "$Id: autoexec-testbox.cmd 69447 2017-10-27 16:34:26Z vboxsync $"
|
---|
29 | @echo on
|
---|
30 | setlocal EnableExtensions
|
---|
31 | set exe=python.exe
|
---|
32 | for /f %%x in ('tasklist /NH /FI "IMAGENAME eq %exe%"') do if %%x == %exe% goto end
|
---|
33 | %SystemDrive%\Python27\python.exe %SystemDrive%\testboxscript\testboxscript\testboxscript.py --testrsrc-server-type=cifs --builds-server-type=cifs
|
---|
34 | pause
|
---|
35 | :end
|
---|