tools: make autotest-PAT to auto-compile & run only tests matching PAT
This commit is contained in:
		
							parent
							
								
									130909c473
								
							
						
					
					
						commit
						a55046b4d6
					
				
							
								
								
									
										3
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
									
									
									
									
								
							| @ -138,6 +138,9 @@ auto: sp | |||||||
| autotest: sp | autotest: sp | ||||||
| 	cd hledger; $(AUTOBUILD) $(MAIN) -o ../bin/hledger $(BUILDFLAGS) --run test | 	cd hledger; $(AUTOBUILD) $(MAIN) -o ../bin/hledger $(BUILDFLAGS) --run test | ||||||
| 
 | 
 | ||||||
|  | autotest-%: sp | ||||||
|  | 	cd hledger; $(AUTOBUILD) $(MAIN) -o ../bin/hledger $(BUILDFLAGS) --run test $* | ||||||
|  | 
 | ||||||
| autoweb: sp | autoweb: sp | ||||||
| 	cd hledger-web; $(AUTOBUILD) hledger-web.hs -o ../bin/hledger-web $(BUILDFLAGS) -DDEVELOPMENT --run -B --port 5001 --base-url http://localhost:5001 -f test.journal | 	cd hledger-web; $(AUTOBUILD) hledger-web.hs -o ../bin/hledger-web $(BUILDFLAGS) -DDEVELOPMENT --run -B --port 5001 --base-url http://localhost:5001 -f test.journal | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user