aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
AgeCommit message (Collapse)AuthorFilesLines
2020-11-11Fix build as a subprojectDavid Robillard1-5/+7
2020-11-11Add CI row to run clang sanitizersDavid Robillard1-0/+6
Some of these are also supported by GCC, but clang supports more and clang on Linux was uncovered before anyway, so this fixes that situation as well.
2020-11-11Add nonnull and nullable attributes to APIDavid Robillard1-0/+2
This will warn if NULL is passed to any nonnull-annotated parameter, and is also supported by sanitizers which can check for violations at runtime. Unfortunately, it is currently only supported by clang. GCC has a similar feature in the nonnull attribute, but this has a different syntax (it's a function attribute) and is more dangerous since it is used by the optimizer to assume a null pointer is undefined behavior. This one just warns and still allows code to handle the situation gracefully, which I think is more appropriate for a library API. Note that this optimization behavior is not some unlikely edge case: switching these attributes to the GCC one will break release builds.
2020-11-10Add const, pure, and malloc function attributesDavid Robillard1-3/+0
2020-11-10Fix warnings in MinGW buildDavid Robillard1-0/+3
2020-11-10Fix header installationDavid Robillard1-1/+1
2020-11-09Split out reader and writer testsDavid Robillard1-2/+4
2020-11-09Split out string testsDavid Robillard1-0/+2
2020-11-09Split out URI testsDavid Robillard1-1/+3
2020-11-09Rename unit tests to start with a consistent prefixDavid Robillard1-8/+8
2020-11-09Check headers with stricter clang-tidy settingsDavid Robillard1-1/+3
2020-11-09Move header to conventional include directoryDavid Robillard1-4/+4
2020-11-09Rename test directoryDavid Robillard1-15/+15
2020-10-27Update autowafDavid Robillard1-2/+2
2020-09-27Serd 0.30.6v0.30.6David Robillard1-1/+1
2020-08-16Ensure that all free methods tolerate NULLDavid Robillard1-0/+2
2020-08-16Move Env tests to a separate fileDavid Robillard1-0/+2
2020-08-16Add test for reading chunksDavid Robillard1-0/+2
2020-08-14Use ultra-strict warnings and Werror on Windows CI rowsDavid Robillard1-0/+2
2020-08-14Factor out command wrapping for ARM emulatorDavid Robillard1-5/+9
2020-08-14Factor out test option iterator generationDavid Robillard1-7/+12
2020-08-14Fix Wswitch-enum warningsDavid Robillard1-2/+0
2020-08-14Separate base64 implementationDavid Robillard1-1/+2
2020-08-14Clean up and separate internal headersDavid Robillard1-9/+24
2020-07-15Fix strict build with MinGWDavid Robillard1-0/+1
2020-07-15Fix strict release configuration with GCC 10.1.0David Robillard1-0/+4
2020-07-06Update autowaf and be explicit about warning flagsDavid Robillard1-3/+44
2020-06-21Strengthen lint targetDavid Robillard1-20/+48
2020-06-21Clean up includesDavid Robillard1-0/+8
2020-06-21Strengthen function checks to check for typeDavid Robillard1-4/+8
This makes the checks work with strict warnings and Werror.
2020-06-21Clean up wscriptDavid Robillard1-20/+45
2020-04-26Serd 0.30.4v0.30.4David Robillard1-1/+1
2019-12-08Fix reading from a null-delimited socketDavid Robillard1-1/+1
2019-10-27Fix lax handling of string errors and add separate lax test suiteDavid Robillard1-7/+7
2019-10-27Support passing arguments to test wrappersDavid Robillard1-1/+2
This allows using prefixes like valgrind --leak-check=full.
2019-10-21Serd 0.30.2v0.30.2David Robillard1-1/+1
2019-10-21Add test that NEWS file is normalised and round-trips to TurtleDavid Robillard1-0/+23
2019-10-21Update autowafDavid Robillard1-11/+5
2019-10-21Fix amalgamationDavid Robillard1-2/+5
2019-10-21Remove upload_docs targetDavid Robillard1-6/+0
2019-10-17Update autowafDavid Robillard1-5/+5
2019-07-25Build documentation and coverage index pageDavid Robillard1-1/+8
2019-04-27Test that all bad commands print error messagesDavid Robillard1-2/+2
2019-04-13Add test wrapper to serdi invocation for test manifest loadingDavid Robillard1-1/+6
This makes it possible to run the tests in an emulator for cross compiling.
2019-04-13Fix configuration summary outputDavid Robillard1-1/+1
2019-03-30Improve documentationDavid Robillard1-2/+0
2019-03-18Use distinct output paths for each test runDavid Robillard1-2/+2
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.
2019-03-17Update autowaf and adapt to new APIDavid Robillard1-166/+105
2019-03-17Avoid redundant manifest scans to speed up test suite executionDavid Robillard1-31/+27
2019-03-17Factor out some generic test suite running codeDavid Robillard1-21/+25