add tag to toggle between online and offline tests
This commit is contained in:
		
							parent
							
								
									35acf75f6b
								
							
						
					
					
						commit
						5937e7ea9d
					
				
							
								
								
									
										5
									
								
								engine/tag_offline.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								engine/tag_offline.go
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // +build !online
 | ||||||
|  | 
 | ||||||
|  | package engine | ||||||
|  | 
 | ||||||
|  | const OnlineTestEnabled = false | ||||||
							
								
								
									
										5
									
								
								engine/tag_online.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								engine/tag_online.go
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // +build online
 | ||||||
|  | 
 | ||||||
|  | package engine | ||||||
|  | 
 | ||||||
|  | const OnlineTestEnabled = true | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user