Remove the cmake UNIT_TEST_REFERENCE_FEE setting

- Replaced by --unittest-fee runtime param
This commit is contained in:
Ed Hennis
2025-04-10 17:19:10 -04:00
parent 7dcc839d98
commit 330728eb2d
6 changed files with 14 additions and 13 deletions

View File

@@ -24,6 +24,12 @@ on:
type: string
default: ""
unittest_args:
description: 'Additional arguments to pass to rippled when running tests'
required: false
type: string
default: ""
cmake_target:
description: "The CMake target to build."
type: string
@@ -205,7 +211,8 @@ jobs:
env:
BUILD_NPROC: ${{ steps.nproc.outputs.nproc }}
run: |
./rippled --unittest --unittest-jobs "${BUILD_NPROC}"
./rippled --unittest --unittest-jobs "${BUILD_NPROC}" \
${{ inputs.unittest_args }}
- name: Debug failure (Linux)
if: ${{ failure() && runner.os == 'Linux' && !inputs.build_only }}

View File

@@ -50,6 +50,7 @@ jobs:
build_only: ${{ matrix.build_only }}
build_type: ${{ matrix.build_type }}
cmake_args: ${{ matrix.cmake_args }}
unittest_args: ${{ matrix.unittest_args }}
cmake_target: ${{ matrix.cmake_target }}
runs_on: ${{ toJSON(matrix.architecture.runner) }}
image: ${{ contains(matrix.architecture.platform, 'linux') && format('ghcr.io/xrplf/ci/{0}-{1}:{2}-{3}-sha-{4}', matrix.os.distro_name, matrix.os.distro_version, matrix.os.compiler_name, matrix.os.compiler_version, matrix.os.image_sha) || '' }}