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.17 by greg, Mon Jan 7 21:11:24 2019 UTC vs.
Revision 1.22 by greg, Tue Jun 30 18:51:30 2020 UTC

# Line 3 | Line 3
3   # Render and primitive type testing
4   #
5  
6 < # Number of processes to use on tests that test multi-core
6 > # Number of processes to use on tests that run multi-core
7   NPROC = 2
8  
9   # Image reduction for comparisons
# Line 13 | Line 13 | RDU_PFILT = pfilt -1 -r 1 -x 128 -y 128 -pa 1
13   IMG_CMP = radcompare -rms 0.07 -max 1.5
14  
15   # Default target is to test everything
16 < all:    test-xform test-oconv test-rad test-rfluxmtx \
16 > all:    test-xform test-oconv test-rad test-rfluxmtx test-rpiece \
17 > test-rpict test-mkpmap \
18   test-mixtex-def test-mixtex-fish test-mixtex-plan test-mixtex-rplan \
19   test-trans2-def test-trans2-fish test-dielectric-def \
20   test-dielectric-fish test-glass-def test-glass-fish test-glass-up \
21   test-tfunc-def test-tfunc-fish test-inst-def test-inst-fish \
22   test-mesh-def test-mesh-cyl test-mirror-fish test-mist-def \
23   test-trans-def test-trans-fish test-patterns-def test-patterns-plan \
24 < test-rtrace
24 > test-rtrace test-obj2mesh
25  
26   clean:
27          rm -f *.oct *.amb *_ill.dat blinds_ill?.dat *_*.hdr *.unf \
28   *.[cg]pm{,.leaf} inst_rad.txt combined.rad rfmirror.mtx
29  
30 + ### Test Aliases ###
31 +
32 + test-rpict:     test-mirror-fish
33 +
34 + test-rpiece test-mkpmap:        test-mixtex-def
35 +
36   ### Special test of xform ###
37  
38 < test-xform:     combined_scene.rad
32 <        xform -f combined_scene.rad | grep -v '^[       ]*#' > combined.rad
38 > test-xform:     combined.rad
39          radcompare -max 0.04 ref/combined.rad combined.rad
40  
41 + combined.rad:   combined_scene.rad
42 +        xform -f combined_scene.rad | grep -v '^[       ]*#' > combined.rad
43 +
44   ### Special test of rad ###
45  
46   test-rad:       inst.rif
47          rad -n -s -e inst.rif > inst_rad.txt
48          radcompare ref/inst_rad.txt inst_rad.txt
49  
50 < ### Special test of oconv ###
50 > ### Special tests of oconv and obj2mesh ###
51  
52   test-oconv:     inst.oct
53          radcompare ref/inst.oct inst.oct
54  
55 + test-obj2mesh:  cab.obj
56 +        obj2mesh -w cab.obj | radcompare ref/cab.rtm -
57 +
58   ### Special test of rtrace ###
59  
60   test-rtrace:    ref/mirror_fish.hdr  rtmirror_fish.hdr
# Line 58 | Line 70 | rtmirror_fish.hdr:     mirror.oct
70   ### Special test for rfluxmtx (and rcontrib) ###
71  
72   test-rfluxmtx:  ref/rfmirror.mtx rfmirror.mtx
73 <        radcompare -max .4 -rms .05 ref/rfmirror.mtx rfmirror.mtx
73 >        radcompare -max .4 -rms .05 -rel 1e-4 ref/rfmirror.mtx rfmirror.mtx
74  
75   rfmirror.mtx:   mirror.rad dummysky.rad basic.mat diorama_walls.rad \
76   closed_end.rad front_cap.rad glass_pane.rad antimatter_portal.rad
# Line 245 | Line 257 | mirror_fish.hdr:       mirror.oct
257  
258   ### End  mirror-fish  tests
259  
248 ### Octree for    mist ###
249
250 mist.oct:       mist.rif
251        rad -v 0    mist.rif
252
260   ### Reference and test for    mist view   def ###
261  
262   test-mist-def:  ref/mist_def.hdr    mist_def.hdr
# Line 259 | Line 266 | ref/mist_def.hdr:
266          make    mist_def.hdr
267          $(RDU_PFILT)    mist_def.hdr > ref/mist_def.hdr
268  
269 < mist_def.hdr:   mist.oct
270 <        rad -v   def    mist.rif
269 > mist_def.hdr:   mist.rif
270 >        rad -N $(NPROC) mist.rif
271  
272   ### End    mist-def   tests
273  
# Line 451 | Line 458 | patterns_plan.hdr:     patterns.oct
458   ### Octree for  mixtex ###
459  
460   mixtex.oct:     mixtex.rif
461 <        rad -v 0  mixtex.rif
461 >        rad -v 0 -N $(NPROC) mixtex.rif
462  
463   ### Reference and test for  mixtex view   def ###
464  
# Line 463 | Line 470 | ref/mixtex_def.hdr:
470          $(RDU_PFILT)  mixtex_def.hdr > ref/mixtex_def.hdr
471  
472   mixtex_def.hdr: mixtex.oct
473 <        rad -v   def  mixtex.rif
473 >        rad -v def -N $(NPROC) mixtex.rif
474  
475   ### End  mixtex-def   tests
476  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines