| 13 |
|
IMG_CMP = radcompare -rms 0.07 -max 1.5 |
| 14 |
|
|
| 15 |
|
# Default target is to test everything |
| 16 |
< |
all: test-xform test-rfluxmtx \ |
| 16 |
> |
all: test-xform test-oconv test-rad test-rfluxmtx \ |
| 17 |
|
test-mixtex-def test-mixtex-fish test-mixtex-plan test-mixtex-rplan \ |
| 18 |
|
test-trans2-def test-trans2-fish test-dielectric-def \ |
| 19 |
|
test-dielectric-fish test-glass-def test-glass-fish test-glass-up \ |
| 24 |
|
|
| 25 |
|
clean: |
| 26 |
|
rm -f *.oct *.amb *_ill.dat blinds_ill?.dat *_*.hdr *.unf \ |
| 27 |
< |
*.[cg]pm{,.leaf} combined.rad rfmirror.mtx |
| 27 |
> |
*.[cg]pm{,.leaf} inst_rad.txt combined.rad rfmirror.mtx |
| 28 |
|
|
| 29 |
|
### Special test of xform ### |
| 30 |
|
|
| 31 |
|
test-xform: combined_scene.rad |
| 32 |
|
xform -f combined_scene.rad | grep -v '^[ ]*#' > combined.rad |
| 33 |
|
radcompare -max 0.04 ref/combined.rad combined.rad |
| 34 |
+ |
|
| 35 |
+ |
### Special test of rad ### |
| 36 |
+ |
|
| 37 |
+ |
test-rad: inst.rif |
| 38 |
+ |
rad -n -s -e inst.rif > inst_rad.txt |
| 39 |
+ |
radcompare ref/inst_rad.txt inst_rad.txt |
| 40 |
+ |
|
| 41 |
+ |
### Special test of oconv ### |
| 42 |
+ |
|
| 43 |
+ |
test-oconv: inst.oct |
| 44 |
+ |
radcompare ref/inst.oct inst.oct |
| 45 |
|
|
| 46 |
|
### Special test of rtrace ### |
| 47 |
|
|