10 |
|
IMG_CMP = radcompare -rms 0.08 -max 1.5 |
11 |
|
|
12 |
|
# Default target is to test everything |
13 |
< |
all: test-xform test-trans2-def test-trans2-fish test-dielectric-def \ |
13 |
> |
all: test-xform \ |
14 |
> |
test-mixtex-def test-mixtex-fish test-mixtex-plan tex-mixtex-rplan \ |
15 |
> |
test-trans2-def test-trans2-fish test-dielectric-def \ |
16 |
|
test-dielectric-fish test-glass-def test-glass-fish test-glass-up \ |
17 |
|
test-tfunc-def test-tfunc-fish test-inst-def test-inst-fish \ |
18 |
|
test-mesh-def test-mesh-cyl test-mirror-fish test-mist-def \ |
19 |
< |
test-trans-def test-trans-fish test-patterns-def test-mixtex-def |
19 |
> |
test-trans-def test-trans-fish test-patterns-def test-patterns-plan |
20 |
|
|
21 |
|
clean: |
22 |
< |
rm -f *.oct *.amb *_ill.dat *_*.hdr *.unf combined.rad |
22 |
> |
rm -f *.oct *.amb *_ill.dat blinds_ill?.dat *_*.hdr *.unf combined.rad |
23 |
|
|
24 |
|
# Special test of xform |
25 |
|
|
395 |
|
|
396 |
|
### End patterns-def tests |
397 |
|
|
398 |
+ |
### Reference and test for patterns view plan ### |
399 |
+ |
|
400 |
+ |
test-patterns-plan: ref/patterns_plan.hdr patterns_plan.hdr |
401 |
+ |
$(RDU_PFILT) patterns_plan.hdr | $(IMG_CMP) ref/patterns_plan.hdr - |
402 |
+ |
|
403 |
+ |
ref/patterns_plan.hdr: |
404 |
+ |
make patterns_plan.hdr |
405 |
+ |
$(RDU_PFILT) patterns_plan.hdr > ref/patterns_plan.hdr |
406 |
+ |
|
407 |
+ |
patterns_plan.hdr: patterns.oct |
408 |
+ |
rad -v plan patterns.rif |
409 |
+ |
|
410 |
+ |
### End patterns-plan tests |
411 |
+ |
|
412 |
|
### Octree for mixtex ### |
413 |
|
|
414 |
|
mixtex.oct: mixtex.rif |
427 |
|
rad -v def mixtex.rif |
428 |
|
|
429 |
|
### End mixtex-def tests |
430 |
+ |
|
431 |
+ |
### Reference and test for mixtex view fish ### |
432 |
+ |
|
433 |
+ |
test-mixtex-fish: ref/mixtex_fish.hdr mixtex_fish.hdr |
434 |
+ |
$(RDU_PFILT) mixtex_fish.hdr | $(IMG_CMP) ref/mixtex_fish.hdr - |
435 |
+ |
|
436 |
+ |
ref/mixtex_fish.hdr: |
437 |
+ |
make mixtex_fish.hdr |
438 |
+ |
$(RDU_PFILT) mixtex_fish.hdr > ref/mixtex_fish.hdr |
439 |
+ |
|
440 |
+ |
mixtex_fish.hdr: mixtex.oct |
441 |
+ |
rad -v fish mixtex.rif |
442 |
+ |
|
443 |
+ |
### End mixtex-fish tests |
444 |
+ |
|
445 |
+ |
### Reference and test for mixtex view plan ### |
446 |
+ |
|
447 |
+ |
test-mixtex-plan: ref/mixtex_plan.hdr mixtex_plan.hdr |
448 |
+ |
$(RDU_PFILT) mixtex_plan.hdr | $(IMG_CMP) ref/mixtex_plan.hdr - |
449 |
+ |
|
450 |
+ |
ref/mixtex_plan.hdr: |
451 |
+ |
make mixtex_plan.hdr |
452 |
+ |
$(RDU_PFILT) mixtex_plan.hdr > ref/mixtex_plan.hdr |
453 |
+ |
|
454 |
+ |
mixtex_plan.hdr: mixtex.oct |
455 |
+ |
rad -v plan mixtex.rif |
456 |
+ |
|
457 |
+ |
### End mixtex-plan tests |
458 |
+ |
|
459 |
+ |
### Reference and test for mixtex view rplan ### |
460 |
+ |
|
461 |
+ |
test-mixtex-rplan: ref/mixtex_rplan.hdr mixtex_rplan.hdr |
462 |
+ |
$(RDU_PFILT) mixtex_rplan.hdr | $(IMG_CMP) ref/mixtex_rplan.hdr - |
463 |
+ |
|
464 |
+ |
ref/mixtex_rplan.hdr: |
465 |
+ |
make mixtex_rplan.hdr |
466 |
+ |
$(RDU_PFILT) mixtex_rplan.hdr > ref/mixtex_rplan.hdr |
467 |
+ |
|
468 |
+ |
mixtex_rplan.hdr: mixtex.oct |
469 |
+ |
rad -v rplan mixtex.rif |
470 |
+ |
|
471 |
+ |
### End mixtex-rplan tests |