Commit Graph

2092 Commits

Author SHA1 Message Date
8333cad8cc WIP checksum test api 2016-06-20 16:53:56 +10:00
6338a85992 hash/bsdum: convert to object style accumulator 2016-06-20 16:38:57 +10:00
51e7995c63 hash/adler: convert to object style accumulator 2016-06-20 16:37:43 +10:00
f02ea00f0a m4: move nerdcruft m4 into submodule 2016-06-20 13:30:32 +10:00
4b01f999c4 version: add comparator tests 2016-06-20 13:08:36 +10:00
1f5e3dc903 version: add more constructors, comparators 2016-06-20 13:08:24 +10:00
af699c5443 debug: correct format specifier for CHECK_{EZ,NEQ} 2016-06-20 13:07:10 +10:00
73579f57aa hash: remove uint8/size_t update functions 2016-06-17 16:27:16 +10:00
ce26ce1238 hash: style 2016-06-17 16:20:09 +10:00
5e6155a51a hash: make use of restrict and noexcept consistent 2016-06-17 16:06:46 +10:00
f88958d17d WIP checksum namespacing 2016-06-17 15:57:36 +10:00
ef17f9c7d1 hash: class decleration style 2016-06-17 15:57:09 +10:00
51487cd34e hash: put checksum functions into util:#️⃣: 2016-06-17 15:56:14 +10:00
aeba9033e0 hash: prefer iterator style over base/length 2016-06-17 15:46:11 +10:00
ba4b22c208 hash/md2: style 2016-06-17 15:37:54 +10:00
38cb91fcb5 tools/hash: style 2016-06-17 14:59:11 +10:00
e62af110b6 tools/hash: protect against invalid arg count 2016-06-17 14:58:12 +10:00
850fa0470f debug_posix: downgrade force_console error to WARN
This is unavoidably triggered running under certain debuggers, so it's
more useful to downgrade to WARN so as to not interfere with a useful
DEBUG_BREAK or LOG_LEVEL setting.
2016-05-18 10:27:36 +10:00
ea0d107859 alloc/linear: warn on null src pointers 2016-05-18 10:26:55 +10:00
7bab0dd481 version: undef interfering freebsd functions
this is a massive hack, but i'm sick of people pulling this shit.
2016-05-13 15:23:38 +10:00
02c0d6ce69 platform: add freebsd platform defines 2016-05-13 15:23:22 +10:00
c3e2e1ae44 exe: add trivial test case 2016-05-13 15:23:05 +10:00
5c2952561b exe: add freebsd image_path implementation 2016-05-13 15:22:42 +10:00
7cc4173dea m4/nc_cxx: don't enable libcxx on clang by default
Some system libraries, like boost, may have linked against libstdc++ and
hence make breaking assumptions about std structure layouts.

eg, boost::filesystem::path and std::basic_string
2016-05-13 15:20:36 +10:00
8dc4abb69c m/b/circular: use correct fd for MAP_ANONYMOUS 2016-05-13 13:56:53 +10:00
1bfe4867ad m4: dont try Wno-gnu option under GCC
it will accept anything
2016-05-12 18:23:32 +10:00
3802de5ba3 coord/ops: disable scalar ops for non-arithmetic types 2016-05-12 18:22:55 +10:00
56948f9503 debug_posix: add freebsd constants to tracing code 2016-05-12 18:19:24 +10:00
afa60e9d1f configure: add freebsd library for clock_gettime 2016-05-12 18:16:54 +10:00
87211eb45c configure: cross-platform append for "-ldbghelp" 2016-05-12 18:16:18 +10:00
dc75a8ac34 configure: search for execinfo library
required under freebsd
2016-05-12 18:15:57 +10:00
a8650caa1c configure: disable unused feature test macros
they were causing build errors under freebsd and it appears we aren't
using them anymore...
2016-05-12 18:15:01 +10:00
a22ca0575e Makefile: add posix wrappers to freebsd build 2016-05-12 18:11:13 +10:00
c2310d5d50 build: explicitly allow anonymous structs 2016-05-12 18:06:12 +10:00
950c5ba0d4 ip: avoid temporary in test 2016-05-12 18:00:12 +10:00
829bdc2767 m/b/paged: annotate segv trigger for asan's benefit 2016-05-12 17:59:33 +10:00
e7c547f764 tuple: note why RTTI test was skipped 2016-05-12 17:59:08 +10:00
27b1bfc1ce hmac: print test number in logs 2016-05-12 17:58:52 +10:00
78552cfcb2 rational: express assignment in terms of constructors 2016-05-12 17:55:20 +10:00
48e6446404 ip: express equality in terms of words 2016-05-12 17:54:44 +10:00
7f19e2bcce ip: remove unneeded assignment operator
the constructor handles this for us
2016-05-12 17:54:17 +10:00
5e597eef25 io: remove uneeded stream_error destructor 2016-05-12 17:53:37 +10:00
06be0a128f configure: test for dlsym and shm before their dependants 2016-05-12 17:52:37 +10:00
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
1ec238638c Makefile: ensure ASAN isn't triggered on deliberate SEGV
some of the memory buffer code triggers a SEGV deliberately in the
testing framework. setting allow_user_segv_handler=true stops it from
crashing our test early.
2016-05-12 17:49:11 +10:00
539188ffde backtrace_execinfo: correct newlines for ostream
if addr2line wasn't found newlines weren't consistent
2016-05-12 17:47:47 +10:00
12f154d0cb stream: work towards streambuf and stream impl 2016-05-12 17:47:22 +10:00
67402eee42 c/xxtea: style 2016-05-12 17:46:13 +10:00
640b4aa6ca build: fix switch/enum coverage warnings
uncovered using clang's -Wswitch-enum
2016-05-12 17:45:29 +10:00
420e4215ef backtrace: test doesn't actually require output 2016-05-12 17:44:44 +10:00