From b6242bed44d2e25f5d043820a5eef240ae6649b4 Mon Sep 17 00:00:00 2001 From: James R T Date: Sun, 30 Mar 2025 19:37:18 +0800 Subject: [PATCH] Add option to shuffle test execution order This commit adds the option to pass the `shuffle_tests` Unity option to the test runner configuration. Signed-off-by: James Raphael Tiovalen --- lib/ceedling/configurator.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ceedling/configurator.rb b/lib/ceedling/configurator.rb index 1562ee75..a171b45e 100644 --- a/lib/ceedling/configurator.rb +++ b/lib/ceedling/configurator.rb @@ -260,6 +260,7 @@ def populate_test_runner_generation_config(config) # Merge Unity options used by test runner generation config[:test_runner][:defines] += config[:unity][:defines] config[:test_runner][:use_param_tests] = config[:unity][:use_param_tests] + config[:test_runner][:shuffle_tests] = config[:unity][:shuffle_tests] @runner_config = config[:test_runner]