Daniel Martí
							
						 
						
							 
							
							
							
								
							
								04e8beed32 
								
							
								 
							
						 
						
							
							
								
								testdata: add sections to scripts/test.txt  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Daniel Martí
							
						 
						
							 
							
							
							
								
							
								19e4c098cd 
								
							
								 
							
						 
						
							
							
								
								make selection of packages configurable via GOPRIVATE  
							
							 
							
							... 
							
							
							
							Carefully select a default that will do the right thing when inside a
module, as well as when building ad-hoc packages.
This means we no longer need to look at the compiler's -std flag, which
is nice.
Also replace foo.com/ with test/, as per golang/go#37641.
Fixes  #7 . 
							
						 
						
							6 years ago  
						
					 
				
					
						
							
							
								 
								Daniel Martí
							
						 
						
							 
							
							
							
								
							
								53272a1eda 
								
							
								 
							
						 
						
							
							
								
								do less work in 'go test -short'  
							
							 
							
							... 
							
							
							
							Only reduces the approximate elapsed time on my laptop from 7.8s to
7.5s, but that's still a win. 
							
						 
						
							6 years ago  
						
					 
				
					
						
							
							
								 
								Daniel Martí
							
						 
						
							 
							
							
							
								
							
								308e984293 
								
							
								 
							
						 
						
							
							
								
								don't use regexes when searching binaries for strings  
							
							 
							
							... 
							
							
							
							This is a bit simpler, and saves us a small amount of CPU work in the
tests. 
							
						 
						
							6 years ago  
						
					 
				
					
						
							
							
								 
								Daniel Martí
							
						 
						
							 
							
							
							
								
							
								4d5ad43f10 
								
							
								 
							
						 
						
							
							
								
								allow garble to test itself  
							
							 
							
							... 
							
							
							
							With this patch, 'go install && garble test' works. 
							
						 
						
							6 years ago  
						
					 
				
					
						
							
							
								 
								Daniel Martí
							
						 
						
							 
							
							
							
								
							
								ce0137fa6a 
								
							
								 
							
						 
						
							
							
								
								don't break TestMain funcs  
							
							 
							
							... 
							
							
							
							Important for 'garble test', if a package uses one. 
							
						 
						
							6 years ago  
						
					 
				
					
						
							
							
								 
								Daniel Martí
							
						 
						
							 
							
							
							
								
							
								2067ad57aa 
								
							
								 
							
						 
						
							
							
								
								ensure that tests with separate packages work  
							
							 
							
							
							
						 
						
							6 years ago  
						
					 
				
					
						
							
							
								 
								Daniel Martí
							
						 
						
							 
							
							
							
								
							
								30524ea282 
								
							
								 
							
						 
						
							
							
								
								shorten 'go test -short' run time  
							
							 
							
							... 
							
							
							
							Down from ~11s to ~7s, as we can skip some extra checks.
While at it, avoid duplicate 'go test' builds in test.txt. 
							
						 
						
							6 years ago  
						
					 
				
					
						
							
							
								 
								Daniel Martí
							
						 
						
							 
							
							
							
								
							
								9cf7df925d 
								
							
								 
							
						 
						
							
							
								
								make "no such file" test pass on Windows  
							
							 
							
							
							
						 
						
							6 years ago  
						
					 
				
					
						
							
							
								 
								Daniel Martí
							
						 
						
							 
							
							
							
								
							
								bee30aff41 
								
							
								 
							
						 
						
							
							
								
								add initial support for running tests  
							
							 
							
							... 
							
							
							
							For now, it mainly consists of not garbling Test* funcs, and not
garbling the _testmain.go file that will run them.
Updates #6 . 
							
						 
						
							6 years ago