Changeset 97437 in vbox
- Timestamp:
- Nov 7, 2022 6:50:23 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/testfileset.py
r96407 r97437 320 320 if asCompatibleWith is not None: 321 321 for sOs in asCompatibleWith: 322 assert sOs in ('win', 'os2', 'darwin', 'linux', 'solaris', ), sOs;322 assert sOs in ('win', 'os2', 'darwin', 'linux', 'solaris', 'cross'), sOs; 323 323 if 'os2' in asCompatibleWith: 324 324 self.sMinStyle = 'os2'; 325 325 elif 'win' in asCompatibleWith: 326 326 self.sMinStyle = 'win'; 327 # 'cross' marks a lowest common denominator for all supported platforms. 328 # Used for Guest Control testing. 329 elif 'cross' in asCompatibleWith: 330 self.sMinStyle = 'cross'; 327 331 self.sBasePath = sBasePath; 328 332 self.sSubDir = sSubDir; … … 347 351 for ch in self.ksReservedWinOS2: 348 352 self.sFileCharset = self.sFileCharset.replace(ch, ''); 349 el se:353 elif self.sMinStyle in ('darwin', 'linux', 'solaris'): 350 354 self.sReservedTrailing = self.ksReservedTrailingUnix; 351 355 for ch in self.ksReservedUnix: 352 356 self.sFileCharset = self.sFileCharset.replace(ch, ''); 357 else: # 'cross' 358 # Filter out all reserved charsets from all platforms. 359 for ch in self.ksReservedWinOS2: 360 self.sFileCharset = self.sFileCharset.replace(ch, ''); 361 for ch in self.ksReservedUnix: 362 self.sFileCharset = self.sFileCharset.replace(ch, ''); 363 self.sReservedTrailing = self.ksReservedTrailingWinOS2 \ 364 + self.ksReservedTrailingUnix; 353 365 # More spaces and dot: 354 366 self.sFileCharset += ' ...';
Note:
See TracChangeset
for help on using the changeset viewer.