Commit Graph

791 Commits

Author SHA1 Message Date
Tim Gates
81e07895c2
docs: fix simple typo, wtihout -> without
There is a small typo in expat/tests/runtests.c.

Should read `without` rather than `wtihout`.
2020-12-17 21:14:40 +11:00
Sebastian Pipping
1e243aca3e tests: Show failure location for normal mode output as well 2020-10-25 21:14:18 +01:00
Sebastian Pipping
263c76e324 tests: Make argument -v more useful 2020-10-25 21:14:18 +01:00
Sebastian Pipping
6a7264e383 tests: Report actual failure location 2020-10-25 21:14:09 +01:00
Sebastian Pipping
bd4b55a680 tests: Make check for silence explain itself better 2020-10-25 18:40:38 +01:00
Sebastian Pipping
ea60ef34a7 Drop remaining support for Visual Studio 2008, 2010, 2012 (#422) 2020-10-03 21:30:13 +02:00
Sebastian Pipping
3af8f46e3f Bump version from 2.2.9 to 2.2.10 2020-10-03 00:49:33 +02:00
Sebastian Pipping
cdeadf8522 tests: Add missing static to address compiler warning
Warning was:
runtests.c:112:1: warning: no previous prototype for ‘tcase_add_test__ifdef_xml_dtd’ [-Wmissing-prototypes]
2020-10-03 00:43:37 +02:00
Jeffrey Walton
5c66485b86 Update Autotools to use AM_CPPFLAGS, AM_CFLAGS, and AM_CXXFLAGS 2020-03-17 20:35:20 +01:00
Sebastian Pipping
ae87321020 runtests.c: Fix for -DEXPAT_DTD=OFF 2019-09-29 21:44:58 +02:00
Sebastian Pipping
3137798629 runtests.c: Fix for -DEXPAT_NS=OFF 2019-09-29 20:36:28 +02:00
Sebastian Pipping
76f2beee81 runtests.c: Fix compiler warning "unused function" with -DEXPAT_MIN_SIZE=ON 2019-09-29 19:34:39 +02:00
Sebastian Pipping
25c96511a0 Bump version from 2.2.8 to 2.2.9 2019-09-25 21:22:30 +02:00
Sebastian Pipping
a5414b759d Bump version from 2.2.7 to 2.2.8 2019-09-13 22:03:21 +02:00
Sebastian Pipping
966f5d0da8 xmltest.sh: Adapt to fixed xmlwf exit code 2019-09-06 19:53:36 +02:00
Sebastian Pipping
48d4929bff runtests.c: Workaround issue with combining XML_MIN_SIZE and ASan (#332) 2019-09-05 19:56:11 +02:00
Sebastian Pipping
d2892df8fd .gitignore: Add missing build results (CMake, qa.sh) 2019-09-05 19:38:36 +02:00
Sebastian Pipping
6da1f19625
Merge pull request #318 from libexpat/issue-317
Deny internal entities closing the doctype (for #317)
2019-09-03 22:00:41 +02:00
Sebastian Pipping
71485dcf8b win32: Remove MSVC solution and project files 2019-08-29 02:35:05 +02:00
Sebastian Pipping
438493691f tests: Cover denying internal entities closing the doctype 2019-08-28 17:20:51 +02:00
David Loffredo
1ec27cb32f update xmlwf and tests to new UNUSED_P definition
Signed-off-by: David Loffredo <loffredo@steptools.com>
2019-08-16 12:20:00 -04:00
Sebastian Pipping
3cb24b6e59 xmltest.sh: Remove dead code 2019-08-11 19:38:08 +02:00
Sebastian Pipping
dc6e298679 xmltest.sh: Fix for out-of-source builds 2019-08-11 19:38:08 +02:00
Sebastian Pipping
ee4581af41 runtests.c: Add two test cases for/from issue #240
Many thanks to Rolf Ade (@pointsman)!
2019-08-04 15:17:07 +02:00
clang-format
d248bbd940 Mass-apply clang-format 9 using ./apply-clang-format.sh 2019-08-03 21:31:44 +02:00
Sebastian Pipping
65fcabba37 runtests.c: Mark some sections as to be excluded by clang-format
This will make clang-format 9 produce stable results.
2019-08-03 21:31:44 +02:00
Marco Maggi
b306ee963f minicheck.c: Fix volatile variables (#235) 2019-07-28 23:13:56 +02:00
Sebastian Pipping
8a39eedcd3 runtests.c: Address null pointer warnings by Clang Static Analyzer 2019-07-28 01:38:13 +02:00
Sebastian Pipping
ff0606bb86 structdata.c: Address Clang Static Analyzer warnings (#294) 2019-07-28 01:38:13 +02:00
Sebastian Pipping
ce03de2986 runtests.c: Pull semicolon out of braces 2019-07-27 19:08:48 +02:00
Sebastian Pipping
c6ef133d1b runtests.c: Reduce code duplication 2019-07-27 19:08:40 +02:00
Marco Maggi
775cfba1d5 fixed warning about potential null pointer dereference 2019-07-22 23:15:12 +02:00
Sebastian Pipping
be784f0c9c runtests.c: Address warnings about variable shadowing 2019-07-22 23:03:11 +02:00
Sebastian Pipping
9c9d0d1a1f runtests.c: Address cppcheck warning (fixes #283)
[tests/runtests.c:647]: (error) Address of local auto-variable assigned to a function parameter.
2019-07-17 18:05:17 +02:00
Sebastian Pipping
c5b3ce0932 tests: Silence cppcheck false positive (fixes #284) 2019-07-17 16:02:09 +02:00
Sebastian Pipping
d3b78b42a2 Bump version from 2.2.6 to 2.2.7 2019-06-19 18:41:14 +02:00
Sebastian Pipping
39e487da35 Prepare release version 2.2.6 (#209) 2018-08-12 21:40:00 +02:00
Sebastian Pipping
12732b9f85 tests/.gitignore: Add .log and .trs 2018-08-12 21:40:00 +02:00
Rhodri James
29bc47d2af Add regression test for issue #204, resume failure on empty input 2018-08-03 20:19:05 +02:00
Sebastian Pipping
a04764dcf0 runtests.c: Support Visual Studio <=9.x/2008 w/o stdint.h (#180)
Same approach as done in `lib/siphash.h`, earlier.
2017-12-27 13:33:46 +01:00
Sebastian Pipping
f5322b01ac Address 64bit intptr_t loss warning for Visual Studio
Message was:
warning C4244: '=' : conversion from 'intptr_t' to 'int', possible loss of data
2017-12-04 00:15:55 +01:00
Sebastian Pipping
850c0922e1 Address 64bit size_t loss warning for Visual Studio
Message was:
warning C4267: 'argument' : conversion from 'size_t' to 'int'
2017-12-04 00:15:55 +01:00
Sebastian Pipping
fc9fe8f17c Address warning about sip_tobin by Visual Studio
Message was:
Warning: C4551 function call missing argument
2017-12-03 17:33:35 +01:00
Sebastian Pipping
47135a3cca Add Visual Studio const correctness compiler warnings
Warning was:
warning C4090: 'function' : different 'const' qualifiers
2017-12-03 17:15:02 +01:00
Sebastian Pipping
5f9bc4836f Prepare release version 2.2.5 (#133) 2017-10-31 17:20:31 +01:00
Sebastian Pipping
535047b10c Tests: Fix CPPFLAGS=-DNDEBUG ourselves (#160) 2017-10-24 21:41:18 +02:00
Sebastian Pipping
f75a40cbae xmlwf|tests: Repeat L string prefix to fix compilation 2017-10-04 22:55:42 +02:00
Sebastian Pipping
3240718240 Fix test suite for --disable-xml-context (#146)
Regression from bc6468d230
2017-09-11 15:29:57 +02:00
Sebastian Pipping
4bad01f941 udiffer.py: Ship with tarballs 2017-09-09 19:20:40 +02:00
Sebastian Pipping
9f166f82e8 runtests.c: Fix compilation for undefined XML_CONTEXT_BYTES
Regression from 70d19d635a

Compile error was:
  runtests.c: In function ‘byte_character_handler’:
  runtests.c:4195:11: error: ‘s’ undeclared (first use in this function)
       (void)s;
2017-09-09 19:13:21 +02:00