| 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 |