Commit a68735c2 authored by Roland Levillain's avatar Roland Levillain
Browse files

Improve sanity checks.

	* tests/sanity/Makefile.am (CPPFLAGS): Rename as...
	(AM_CPPFLAGS): ...this.
	(check): Rename as...
	(check-local): ...this.
	Pass CXX and CXXFLAGS variables to includes.test through the
	environment.
	Protect RHS in shell variable assignments.


git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@842 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 3a5c881c
2007-03-02 Roland Levillain <roland@lrde.epita.fr>
Improve sanity checks.
* tests/sanity/Makefile.am (CPPFLAGS): Rename as...
(AM_CPPFLAGS): ...this.
(check): Rename as...
(check-local): ...this.
Pass CXX and CXXFLAGS variables to includes.test through the
environment.
Protect RHS in shell variable assignments.
2007-01-30 Roland Levillain <roland@lrde.epita.fr>
Catch up with Static.
......
......@@ -10,17 +10,19 @@ OLN_LOCAL_CPPFLAGS = -I$(top_srcdir)/olena -I$(top_builddir)/olena
XTD_LOCAL_CPPFLAGS = -I$(top_srcdir)/extended -I$(top_builddir)/extended
STC_LOCAL_CPPFLAGS = -I$(top_srcdir)/static -I$(top_builddir)/static
MLC_LOCAL_CPPFLAGS = -I$(top_srcdir)/metalic -I$(top_builddir)/metalic
CPPFLAGS = \
AM_CPPFLAGS = \
-I$(srcdir)/.. \
$(OLN_LOCAL_CPPFLAGS) $(XTD_LOCAL_CPPFLAGS) \
$(STC_LOCAL_CPPFLAGS) $(MLC_LOCAL_CPPFLAGS)
check:
TOP_SRCDIR=$(top_srcdir) SRCDIR=$(srcdir) \
TOP_BUILDDIR=$(top_builddir) \
PATH_TO_OLN_SRCDIR=$(OLN_LOCAL_SRC) \
PATH_TO_OLN_BUILDDIR=$(OLN_LOCAL_BUILD) \
CPPFLAGS="$(CPPFLAGS) $(DEFS) -I$(top_builddir)" \
check-local:
TOP_SRCDIR="$(top_srcdir)" SRCDIR="$(srcdir)" \
TOP_BUILDDIR="$(top_builddir)" \
PATH_TO_OLN_SRCDIR="$(OLN_LOCAL_SRC)" \
PATH_TO_OLN_BUILDDIR="$(OLN_LOCAL_BUILD)" \
CXX="$(CXX)" \
CPPFLAGS="$(CPPFLAGS) $(AM_CPPFLAGS) $(DEFS) -I$(top_builddir)" \
CXXFLAGS="$(CXXFLAGS) $(AM_CXXFLAGS)" \
$(SHELL) $(srcdir)/includes.test
CLEANFILES = failures incltest.*
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment