VirtualBox

Changeset 69452 in vbox


Ignore:
Timestamp:
Oct 27, 2017 5:06:06 PM (7 years ago)
Author:
vboxsync
Message:

ValidationKit: scm update

Location:
trunk/src/VBox/ValidationKit
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/.scm-settings

    r69447 r69452  
    2929--license-ose-dual
    3030
    31 *.c16:             --treat-as .c
    32 *.c32:             --treat-as .c
    33 *.c64:             --treat-as .c
     31*.c16:                                  --treat-as .c
     32*.c32:                                  --treat-as .c
     33*.c64:                                  --treat-as .c
    3434
    35 /testdriver/*.ps1: --treat-as Makefile
     35*.css:                                  --treat-as .h
     36*.js:                                   --treat-as .h
    3637
     38/testdriver/*.ps1:                      --treat-as Makefile
     39/testmanager/apache-template-*.conf:    --treat-as Makefile
     40
     41# Skip stuff without licenses and such.
    3742--filter-out-files *.txt
    3843--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  
    2828#include "bs3-cmn-instantiate-common.h"
    2929
    30 
  • trunk/src/VBox/ValidationKit/jshintrc.js

    r52776 r69452  
    33 * JSHint configuration file.
    44 */
     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
    527{
    628    "laxbreak": true
  • trunk/src/VBox/ValidationKit/testdriver/win-vbox-net-drvstore-cleanup.ps1

    • Property svn:eol-style changed from CRLF to native
  • trunk/src/VBox/ValidationKit/testdriver/win-vbox-net-uninstall.ps1

    • Property svn:eol-style changed from CRLF to native
  • trunk/src/VBox/ValidationKit/tests/audio/tdGuestHostTimings.py

    r69450 r69452  
    6262                         sKind = 'Windows7', acCpusSup = range(1, 2), fIoApic = True, sFirmwareType = 'bios',
    6363                            asParavirtModesSup = ['hyperv'], asVirtModesSup = ['hwvirt-np'], sHddControllerType = 'SATA Controller');
    64                            
     64
    6565        self.oTestVmSet.aoTestVms.append(oTestVm);
    6666
     
    8787    def actionConfig(self):
    8888        return True
    89  
     89
    9090    def actionExecute(self):
    9191        #self.sTempPathHost  = os.environ.get("IPRT_TMPDIR")
     
    117117            processWaitResult = oProcess.waitFor(self.oVBoxMgr.constants.ProcessWaitForFlag_Start, 1000)
    118118            reporter.log("Started: pid %d, waitResult %d" % (oProcess.PID, processWaitResult))
    119            
     119
    120120            processWaitResult = oProcess.waitFor(self.oVBoxMgr.constants.ProcessWaitForFlag_Terminate, 2 * duration * 1000)
    121121            reporter.log("Terminated: pid %d, waitResult %d" % (oProcess.PID, processWaitResult))
     
    123123
    124124            absFileName = self.seekLatestAudioFileName(oGuestSession, duration)
    125            
     125
    126126            if absFileName is None:
    127127                reporter.testFailure("Unable to find audio file")
    128128                continue
    129            
     129
    130130            reporter.log("Checking audio file '" + absFileName + "'")
    131            
     131
    132132            diff = self.checkGuestHostTimings(absFileName + ".timing")
    133133            if diff is not None:
     
    139139                    if diff > 0.005: # 0.5% is probably good threshold here
    140140                        reporter.testFailure("Guest sends audio buffers too slowly")
    141                        
     141
    142142                reporter.testDone()
    143143            else:
     
    148148        del oGuest
    149149        del oConsole
    150        
     150
    151151        return True
    152152
     
    180180        oSession = self.oVBoxMgr.mgr.getSessionObject(oVirtualBox)
    181181        oMachine.lockMachine(oSession, self.oVBoxMgr.constants.LockType_Shared)
    182        
     182
    183183        self.doTest(oSession);
    184184
    185         oSession.unlockMachine()   
     185        oSession.unlockMachine()
    186186
    187187        del oSession
     
    193193
    194194        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
    196196        # So that sorting by name = sorting by creation date
    197197        listOfFiles.sort(reverse = True)
     
    200200            if not fileName.endswith(".wav"):
    201201                continue
    202                
     202
    203203            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)
    206206            statInfo = os.stat(absFileName)
    207207            if statInfo.st_size > 100:
     
    223223            diff = float(guestTime - hostTime) / hostTime
    224224            return diff
    225        
     225
    226226        return
    227227
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette