Changeset 90243 in vbox
- Timestamp:
- Jul 19, 2021 3:46:31 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145781
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r86627 r90243 1413 1413 % (sVer, aiVerComponents[2])); 1414 1414 1415 # Convert the three integers into a floating point value. The API is table witin a1415 # Convert the three integers into a floating point value. The API is stable within a 1416 1416 # x.y release, so the third component only indicates whether it's a stable or 1417 1417 # development build of the next release. 1418 1418 self.fpApiVer = aiVerComponents[0] + 0.1 * aiVerComponents[1]; 1419 1419 if aiVerComponents[2] >= 51: 1420 if self.fpApiVer not in [ 4.3, 3.2,]:1420 if self.fpApiVer not in [6.1, 5.2, 4.3, 3.2,]: 1421 1421 self.fpApiVer += 0.1; 1422 1422 else: 1423 self.fpApiVer += 1.1; 1423 self.fpApiVer = int(self.fpApiVer) + 1.0; 1424 # fudge value to be always bigger than the nominal value (0.1 gets rounded down) 1425 if round(self.fpApiVer, 1) > self.fpApiVer: 1426 self.fpApiVer += sys.float_info.epsilon * self.fpApiVer / 2.0; 1424 1427 1425 1428 try:
Note:
See TracChangeset
for help on using the changeset viewer.