ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/test/renders/Makefile
(Generate patch)

Comparing ray/test/renders/Makefile (file contents):
Revision 1.33 by greg, Thu Feb 18 23:24:12 2021 UTC vs.
Revision 1.38 by greg, Fri Dec 15 16:31:32 2023 UTC

# Line 18 | Line 18 | 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 test-prism1-fish test-prism2-fish \
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 \
23 test-trans2-def test-trans2-fish test-trans2-win test-dielectric-def \
24 test-dielectric-fish test-glass-def test-glass-fish test-glass-up \
24   test-tfunc-def test-tfunc-fish test-inst-def test-inst-fish \
25 < test-mesh-def test-mesh-cyl test-mesh-cyl2 test-mirror-fish test-mist-def \
26 < test-trans-def test-trans-fish test-patterns-def test-patterns-plan \
27 < test-rtrace test-obj2mesh
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
31  
32   clean:
33          rm -f *.oct *.amb *_ill.dat blinds_ill?.dat *_*.hdr *.unf \
34   *.[cg]pm{,.leaf} inst_rad.txt combined.rad rfmirror.mtx
35  
36 + ######
37 + # More-or-less evenly divided batches for NPROC=1 (redundancies removed)
38 +
39 + batch1: test-mixtex-def test-mixtex-fish test-mixtex-plan test-mixtex-rplan \
40 + test-xform test-oconv test-rad test-obj2mesh
41 +
42 + batch2: test-rfluxmtx test-mist-def test-glass-def test-glass-fish test-glass-up \
43 + test-spectra-fish
44 +
45 + batch3: test-inst-def test-inst-fish test-trans2-def test-trans2-fish test-trans2-win \
46 + test-dielectric-def test-dielectric-fish
47 +
48 + batch4: test-rtrace test-prism1-fish test-prism2-fish test-mirror-fish \
49 + test-mesh-def test-mesh-cyl test-mesh-cyl2 test-tfunc-def test-tfunc-fish \
50 + test-trans-def test-trans-fish test-patterns-def test-patterns-plan
51 +
52   ### Test Aliases ###
53  
54   test-rpict:     test-mirror-fish
# Line 61 | Line 79 | test-obj2mesh: cab.obj
79  
80   ### Special test of rtrace ###
81  
82 < test-rtrace:    ref/mirror_fish.hdr  rtmirror_fish.hdr
82 > test-rtrace:    ref/mirror_fish.hdr rtmirror_fish.hdr
83          $(RDU_PFILT) rtmirror_fish.hdr | $(IMG_CMP) -h ref/mirror_fish.hdr -
84  
85   rtmirror_fish.hdr:      mirror.oct
86          rad -v 0 mirror.rif OPT=mirror.opt
87 <        vwrays -ff -vf fish.vf -x 2048 -y 2048 | rtrace -n $(NPROC) @mirror.opt \
88 < -ffc -x 2048 -y 2048 mirror.oct | pfilt -1 -e +3 -r .6 -x /2 -y /2 \
87 >        vwrays -ff -vf fish.vf -x 2048 -y 1991 | rtrace -n $(NPROC) @mirror.opt \
88 > -ffc -x 2048 -y 1991 mirror.oct | pfilt -1 -e +3 -r .6 -x /2 -y /2 \
89   > rtmirror_fish.hdr
90          rm -f mirror.opt
91  
# Line 519 | Line 537 | mixtex_rplan.hdr:      mixtex.oct
537          rad -v rplan  mixtex.rif
538  
539   ### End  mixtex-rplan tests
540 +
541 + ### Octree for spectra
542 +
543 + spectra.oct:    spectra.rif
544 +        rad -v 0 spectra.rif
545 +
546 + ### Reference and test for spectra fish ###
547 +
548 + test-spectra-fish:      ref/spectra_fish.hdr spectra_fish.hdr
549 +        $(RDU_PFILT) spectra_fish.hdr | $(IMG_CMP) ref/spectra_fish.hdr -
550 +
551 + ref/spectra_fish.hdr:
552 +        make spectra_fish.hdr
553 +        $(RDU_PFILT) spectra_fish.hdr > ref/spectra_fish.hdr
554 +
555 + spectra_fish.hdr:       spectra.oct
556 +        rad -v fish spectra.rif
557 +
558 + ### End spectra-fish tests

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines