ci: disable socket error assertion in profile_test.v
							parent
							
								
									a631078d8a
								
							
						
					
					
						commit
						c6b0ce2a07
					
				| 
						 | 
				
			
			@ -11,11 +11,13 @@ fn test_vexe_exists() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
fn test_v_profile_works() {
 | 
			
		||||
	res := os.exec('"$vexe" -profile - run vlib/v/tests/profile/calling_http_get.v') or { panic(err) }
 | 
			
		||||
	res := os.exec('"$vexe" -profile - run vlib/v/tests/profile/calling_http_get.v') or {
 | 
			
		||||
		panic(err)
 | 
			
		||||
	}
 | 
			
		||||
	// eprintln('res: $res')
 | 
			
		||||
	assert res.exit_code == 0
 | 
			
		||||
	assert res.output.len > 0
 | 
			
		||||
    assert res.output.starts_with('net: socket error')
 | 
			
		||||
	// assert res.output.starts_with('net: socket error')
 | 
			
		||||
	assert res.output.contains(' main__main')
 | 
			
		||||
	assert res.output.contains(' os__init_os_args')
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue