Changeset 69452 in vbox
- Timestamp:
- Oct 27, 2017 5:06:06 PM (7 years ago)
- Location:
- trunk/src/VBox/ValidationKit
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/.scm-settings
r69447 r69452 29 29 --license-ose-dual 30 30 31 *.c16: --treat-as .c32 *.c32: --treat-as .c33 *.c64: --treat-as .c31 *.c16: --treat-as .c 32 *.c32: --treat-as .c 33 *.c64: --treat-as .c 34 34 35 /testdriver/*.ps1: --treat-as Makefile 35 *.css: --treat-as .h 36 *.js: --treat-as .h 36 37 38 /testdriver/*.ps1: --treat-as Makefile 39 /testmanager/apache-template-*.conf: --treat-as Makefile 40 41 # Skip stuff without licenses and such. 37 42 --filter-out-files *.txt 38 43 --filter-out-files *.html 44 --filter-out-files *.svg 45 --filter-out-files /testmanager/misc/htpasswd-logout 46 --filter-out-files /testmanager/misc/htpasswd-sample 47 48 # Skip the XML for database diagrams. 49 --filter-out-files /testmanager/db/TestManagerDatabase/*.xml 50 --filter-out-files /testmanager/db/TestManagerDatabase.dmd 51 52 # Skip ova test data 53 --filter-out-files *.ova 54 --filter-out-files *.pem -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-instantiate.c64
r69111 r69452 28 28 #include "bs3-cmn-instantiate-common.h" 29 29 30 -
trunk/src/VBox/ValidationKit/jshintrc.js
r52776 r69452 3 3 * JSHint configuration file. 4 4 */ 5 6 /* 7 * Copyright (C) 2012-2017 Oracle Corporation 8 * 9 * This file is part of VirtualBox Open Source Edition (OSE), as 10 * available from http://www.virtualbox.org. This file is free software; 11 * you can redistribute it and/or modify it under the terms of the GNU 12 * General Public License (GPL) as published by the Free Software 13 * Foundation, in version 2 as it comes in the "COPYING" file of the 14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 * 17 * The contents of this file may alternatively be used under the terms 18 * of the Common Development and Distribution License Version 1.0 19 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the 20 * VirtualBox OSE distribution, in which case the provisions of the 21 * CDDL are applicable instead of those of the GPL. 22 * 23 * You may elect to license modified versions of this file under the 24 * terms and conditions of either the GPL or the CDDL or both. 25 */ 26 5 27 { 6 28 "laxbreak": true -
trunk/src/VBox/ValidationKit/testdriver/win-vbox-net-drvstore-cleanup.ps1
-
Property svn:eol-style
changed from
CRLF
tonative
-
Property svn:eol-style
changed from
-
trunk/src/VBox/ValidationKit/testdriver/win-vbox-net-uninstall.ps1
-
Property svn:eol-style
changed from
CRLF
tonative
-
Property svn:eol-style
changed from
-
trunk/src/VBox/ValidationKit/tests/audio/tdGuestHostTimings.py
r69450 r69452 62 62 sKind = 'Windows7', acCpusSup = range(1, 2), fIoApic = True, sFirmwareType = 'bios', 63 63 asParavirtModesSup = ['hyperv'], asVirtModesSup = ['hwvirt-np'], sHddControllerType = 'SATA Controller'); 64 64 65 65 self.oTestVmSet.aoTestVms.append(oTestVm); 66 66 … … 87 87 def actionConfig(self): 88 88 return True 89 89 90 90 def actionExecute(self): 91 91 #self.sTempPathHost = os.environ.get("IPRT_TMPDIR") … … 117 117 processWaitResult = oProcess.waitFor(self.oVBoxMgr.constants.ProcessWaitForFlag_Start, 1000) 118 118 reporter.log("Started: pid %d, waitResult %d" % (oProcess.PID, processWaitResult)) 119 119 120 120 processWaitResult = oProcess.waitFor(self.oVBoxMgr.constants.ProcessWaitForFlag_Terminate, 2 * duration * 1000) 121 121 reporter.log("Terminated: pid %d, waitResult %d" % (oProcess.PID, processWaitResult)) … … 123 123 124 124 absFileName = self.seekLatestAudioFileName(oGuestSession, duration) 125 125 126 126 if absFileName is None: 127 127 reporter.testFailure("Unable to find audio file") 128 128 continue 129 129 130 130 reporter.log("Checking audio file '" + absFileName + "'") 131 131 132 132 diff = self.checkGuestHostTimings(absFileName + ".timing") 133 133 if diff is not None: … … 139 139 if diff > 0.005: # 0.5% is probably good threshold here 140 140 reporter.testFailure("Guest sends audio buffers too slowly") 141 141 142 142 reporter.testDone() 143 143 else: … … 148 148 del oGuest 149 149 del oConsole 150 150 151 151 return True 152 152 … … 180 180 oSession = self.oVBoxMgr.mgr.getSessionObject(oVirtualBox) 181 181 oMachine.lockMachine(oSession, self.oVBoxMgr.constants.LockType_Shared) 182 182 183 183 self.doTest(oSession); 184 184 185 oSession.unlockMachine() 185 oSession.unlockMachine() 186 186 187 187 del oSession … … 193 193 194 194 listOfFiles = os.listdir(self.sTempPathHost) 195 # Assuming that .wav files are named like 2016-11-15T12_08_27.669573100Z.wav by VBOX audio backend 195 # Assuming that .wav files are named like 2016-11-15T12_08_27.669573100Z.wav by VBOX audio backend 196 196 # So that sorting by name = sorting by creation date 197 197 listOfFiles.sort(reverse = True) … … 200 200 if not fileName.endswith(".wav"): 201 201 continue 202 202 203 203 absFileName = os.path.join(self.sTempPathHost, fileName) 204 205 # Ignore too small wav files (usually uncompleted audio streams) 204 205 # Ignore too small wav files (usually uncompleted audio streams) 206 206 statInfo = os.stat(absFileName) 207 207 if statInfo.st_size > 100: … … 223 223 diff = float(guestTime - hostTime) / hostTime 224 224 return diff 225 225 226 226 return 227 227
Note:
See TracChangeset
for help on using the changeset viewer.