3 |
|
# Unit tests for tools built in src/cv |
4 |
|
# |
5 |
|
|
6 |
< |
all: test-checkBSDF test-obj2rad test-robjutil \ |
7 |
< |
test-mgf2rad test-rad2mgf |
6 |
> |
# Leaving off test-checkBSDF due to random sampling issues |
7 |
|
|
8 |
+ |
all: test-obj2rad test-robjutil test-mgf2rad test-rad2mgf |
9 |
+ |
|
10 |
|
clean: |
11 |
|
rm -f checkBSDFout.txt rounded_box_o2r.rad rounded_box_ru.rad \ |
12 |
|
sawtooth.mgf rounded_box.obj |
29 |
|
rm -f rounded_box_ru.rad |
30 |
|
|
31 |
|
test-rad2mgf: sawtooth.mgf |
32 |
< |
radcompare -c# ref/sawtooth.mgf sawtooth.mgf |
32 |
> |
radcompare -n -c# ref/sawtooth.mgf sawtooth.mgf |
33 |
|
|
34 |
< |
test-mgf2rad: sawtooth.mgf |
35 |
< |
mgf2rad sawtooth.mgf > sawtooth_rec.rad |
36 |
< |
radcompare -c# ref/sawtooth_rec.rad sawtooth_rec.rad |
37 |
< |
rm -f sawtooth_rec.rad |
34 |
> |
test-mgf2rad: testspecmat.mgf sawtooth.mgf |
35 |
> |
mgf2rad -s testspecmat.mgf sawtooth.mgf > reconv.rad |
36 |
> |
radcompare -c# ref/reconv.rad reconv.rad |
37 |
> |
rm -f reconv.rad |
38 |
|
|
39 |
|
sawtooth.mgf: sawtooth.rad sawtooth.pts |
40 |
|
rad2mgf sawtooth.rad > sawtooth.mgf |