Commit Graph

297 Commits

Author SHA1 Message Date
Christophe de Dinechin 1a1856c3af Remove the need to say 'HAVE_' in 'CONFIG' 2018-04-04 10:20:15 +02:00
Christophe de Dinechin 9c7547477e Documentation fixes 2018-04-04 10:20:15 +02:00
Christophe de Dinechin 1f5b186b8e Update the documentation 2018-04-04 10:20:15 +02:00
Christophe de Dinechin 52846e3139 Add gitlab CI integration 2018-04-04 10:20:15 +02:00
Christophe de Dinechin 93d13f8ecd File name mangling when building configuration steps
This is to avoid problems on Windows, where a file name cannot
contain < or > and as a result, tests for HAVE_<unistd.h> failed.
2018-04-04 10:20:15 +02:00
Christophe de Dinechin 2b627dd62b Replace .runtest with .test, I get it wrong each time I try to use it manually 2018-04-04 10:20:15 +02:00
Christophe de Dinechin faeb41efd2 Add check for struct sigaction 2018-04-04 10:20:15 +02:00
Christophe de Dinechin 11393dc8af Make sure we find configuration checks in build directory 2018-04-04 10:20:15 +02:00
Christophe de Dinechin 0f1266d53b Append output of executing the test program, so that we can add other #define's
The sbrk example shows the result of sbrk(0) first run.
2018-04-04 10:20:15 +02:00
Christophe de Dinechin 5ee5fafc3f Some factorization 2018-04-04 10:20:15 +02:00
Christophe de Dinechin 26dedc59e1 Check for library presence 2018-04-04 10:20:15 +02:00
Christophe de Dinechin 3293ab17f8 Link and execute the test program for completeness 2018-04-04 10:20:15 +02:00
Christophe de Dinechin 0a88f02d71 Add check for functions using a configuration file check 2018-04-04 10:20:15 +02:00
Christophe de Dinechin a1f04b6cf4 Separate configuration generation rules in config.arch.mk 2018-04-04 10:19:40 +02:00
Christophe de Dinechin 62b064bd2f Add config.h to list of things to clean 2018-04-04 10:19:40 +02:00
Christophe de Dinechin 01f21a78fb Further effort to make definitions compatible with autoconf output 2018-04-04 10:19:40 +02:00
Christophe de Dinechin aa38d293f3 Improve compatibility with autoconf by using config.h and similar #define names 2018-04-04 10:19:40 +02:00
Christophe de Dinechin 6fe7280a78 Add ability to check specific headers like autoconf 2018-04-04 10:19:40 +02:00
Christophe de Dinechin cbae7427e8 Remove stray 1 in rules.mk 2018-04-04 10:19:40 +02:00
Christophe de Dinechin 28c8dda7c6 Single-pass dependency generation 2018-04-04 10:19:40 +02:00
Christophe de Dinechin 4dad7dfda9 Fix for MinGW, time does not work in subshells 2018-04-04 10:19:40 +02:00
Christophe de Dinechin 350cba41a8 Attempt to avoid complaints in MinGW that 'fmt' does not exist during depends 2018-04-04 10:19:40 +02:00
Christophe de Dinechin 649859601c Leave debug information for opt builds 2018-04-04 10:19:40 +02:00
Christophe de Dinechin 8fe4ce84e2 Fix name of tests being run for .c or .cpp TESTS on MinGW 2018-04-04 10:19:39 +02:00
Christophe de Dinechin c745b4411b Use GNU extensions also for C++11 2018-04-04 10:19:39 +02:00
Christophe de Dinechin b80031f737 Activate standard C++11, not older standard 2018-04-04 10:19:39 +02:00
Christophe de Dinechin 21f8ba43ec Make COLORIZE overridable 2018-04-04 10:19:39 +02:00
Christophe de Dinechin df15e9dd69 Put config.$(BUILDENV).mk at end to help with variable overrides 2018-04-04 10:19:39 +02:00
Christophe de Dinechin f147fd7689 Remove --line-buffered for MinGW 2018-04-04 10:19:39 +02:00
Christophe de Dinechin 85b33cbdc5 Replace 'install' with 'cp' on MinGW 2018-04-04 10:19:39 +02:00
Christophe de Dinechin dcfb55cedc Add special rules for MinGW
Some (all?) variants of MinGW do not have a working 'fmt'.
This is not indispensable to the rule working, it makes it just look good.

The sed -e 's/\\\\...' rule appears necessary when executing the
command within 'make'. This is definitely a bug. If I execute the
command within the Windows CMD, I need the extra \\. If I execute the
command within bash or sh, I do not.
2018-04-04 10:19:39 +02:00
Christophe de Dinechin 4efdc5c604 Remove dependency on 'fmt' tool, missing from some MinGW variants 2018-04-04 10:19:39 +02:00
Christophe de Dinechin 8fa690245d Show the full paths during copies 2018-04-04 10:19:39 +02:00
Christophe de Dinechin 621e311ff0 Make message for copies look better 2018-04-04 10:19:39 +02:00
Christophe de Dinechin 99868b4ab4 Make sure we build the target before testing 2018-04-04 10:19:39 +02:00
Christophe de Dinechin a6089c4090 Add ability to add per-test test arguments (TEST_ARGS) and command (TEST_CMD) 2018-04-04 10:19:39 +02:00
Christophe de Dinechin 0dc453c3ac Make test rules more useful, detect error on PRODUCTS extension 2018-04-04 10:19:39 +02:00
Christophe de Dinechin c2edd48a05 Add rules for executing C / C++ tests directly 2018-04-04 10:19:39 +02:00
Christophe de Dinechin 5afb8df97e Remove parallel info 2018-04-04 10:19:39 +02:00
Christophe de Dinechin 019d9c091d Fix mis-definition in config.cygwin.mk 2018-04-04 10:19:39 +02:00
Christophe de Dinechin 1f376affa9 Make sure we create the installation directories 2018-04-04 10:19:39 +02:00
Christophe de Dinechin 48072b16fa Clarify the role of libraries 2018-04-04 10:19:39 +02:00
Christophe de Dinechin 4820215877 Fix rendering of `make help` in README.md 2018-04-04 10:19:39 +02:00
Christophe de Dinechin 1e2424c23c Fix the default build with no BUILDENV set 2018-04-04 10:19:39 +02:00
Christophe de Dinechin e4aec45c89 Add example 2018-04-04 10:19:39 +02:00
Christophe de Dinechin 1c3c0e606c Initial state 2018-04-04 10:19:24 +02:00
Christophe de Dinechin 5645e330fc Initial commit 2017-03-24 23:22:10 +01:00