Skip to content

Releases: synesissoftware/BDUT

v0.5.0

Choose a tag to compare

@synesissoftware synesissoftware released this 09 Aug 04:37

0.5.0 release

v0.5.0-alpha1

Choose a tag to compare

@synesissoftware synesissoftware released this 06 Aug 19:27
  • bdut.h — Windows colour-console support now probes the OS build number and, where needed, enables virtual terminal processing via SetConsoleMode so ANSI colours are not emitted on incompatible consoles;
  • bdut.h — MinGW/-Werror fixes for GetProcAddress (-Wcast-function-type) and OSVERSIONINFOW zero-init (-Wmissing-field-initializers);
  • Added Doxyfile with BDUT_DOCUMENTATION_SKIP_SECTION predefined 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

Choose a tag to compare

@synesissoftware synesissoftware released this 06 Aug 13:16
  • 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_ID is TinyCC, use CMAKE_C_STANDARD 99 (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 -x discovery works); fail if --unit-only finds no programs;

v0.4.2

Choose a tag to compare

@synesissoftware synesissoftware released this 04 Aug 04:48
ccb2fb8
  • bdut.h — BDUT_isatty_() uses POSIX fileno() when feature-test macros or a non-strict dialect indicate it is available; otherwise maps stdin/stdout/stderr via STDIN/STDOUT/STDERR_FILENO so strict -std=c11 consumers with -Werror=implicit-function-declaration build 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_EXTENSIONS OFF (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 / /WX via both C_COMPILER_ID and CXX_COMPILER_ID;

v0.4.1

Choose a tag to compare

@synesissoftware synesissoftware released this 01 Aug 00:06
  • 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 FetchContent guide; split find_package / add_subdirectory / FetchContent sections;
  • CMakeLists.txt, cmake/BuildType.cmake — use CMAKE_CURRENT_SOURCE_DIR so 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_; rewrite BDUT_ASSERT_ / BDUT_ASSERT_STRING_CONTAINS as do/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

Choose a tag to compare

@synesissoftware synesissoftware released this 06 Sep 02:58
fd5e650
  • 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

Choose a tag to compare

@synesissoftware synesissoftware released this 29 Aug 21:43
3c09646
  • CTest support;
  • tidying;

v0.4.0-alpha1

Choose a tag to compare

@synesissoftware synesissoftware released this 29 Aug 21:14
7c22a1a
  • added BDUT_TESTS_PASSED();

v0.3.3

Choose a tag to compare

@synesissoftware synesissoftware released this 29 Aug 20:49
2709447
  • Fixed BDUT_ASSERT_GE(), BDUT_ASSERT_GT(), BDUT_ASSERT_LE(), BDUT_ASSERT_LT();
  • Added test.unit.version;

v0.3.2

Choose a tag to compare

@synesissoftware synesissoftware released this 29 Aug 20:44
3c49605
  • minor warnings (observed with Visual C++);