tools: run built-in tests with a pattern
This commit is contained in:
		
							parent
							
								
									db8cb417fe
								
							
						
					
					
						commit
						7f1f392166
					
				
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							| @ -360,6 +360,11 @@ unittest-builtin: bin/hledgerdev | ||||
| 	@(bin/hledgerdev test \
 | ||||
| 		&& echo $@ PASSED) || echo $@ FAILED | ||||
| 
 | ||||
| unittest-%: bin/hledgerdev | ||||
| 	@echo unit tests: | ||||
| 	@(bin/hledgerdev test $* \
 | ||||
| 		&& echo $@ PASSED) || echo $@ FAILED | ||||
| 
 | ||||
| # XXX doesn't rebuild on hledger source changes
 | ||||
| unittest-standalone: tools/unittest | ||||
| 	@echo unit tests (standalone): | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user