VirtualBox

Changeset 96544 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Aug 29, 2022 9:40:45 AM (2 years ago)
Author:
vboxsync
Message:

Validation Kit/vbox.py: Fixes recording uploads (see @todo BUGBUG).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r96543 r96544  
    25612561                            try:
    25622562                                oScreen.enabled  = True;
    2563                                 sRecFile = os.path.join(self.sScratchPath, "recording-screen-%d.webm" % oScreen.id);
     2563                                sRecFile = os.path.join(self.sScratchPath, "recording-%s-screen-%d.webm" % (sName, oScreen.id));
    25642564                                oScreen.filename = sRecFile;
     2565                                sRecFile = oScreen.filename; # Get back the file from Main, in case it was modified somehow.
     2566
     2567                                ## @todo BUGBUG The recording stream modifies the file name internally by appending the stream ID,
     2568                                #               so we need this hack here in order to upload the file later.
     2569                                #               Needs to be handled by Main instead!
     2570                                sRecFile = os.path.join(self.sScratchPath, "recording-%s-screen-%d-%d.webm" \
     2571                                                        % (sName, oScreen.id, oScreen.id));
     2572
    25652573                                oRecFile = { "id" : oScreen.id, "file" : sRecFile };
    25662574                                self.aRecordingFiles.append(oRecFile);
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