test: disable CapturableScreen tests on Windows x64 (#41543)
* test: disable CapturableScreen tests on Windows x64 * test: disable js-execute-iframe" case should not crash on win 32-bit
This commit is contained in:
		
					parent
					
						
							
								f826506218
							
						
					
				
			
			
				commit
				
					
						fb1b5ca4ce
					
				
			
		
					 2 changed files with 8 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -40,9 +40,13 @@ const shouldRunCase = (crashCase: string) => {
 | 
			
		|||
    case 'quit-on-crashed-event': {
 | 
			
		||||
      return (process.platform !== 'win32' || process.arch !== 'ia32');
 | 
			
		||||
    }
 | 
			
		||||
    // TODO(jkleinsc) fix this test on Linux on arm/arm64
 | 
			
		||||
    // TODO(jkleinsc) fix this test on Linux on arm/arm64 and 32bit windows
 | 
			
		||||
    case 'js-execute-iframe': {
 | 
			
		||||
      return (process.platform !== 'linux' || (process.arch !== 'arm64' && process.arch !== 'arm'));
 | 
			
		||||
      if (process.platform === 'win32') {
 | 
			
		||||
        return process.arch !== 'ia32';
 | 
			
		||||
      } else {
 | 
			
		||||
        return (process.platform !== 'linux' || (process.arch !== 'arm64' && process.arch !== 'arm'));
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
    default: {
 | 
			
		||||
      return true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue