test/ref: Use separate .out files
Use different .out files for different options / targets. This allows make -j N to work. Previously all test.*.*.prgs would use the same test.out file. Now test.*.*.out is also used.
This commit is contained in:
parent
d31171164e
commit
8891a896b5
1 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,8 @@ define PRG_template
|
|||
$(WORKDIR)/%.$1.$2.prg: %.c $(WORKDIR)/%.ref $(DIFF)
|
||||
$(if $(QUIET),echo ref/$$*.$1.$2.prg)
|
||||
$(CL65) -t sim$2 $$(CC65FLAGS) -$1 -o $$@ $$< $(NULLERR)
|
||||
$(SIM65) $(SIM65FLAGS) $$@ > $(WORKDIR)/$$*.out
|
||||
$(DIFF) $(WORKDIR)/$$*.out $(WORKDIR)/$$*.ref
|
||||
$(SIM65) $(SIM65FLAGS) $$@ > $(WORKDIR)/$$*.$1.$2.out
|
||||
$(DIFF) $(WORKDIR)/$$*.$1.$2.out $(WORKDIR)/$$*.ref
|
||||
|
||||
endef # PRG_template
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue