search for: testquoting_cflags

Displaying 5 results from an estimated 5 matches for "testquoting_cflags".

2014 Sep 04
2
Autotools help needed
...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 <config.h> Could you pleas...
2014 Sep 05
2
Re: Autotools help needed
...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.
2014 Nov 07
3
[PATCH 0/3] v2 readline escaping functions
From: Maros Zatko <mzatko@redhat.com> Helper functions for future support of backslash escaped spaces in filenames. There are a few tests too. Changed according to review remarks. Maros Zatko (3): fish: rl.{c, h} - escaping functions for readline fish: basic tests for readline escaping autotools: add fish/test Makefile.am | 1 + configure.ac | 1 +
2014 Oct 31
0
[PATCH 2/3] fish: basic tests for readline escaping
..._CPPFLAGS = \ + -I$(top_srcdir)/src -I$(top_builddir)/src \ + -I$(top_srcdir)/fish -I$(top_builddir)/fish \ + -I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib/lib + +#testquoting_LDADD = $(top_builddir)/fish/rl.o + + +TESTS_ENVIRONMENT = $(top_builddir)/run --test + +TESTS = \ + testquoting + +# testquoting_CFLAGS = -I$(top_srcdir) diff --git a/fish/test/testquoting.c b/fish/test/testquoting.c new file mode 100644 index 0000000..b0b525b --- /dev/null +++ b/fish/test/testquoting.c @@ -0,0 +1,120 @@ +#include <config.h> + +#include <stdlib.h> +#include <stdio.h> +#include <memory.h> + +...
2014 Oct 31
6
[PATCH 0/3] WIP readline escaping functions
From: Maros Zatko <hacxman@gmail.com> Auxiliary functions for readline to support space character escaping in filenames in future. Escaping function is taken from fish.c (used to be parse_quoted_string) plus its un-escaping counterpart. There are a few tests for both. Maros Zatko (3): fish: rl.{c,h} - escaping functions for readline fish: basic tests for readline escaping autotools: