diff --git a/CMakeLists.txt b/CMakeLists.txt index dbf627a..a4174dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.10) -project(fun VERSION 0.38.4 LANGUAGES C) +project(fun VERSION 0.38.5 LANGUAGES C) set(CMAKE_C_STANDARD 99) set(CMAKE_C_STANDARD_REQUIRED ON) diff --git a/scripts/run_examples.sh b/scripts/run_examples.sh index 183fdba..f6fced6 100755 --- a/scripts/run_examples.sh +++ b/scripts/run_examples.sh @@ -86,6 +86,7 @@ if (( ${#files[@]} == 0 )); then fi rc=0 +fail_count=0 for f in "${files[@]}"; do base_name="$(basename "$f")" # If INI support is disabled, skip INI examples to avoid expected failures @@ -100,12 +101,13 @@ for f in "${files[@]}"; do echo "FAILED: ${f#$ROOT/}" # Intentionally do not move files on failure; leave control to the user rc=1 + ((fail_count++)) fi done if (( rc == 0 )); then - echo "All examples ran successfully." + echo "All examples ran successfully. Failed: ${fail_count}" else - echo "Some examples failed." + echo "Some examples failed. Failed: ${fail_count}" fi exit $rc