David Robillard
464df57aeb
Add test wrapper to serdi invocation for test manifest loading
...
This makes it possible to run the tests in an emulator for cross compiling.
4 years ago
David Robillard
499e27a684
Fix configuration summary output
4 years ago
David Robillard
8df73c898e
Remove Tk dependency from benchmark script
4 years ago
David Robillard
43c56d347e
Add documentation main page
4 years ago
David Robillard
611094ffa4
Fix parsing "a" abbreviation without padding whitespace
4 years ago
David Robillard
5ecd64db39
Improve documentation
4 years ago
David Robillard
cd9af80d24
Update Doxygen configuration
4 years ago
David Robillard
7dfab2315f
Pass file comparison test if difflib finds no changes
...
The Python filecmp module seems to be a bit flaky on some platforms, so with
this change the test only fails if actual visible changes are printed.
4 years ago
David Robillard
ea9e3614ce
Seek to end before checking the size of stderr output
...
This fixes the error message checks in virtual environments where temporary
files act weird.
4 years ago
David Robillard
1fb8ac0d29
Use distinct output paths for each test run
...
Even though there is no parallelism, this seems to cause sporadic problems on
Windows. Regardless, it's a good idea, since the test framework might become
parallel some day.
4 years ago
David Robillard
8c3d48d190
Update autowaf and adapt to new API
4 years ago
David Robillard
1c6fb2b354
Squashed 'waflib/' changes from 915dcb17..e7a29b6b
...
e7a29b6b Upgrade to waf 2.0.15
8280f9de Add command for running executables from the build directory
8073c1ad Make make_simple_dox() safe in case of exception
70d03b82 Avoid use of global counter hacks for configuration display
b7d689a4 Rewrite test framework
94deadf0 Automatically add options and move add_flags() to options context
f4259ee4 Reduce system include path noise
927b6082 Automatically display configuration header
c44b8f3b Set line justification from a constant in the wscript
a48e26fd Automatically detect if wscript has a test hook
ef66724d Save runtime variables in the environment
63bcbcd3 Clean up TestContext
b1d95050 Add ExecutionContext for setting runtime environment
387c1dfa Add show_diff() and test_file_equals() utilities
29d4d293 Fix in-tree library paths
9fde01f4 Add custom configuration context
6d3612fd Add lib_path_name constant
git-subtree-dir: waflib
git-subtree-split: e7a29b6b9b2f842314244c23c14d8f8f560904e1
4 years ago
David Robillard
914c414359
Avoid redundant manifest scans to speed up test suite execution
4 years ago
David Robillard
93a52bbd63
Factor out some generic test suite running code
4 years ago
David Robillard
cb231f4767
Fix bug parsing TriG graphs with several squashed trailing dots
4 years ago
David Robillard
4e479c3679
Derive output syntax automatically from test class
4 years ago
David Robillard
aeb021c3c1
Simplify test output file checking
4 years ago
David Robillard
d0e79ed0cd
Use simpler Doxygen header and footer
4 years ago
David Robillard
595d321d1c
Hide export declarations in documentation
4 years ago
David Robillard
8b889e27f4
Set stdin and stdout to binary mode on Windows to preserve newlines
4 years ago
David Robillard
c3f3befe0c
Update autowaf
4 years ago
David Robillard
9ced2d5826
Squashed 'waflib/' changes from 5ea8f99..915dcb1
...
915dcb1 Report test time correctly
26f0a2b Remove redundant verbose-tests option
fc35c2c Fix MSVC CFLAGS
git-subtree-dir: waflib
git-subtree-split: 915dcb1778a592ef54a6b7e14fa8a6bd1ca3376c
4 years ago
David Robillard
ba72f5a3c2
Fix serd_node_new_decimal() on Windows
4 years ago
David Robillard
026989b213
Turn off overly noisy new clang-format checks
4 years ago
David Robillard
17b3fdccc2
Use lround() instead of sketchy offset and cast
4 years ago
David Robillard
04e6f01432
Rewrite switch statements that are better written as ifs
4 years ago
David Robillard
bb9d51a0f6
Fix potential use of uninitialised data
4 years ago
David Robillard
0da82a3ff9
Fix unsorted includes
4 years ago
David Robillard
09add529f2
Remove pointless const in prototype
4 years ago
David Robillard
9b67e27573
Fix unused parameter warnings
4 years ago
David Robillard
ec42a28933
Remove manifest test
4 years ago
David Robillard
c2f8d84c2e
Remove ancient MSVC workaround for stdbool.h
4 years ago
David Robillard
514e302b66
Remove test utilities and simply use assert for unit tests
4 years ago
David Robillard
81ae621c06
Remove old URI parse debug logging code
4 years ago
David Robillard
fc6ef04d8b
Merge commit '668a088c7005ec6f6c5fc119470002cc73a1040a'
4 years ago
David Robillard
668a088c70
Squashed 'waflib/' changes from 4687ba6..5ea8f99
...
5ea8f99 Improve test output spacing
0e23b29 Raise exception when test suite fails to ensure non-zero exit status
d6de073 Show run time of unit tests
5b65554 Add short configure option for ultra-strict flags
git-subtree-dir: waflib
git-subtree-split: 5ea8f99f6e1246079c1fe6bb590c38a53aadd40d
4 years ago
David Robillard
9456b3aac3
Fix test suite when running recursively
4 years ago
David Robillard
564eb12900
Simplify test flags code
4 years ago
David Robillard
57b5233e5b
Add tests for misspelled prefix and base directives
4 years ago
David Robillard
2d212bac8e
Remove some unnecessary test files
4 years ago
David Robillard
dec98f7382
Shrink serd_byte_source_advance() code slightly
4 years ago
David Robillard
35b439b93c
Add test for writing URIs that can not be shortened
4 years ago
David Robillard
7b55df3f32
Make logged test names unambiguous
4 years ago
David Robillard
ba99a2957b
Make waf exit with non-zero status when test suite fails
4 years ago
David Robillard
f17cced477
Fix missing parse error messages
4 years ago
David Robillard
0cecfb2d72
Fix error message output test
4 years ago
David Robillard
6a26f8accd
Show diffs for all failed file equality checks
4 years ago
David Robillard
64ee2972b3
Factor out test output diffing
4 years ago
David Robillard
4f366a039c
Make same-syntax test runner code generic
4 years ago
David Robillard
dfacddf8e6
Avoid use of sscanf for parsing escapes in URIs
4 years ago