--- ray/test/cv/Makefile 2022/02/16 18:54:13 1.1 +++ ray/test/cv/Makefile 2025/05/23 19:42:48 1.3 @@ -1,11 +1,12 @@ -# RCSid $Id: Makefile,v 1.1 2022/02/16 18:54:13 greg Exp $ +# RCSid $Id: Makefile,v 1.3 2025/05/23 19:42:48 greg Exp $ # # Unit tests for tools built in src/cv # -all: test-checkBSDF test-obj2rad test-robjutil \ -test-mgf2rad test-rad2mgf +# Leaving off test-checkBSDF due to random sampling issues +all: test-obj2rad test-robjutil test-mgf2rad test-rad2mgf + clean: rm -f checkBSDFout.txt rounded_box_o2r.rad rounded_box_ru.rad \ sawtooth.mgf rounded_box.obj @@ -28,12 +29,12 @@ test-robjutil: rounded_box.obj rm -f rounded_box_ru.rad test-rad2mgf: sawtooth.mgf - radcompare -c# ref/sawtooth.mgf sawtooth.mgf + radcompare -n -c# ref/sawtooth.mgf sawtooth.mgf -test-mgf2rad: sawtooth.mgf - mgf2rad sawtooth.mgf > sawtooth_rec.rad - radcompare -c# ref/sawtooth_rec.rad sawtooth_rec.rad - rm -f sawtooth_rec.rad +test-mgf2rad: testspecmat.mgf sawtooth.mgf + mgf2rad -s testspecmat.mgf sawtooth.mgf > reconv.rad + radcompare -c# ref/reconv.rad reconv.rad + rm -f reconv.rad sawtooth.mgf: sawtooth.rad sawtooth.pts rad2mgf sawtooth.rad > sawtooth.mgf