VirtualBox

Changeset 103273 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 8, 2024 9:35:20 AM (12 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161565
Message:

ValKit/tdCpuIemInstr1: 'k' is for constants, kaTestVMs isn't a constant, just an array that gets appended to the aoTestVms array. So, do it directly using list.extend().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/cpu/tdCpuIemInstr1.py

    r103228 r103273  
    7878        vbox.TestDriver.__init__(self);
    7979
    80         kaTestVMs = (
     80        self.oTestVmSet.aoTestVms.extend([
    8181            IemTestVm(self.oTestVmSet, self, 'bs3-cpu-basic-2'),
    8282            IemTestVm(self.oTestVmSet, self, 'bs3-cpu-basic-3'),
     
    9494            IemTestVm(self.oTestVmSet, self, 'bs3-cpu-state64-1'),
    9595            IemTestVm(self.oTestVmSet, self, 'bs3-cpu-weird-1'),
    96             IemTestVm(self.oTestVmSet, self, 'bs3-fpustate-1')
    97         );
     96            IemTestVm(self.oTestVmSet, self, 'bs3-fpustate-1'),
     97        ]);
    9898
    99         for oTestVm in kaTestVMs:
    100             self.oTestVmSet.aoTestVms.append(oTestVm);
    10199
    102100    #
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