NOAA-EMC / NCEPLIBS-ip2

Other
1 stars 4 forks source link

make tests not working? #12

Closed edwardhartnett closed 3 years ago

edwardhartnett commented 4 years ago

I build this package with:

cmake -DCMAKE_PREFIX_PATH=/home/ed/NCEPLIBS/NCEPLIBS-sp -DCMAKE_INSTALL_PREFIX=/home/ed/NCEPLIBS/NCEPLIBS-ip2 ..

But when I try make tests it doesn't work:

(base) ed@mikado:~/NCEPLIBS-ip2/b$ make tests
make: *** No rule to make target 'tests'.  Stop.
(base) ed@mikado:~/NCEPLIBS-ip2/b$ make test
make: *** No rule to make target 'test'.  Stop.
edwardhartnett commented 4 years ago

OK, I see we have an ENABLE_TESTS option that's off by default.

We want to remove that option and have testing always enabled by default. That's the normal way to do things and it will work fine for us too.