| 17 |
|
IMG_CMP = radcompare -rel 0.007 -rms 0.1 -max 1.5 |
| 18 |
|
|
| 19 |
|
# Default target is to test everything |
| 20 |
< |
all: test-xform test-oconv test-rad test-rfluxmtx test-rpiece \ |
| 21 |
< |
test-rpict test-mkpmap \ |
| 22 |
< |
test-trans2-def test-trans2-fish test-trans2-win \ |
| 23 |
< |
test-mixtex-def test-mixtex-fish test-mixtex-plan test-mixtex-rplan \ |
| 24 |
< |
test-tfunc-def test-tfunc-fish test-inst-def test-inst-fish \ |
| 25 |
< |
test-mesh-def test-mesh-cyl test-mesh-cyl2 test-mist-def \ |
| 26 |
< |
test-dielectric-def test-dielectric-fish test-trans-def \ |
| 27 |
< |
test-glass-def test-glass-fish test-glass-up \ |
| 28 |
< |
test-trans-fish test-patterns-def test-patterns-plan \ |
| 29 |
< |
test-rtrace test-mirror-fish test-obj2mesh \ |
| 30 |
< |
test-prism1-fish test-prism2-fish test-spectra-fish |
| 20 |
> |
all: batch1 batch2 batch3 batch4 |
| 21 |
|
|
| 22 |
|
clean: |
| 23 |
|
rm -f *.oct *.amb *_ill.dat blinds_ill?.dat *_*.hdr *.unf \ |
| 30 |
|
test-xform test-oconv test-rad test-obj2mesh |
| 31 |
|
|
| 32 |
|
batch2: test-rfluxmtx test-mist-def test-glass-def test-glass-fish test-glass-up \ |
| 33 |
< |
test-spectra-fish |
| 33 |
> |
test-spectra-fish test-wgmdf-def |
| 34 |
|
|
| 35 |
|
batch3: test-inst-def test-inst-fish test-trans2-def test-trans2-fish test-trans2-win \ |
| 36 |
|
test-dielectric-def test-dielectric-fish |
| 518 |
|
rad -v fish spectra.rif |
| 519 |
|
|
| 520 |
|
### End spectra-fish tests |
| 521 |
+ |
|
| 522 |
+ |
### Octree for wgmdf |
| 523 |
+ |
|
| 524 |
+ |
wgmdf.oct: wgmdf.rif |
| 525 |
+ |
rad -v 0 wgmdf.rif |
| 526 |
+ |
|
| 527 |
+ |
### Reference and test for wgmdf def ### |
| 528 |
+ |
|
| 529 |
+ |
test-wgmdf-def: wgmdf_def.hdr |
| 530 |
+ |
$(RDU_PFILT) wgmdf_def.hdr | $(IMG_CMP) ref/wgmdf_def.hdr - |
| 531 |
+ |
|
| 532 |
+ |
ref/wgmdf_def.hdr: wgmdf_def.hdr |
| 533 |
+ |
$(RDU_PFILT) wgmdf_def.hdr > ref/wgmdf_def.hdr |
| 534 |
+ |
|
| 535 |
+ |
wgmdf_def.hdr: wgmdf.oct |
| 536 |
+ |
rad -v def wgmdf.rif |
| 537 |
+ |
|
| 538 |
+ |
### End of wgmdf-def tests |