Project

General

Profile

« Previous | Next » 

Revision 4383

input.Makefile: Testing: %-ok: Rename the test output to the accepted test output instead of copying it, because outputs of successful (including newly accepted) tests should be removed to reduce clutter (as $(runTest) does)

View differences:

inputs/input.Makefile
399 399

  
400 400
# Accepts a test output: make <test_output_path>-ok
401 401
%-ok: _always
402
	$(CP) $* $(call testRef,$*)
402
	mv $* $(call testRef,$*)
403 403

  
404 404
accept-all: _always
405 405
	+yes|$(selfMake) test

Also available in: Unified diff