Commit Graph

102 Commits

Author SHA1 Message Date
9d77c01dd3 configure: add debugging options after compilation tests
some debugging options interfere with linker/compilation tests due to
the extra libraries that, for example, asan or ubsan draw into the
build. perform these checks fairly late to avoid these errors.
2016-05-12 17:51:10 +10:00
b814c83e21 test/json: run tests through a line wine/crlf wrapper
unit tests rely on AWKs record seperator being LF which presents issues
when running windows tests. rather than modify the tap-driver provided
by autotools (which would be extremely annoying to maintain) we run all
tests through wine-crlf.sh which will perform line ending transforms as
required.

it's a pretty braindead script, so don't do anything terrifically
extreme under it.
2016-04-27 17:13:36 +10:00
7605abeb44 backtrace/win32: enable win32 backtrace support 2016-04-19 16:08:56 +10:00
3a2b33e0df win32/handle: add simple handle wrapper 2016-04-19 16:08:25 +10:00
e321b9eee7 enable optional inline dependency build 2016-04-05 11:11:59 +10:00
815e027b24 win32 build fixes 2016-04-05 11:11:19 +10:00
aac637e3c3 build: allow maintainer mode 2016-02-26 14:57:37 +11:00
cf5e897ca7 build: correct library detection logic 2016-02-26 12:13:46 +11:00
ac897e91ea build: remove unneeded build tests 2016-02-26 12:13:19 +11:00
ea9cf6b576 build: change project name to cruft-util
moves it into line with other subprojects
2016-02-26 12:12:47 +11:00
83dd6922a6 backtrace: detect execinfo rather than platform 2016-02-26 12:12:07 +11:00
fe82fc256c string: remove unused strndup implementation 2016-02-26 12:11:26 +11:00
379e652e83 build: update for standalone pkgconfig deployment 2016-02-24 11:55:08 +11:00
c33fd2601c backtrace: add addr2line fields in output 2015-10-29 17:52:48 +11:00
62f97f0ec6 build: remove reference to long dead test Makefile 2015-06-04 22:29:23 +10:00
bbbbb675a6 test: move tests to TAP output 2015-04-13 16:45:56 +10:00
06c537918f build: add XOPEN defines for posix2008 2015-03-24 02:43:21 +11:00
5674f2a2e9 json: add basic json-schema draft 4 support 2015-03-19 00:25:50 +11:00
ecc40f2315 build: fold test makefile into primary makefile
Moving the subdir makefile into the main one lets us more easily track
dependencies for reliable builds. Previously we tended to build against
old versions of the static library when running the tests.
2015-02-13 18:02:09 +11:00
997dd3415d build: find lto-wrappers where appropriate 2015-02-04 15:59:22 +11:00
a3e3160497 build: move common autoconf calls to m4 dir 2015-01-30 16:49:14 +11:00
9962bdca87 build: disable stack protector for release 2015-01-28 14:56:36 +11:00
477f2e966b build: enable vectorizer options for release 2015-01-28 14:55:13 +11:00
9e18b9b57a whitespace 2015-01-13 18:31:03 +11:00
7045abb5ad build: don't test warning support on GCC 2015-01-10 20:06:34 +11:00
9401e7a8f7 build: ignore warnings for required extensions 2015-01-10 19:39:49 +11:00
f37654d2bb build: link to asan/ubsan for sanitizer 2015-01-08 15:19:00 +11:00
49a467aae8 build: remove unneeded use of RANLIB 2014-12-16 15:27:32 +11:00
c28545fe20 build: enable c++1y support 2014-12-16 15:27:12 +11:00
5ebb777200 build: tune code generation options 2014-12-10 13:58:43 +11:00
6af493ba46 build: disable LTO for MinGW
Avoids a probably compiler error whereby LTO static libraries cannot be
linked to applications.
2014-12-10 13:53:13 +11:00
de353c9297 build: switch from LT libraries to pure static
We only ever supported static libraries, and this greatly simplifies
argument management compiling/linking for MinGW
2014-12-10 13:51:54 +11:00
189d1f7363 build: dont redundant SUBST pkg-config variables 2014-12-05 13:18:16 +11:00
82ae659fb5 build: remove allow-multiple-definition flag
Silently ignoring multiple definitions hides linking issues under
Windows in particular (eg, linking to multiple runtimes).

We don't seem to be hitting the boost bug which triggered this anymore.
2014-12-05 13:14:48 +11:00
7278eff60a build: explicitly enable leak checking 2014-10-21 19:38:40 +11:00
b297f168f7 build: add rdynamic to linking options for debug
rdynamic should allow us to get better backtrace data
2014-09-17 18:19:55 +10:00
9bd80ab85c test: remove indirect script for json.test 2014-09-03 18:35:28 +10:00
26ee9b608b build: set appropriate LTO options 2014-08-12 15:59:00 +10:00
62f11a87dc build: remove overly verbose warnings 2014-08-01 21:39:45 +10:00
226500cb83 test: hack to make json.test executable 2014-08-01 21:37:04 +10:00
4ea033c5a3 build: disable warnings problematic for gcc 2014-07-23 15:53:38 +10:00
b18353f546 build: disable some warnings under clang 2014-07-15 19:43:17 +10:00
39caa4c365 build: add 'undefined' sanitizer for debug 2014-07-07 15:21:17 +10:00
5da7b87c4a build: typo in optimisation flag 2014-07-02 15:36:11 +10:00
9abc288532 build: add more warning flags 2014-07-02 15:35:59 +10:00
aa52f440bc test: use absolute paths for json.test 2014-05-26 17:34:23 +10:00
228421d974 test: run all checks through the TAP driver
This will allow more natural checking of hashes and json as they expand.
2014-05-23 17:11:28 +10:00
77ea57f530 remove mudflap support
mudflap is deprecated/removed in newer versions of gcc
2014-05-09 13:00:35 +10:00
a24cdd0848 Add Werr to compile flag checks
clang will accept with warnings an unknown warning flag, so autotools
will think it accepts everything. cleans up a lot of clang warning
messages.
2014-05-09 12:58:57 +10:00
7849001750 Add address sanitizer option 2013-09-18 13:42:35 +10:00