mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-03 19:47:15 +00:00 
			
		
		
		
	lib/drmtest: restore in_fixture assert
I didn't really want to revert those, too ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
		
							parent
							
								
									ad0f081f2b
								
							
						
					
					
						commit
						02c0d20fa8
					
				@ -654,6 +654,8 @@ static enum {
 | 
			
		||||
 | 
			
		||||
bool __igt_fixture(void)
 | 
			
		||||
{
 | 
			
		||||
	assert(!in_fixture);
 | 
			
		||||
 | 
			
		||||
	if (igt_only_list_subtests())
 | 
			
		||||
		return false;
 | 
			
		||||
 | 
			
		||||
@ -666,11 +668,15 @@ bool __igt_fixture(void)
 | 
			
		||||
 | 
			
		||||
void __igt_fixture_complete(void)
 | 
			
		||||
{
 | 
			
		||||
	assert(in_fixture);
 | 
			
		||||
 | 
			
		||||
	in_fixture = false;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void __igt_fixture_end(void)
 | 
			
		||||
{
 | 
			
		||||
	assert(in_fixture);
 | 
			
		||||
 | 
			
		||||
	in_fixture = false;
 | 
			
		||||
	longjmp(igt_subtest_jmpbuf, 1);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user