Repository navigation
Releases: synesissoftware/BDUT
Releases · synesissoftware/BDUT
Release list
v0.5.0
v0.5.0-alpha1
- bdut.h — Windows colour-console support now probes the OS build number and, where needed, enables virtual terminal processing via
SetConsoleModeso ANSI colours are not emitted on incompatible consoles; - bdut.h — MinGW/
-Werrorfixes forGetProcAddress(-Wcast-function-type) andOSVERSIONINFOWzero-init (-Wmissing-field-initializers); - Added Doxyfile with
BDUT_DOCUMENTATION_SKIP_SECTIONpredefined so generated docs expose the public assertion API without internal helpers; - Added generate_doxygen.sh (aligned with cstring / Diagnosticism);
- Added doc/mainpage.md as the Doxygen main page (replacing README.md, which produced noisy TOC/badge content);
v0.4.3
- ci.yml, ci-cell.yml — added Linux TinyCC (tcc) CI cell and install-smoke row via
apt-get install tcc; examples skipped for the tcc cell; - CMakeLists.txt — when
CMAKE_C_COMPILER_IDis TinyCC, useCMAKE_C_STANDARD99 (distro tcc lacks ISO C17); - run_all_unit_tests.sh, run_all_scratch_tests.sh, run_all_examples.sh — restore execute bits after CI artifact download (so
find/test -xdiscovery works); fail if --unit-only finds no programs;
v0.4.2
- bdut.h —
BDUT_isatty_()uses POSIXfileno()when feature-test macros or a non-strict dialect indicate it is available; otherwise mapsstdin/stdout/stderrviaSTDIN/STDOUT/STDERR_FILENO so strict-std=c11consumers with-Werror=implicit-function-declarationbuild cleanly; colour failure output based on stderr TTY state; - CMakeLists.txt — export package as lowercase bdut-config.cmake under lib/cmake/bdut/ (fixes Linux
find_package(BDUT)install-smoke; matches Pantheios/ b64 convention); - ci.yml, INSTALL.md, README.md, vcpkg — updated install-path / config-file references;
- CMakeLists.txt —
CMAKE_C_EXTENSIONS/CMAKE_CXX_EXTENSIONSOFF (ISO-std=c17/-std=c++23) so CI matches strict consumers such as p99 and surfaces undeclared POSIX calls (e.g.fileno()); - TargetMacros.cmake — apply
-Werror//WXvia both C_COMPILER_ID and CXX_COMPILER_ID;
v0.4.1
- README — reconciled Installation (manual copy and CMake/
find_package(BDUT)/BDUT::BDUT); added passing and failure Examples sections; fixed C example (main.c,argc/argv); - INSTALL.md — replaced placeholder with full build, test, install, and consumer CMake guide;
- FAQ.md — updated Q1/Q2 for CMake and existing tests; added Q3 on intentional failure demos;
- NEWS.md — corrected 0.4.0 release tag link;
- TODO.md — replaced xTests boilerplate with BDUT-specific completed and pending OSS items;
- CMakeLists.txt — added BDUT::BDUT alias for in-tree builds;
- examples/, test/ — link via BDUT::BDUT (removed stale projects/core references and directory-scope include_directories);
- TargetMacros.cmake — define_automated_test_program / define_example_program propagate the BDUT interface target;
- run_all_unit_tests.sh, run_all_scratch_tests.sh — removed xTests verbosity alias;
- test.unit.version — aligned version assertions with 0.4.1 (alpha 1) in bdut.h;
- EXAMPLES.md — index of passing and intentional-failure sample programs;
- README — macro API reference table; links to EXAMPLES.md;
- CONTRIBUTING.md — development setup, standards, and PR guidance;
- .github/ — issue templates (bug, feature) and pull request template;
- test/unit/ — added test.unit.assert_true_false, test.unit.compare, and test.unit.string_contains for CTest/CI;
- INSTALL.md — consumer
FetchContentguide; splitfind_package/add_subdirectory/FetchContentsections; - CMakeLists.txt, cmake/BuildType.cmake — use
CMAKE_CURRENT_SOURCE_DIRso BDUT configures correctly as a subdirectory or FetchContent dependency; - vcpkg/ — overlay port (vcpkg/ports/bdut/) with INSTALL.md consumer instructions;
- bdut.h — mark assertion abort helpers
BDUT_NORETURN_; rewriteBDUT_ASSERT_/BDUT_ASSERT_STRING_CONTAINSasdo/while(fixes MSVC C4702 with /WX on intentional-failure demos); - TargetMacros.cmake — added
define_failure_demo_program(/wd4702) for intentional-failure examples and scratch tests;
v0.4.0
- badges;
- added run_all_unit_tests.cmd;
- CMake helper scripts now define default make command as "mingw32-make.xe" if recognise MinGW;
- *.sh : ~ moved info-lines into ./.sis/script_info_lines.txt;
- README;
- settings;
- .gitattributes;
v0.4.0-alpha2
- CTest support;
- tidying;
v0.4.0-alpha1
- added
BDUT_TESTS_PASSED();
v0.3.3
- Fixed
BDUT_ASSERT_GE(),BDUT_ASSERT_GT(),BDUT_ASSERT_LE(),BDUT_ASSERT_LT(); - Added test.unit.version;
v0.3.2
- minor warnings (observed with Visual C++);