mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 03:58:27 +00:00 
			
		
		
		
	Revert "tests/gem_ctx_bad_exec: Check the errno, too"
This reverts commit 4a6a59f314f61e1e4156bb13a65efabee31a76fc.
This commit is contained in:
		
							parent
							
								
									26d237cdc2
								
							
						
					
					
						commit
						1d9512f6ce
					
				@ -101,12 +101,12 @@ igt_main
 | 
				
			|||||||
	igt_subtest("render")
 | 
						igt_subtest("render")
 | 
				
			||||||
		igt_assert(exec(fd, handle, I915_EXEC_RENDER, ctx_id) == 0);
 | 
							igt_assert(exec(fd, handle, I915_EXEC_RENDER, ctx_id) == 0);
 | 
				
			||||||
	igt_subtest("bsd")
 | 
						igt_subtest("bsd")
 | 
				
			||||||
		igt_assert(exec(fd, handle, I915_EXEC_BSD, ctx_id) != 0 && errno == ENOENT);
 | 
							igt_assert(exec(fd, handle, I915_EXEC_BSD, ctx_id) != 0);
 | 
				
			||||||
	igt_subtest("blt")
 | 
						igt_subtest("blt")
 | 
				
			||||||
		igt_assert(exec(fd, handle, I915_EXEC_BLT, ctx_id) != 0 && errno == ENOENT);
 | 
							igt_assert(exec(fd, handle, I915_EXEC_BLT, ctx_id) != 0);
 | 
				
			||||||
#ifdef I915_EXEC_VEBOX
 | 
					#ifdef I915_EXEC_VEBOX
 | 
				
			||||||
	igt_require(gem_has_vebox(fd));
 | 
						igt_require(gem_has_vebox(fd));
 | 
				
			||||||
	igt_subtest("vebox")
 | 
						igt_subtest("vebox")
 | 
				
			||||||
		igt_assert(exec(fd, handle, I915_EXEC_VEBOX, ctx_id) != 0 && errno == ENOENT);
 | 
							igt_assert(exec(fd, handle, I915_EXEC_VEBOX, ctx_id) != 0);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user