| 4 | 
  | 
# | 
| 5 | 
  | 
 | 
| 6 | 
  | 
# Number of processes to use on tests that run multi-core | 
| 7 | 
< | 
NPROC = 2 | 
| 7 | 
> | 
ifeq ($(OS),Windows_NT)  # is Windows | 
| 8 | 
> | 
        NPROC := 1 | 
| 9 | 
> | 
else | 
| 10 | 
> | 
        NPROC := 2 | 
| 11 | 
> | 
endif | 
| 12 | 
  | 
 | 
| 13 | 
  | 
# Image reduction for comparisons | 
| 14 | 
  | 
RDU_PFILT = pfilt -1 -r 1 -x 128 -y 128 -pa 1 | 
| 15 | 
  | 
 | 
| 16 | 
  | 
# Image comparison command | 
| 17 | 
< | 
IMG_CMP = radcompare -rms 0.07 -max 1.5 | 
| 17 | 
> | 
IMG_CMP = radcompare -rms 0.1 -max 1.5 | 
| 18 | 
  | 
 | 
| 19 | 
  | 
# Default target is to test everything | 
| 20 | 
  | 
all:    test-xform test-oconv test-rad test-rfluxmtx test-rpiece \ | 
| 21 | 
< | 
test-rpict test-mkpmap \ | 
| 21 | 
> | 
test-rpict test-mkpmap test-prism1-fish test-prism2-fish \ | 
| 22 | 
  | 
test-mixtex-def test-mixtex-fish test-mixtex-plan test-mixtex-rplan \ | 
| 23 | 
< | 
test-trans2-def test-trans2-fish test-dielectric-def \ | 
| 23 | 
> | 
test-trans2-def test-trans2-fish test-trans2-win test-dielectric-def \ | 
| 24 | 
  | 
test-dielectric-fish test-glass-def test-glass-fish test-glass-up \ | 
| 25 | 
  | 
test-tfunc-def test-tfunc-fish test-inst-def test-inst-fish \ | 
| 26 | 
< | 
test-mesh-def test-mesh-cyl test-mirror-fish test-mist-def \ | 
| 26 | 
> | 
test-mesh-def test-mesh-cyl test-mesh-cyl2 test-mirror-fish test-mist-def \ | 
| 27 | 
  | 
test-trans-def test-trans-fish test-patterns-def test-patterns-plan \ | 
| 28 | 
  | 
test-rtrace test-obj2mesh | 
| 29 | 
  | 
 |