davidljung / rl-glue

Automatically exported from code.google.com/p/rl-glue
0 stars 1 forks source link

Make builds tests because I can't have "make check" only build them #87

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If I try to make the tests using check_PROGRAMS, I get errors like:

Making all in tests
 cd .. && /bin/sh
/Users/btanner/Documents/Java-Projects/rl-glue/config/missing --run
automake-1.9 --foreign  tests/Makefile
automake-1.9: test_1_OBJECTS should not be defined
tests/Makefile.am:1:   while processing program `test_1'
automake-1.9: test_message_OBJECTS should not be defined
tests/Makefile.am:1:   while processing program `test_message'
automake-1.9: test_rl_episode_OBJECTS should not be defined
tests/Makefile.am:1:   while processing program `test_rl_episode'
automake-1.9: test_sanity_OBJECTS should not be defined
tests/Makefile.am:1:   while processing program `test_sanity'
automake-1.9: test_state_and_seed_keys_OBJECTS should not be defined
tests/Makefile.am:1:   while processing program `test_state_and_seed_keys'
make[1]: *** [Makefile.in] Error 1
make: *** [all-recursive] Error 1

So for now, "make" makes the tests too.

Original issue reported on code.google.com by brian.ta...@gmail.com on 14 Sep 2008 at 5:51

GoogleCodeExporter commented 8 years ago
Fixed by commenting out noinst_PROGRAMS in r822.

Original comment by brian.ta...@gmail.com on 14 Sep 2008 at 6:45