test: enable compile time param to change reference fee value (#5159)

Adds an extra CI pipeline to perform unit tests using different values for fees.
This commit is contained in:
Vlad
2025-03-27 23:40:36 +00:00
committed by GitHub
parent 6cf37c4abe
commit 72e076b694
4 changed files with 64 additions and 1 deletions

View File

@@ -11,6 +11,12 @@ option(assert "Enables asserts, even in release builds" OFF)
option(xrpld "Build xrpld" ON)
option(tests "Build tests" ON)
if(tests)
# This setting allows making a separate workflow to test fees other than default 10
if(NOT UNIT_TEST_REFERENCE_FEE)
set(UNIT_TEST_REFERENCE_FEE "10" CACHE STRING "")
endif()
endif()
option(unity "Creates a build using UNITY support in cmake. This is the default" ON)
if(unity)