search for: bin_tests

Displaying 2 results from an estimated 2 matches for "bin_tests".

2014 Sep 04
2
Autotools help needed
...ls to allow me to include fish.c in a C file containing a bunch of unit tests. In order to do that I need to convince it add include path (-I../) to gcc for that particular file (test-quoting.c originally, but dash seems to make troubles as well). I came up with this (snippet from Makefile.am): bin_TESTS = testquoting testquoting_CFLAGS = -I../ TESTS = testquoting And it does not work (snippet of make check output): gcc -std=gnu99 -std=gnu99 -g -O2 testquoting.c -o testquoting In file included from testquoting.c:4:0: fish.c:19:20: fatal error: config.h: No such file or directory #include...
2014 Sep 05
2
Re: Autotools help needed
...ile containing a bunch of unit tests. In order to do that I need to >> convince it add include path (-I../) to gcc for that particular file >> (test-quoting.c originally, but dash seems to make troubles as well). >> I came up with this (snippet from Makefile.am): >> >> bin_TESTS = testquoting > IIRC this isn't needed if your test is already added to TESTS. Indeed > >> testquoting_CFLAGS = -I../ > Try with testquoting_CPPFLAGS. Tried, it does cut it either.