enable fmt_module tests by updating module-test.cc (#4702)
- Update g++ module testing to use g++ version 15 instead of 14. The module support in version 14 isn't very stable and the module testing was not working due to unresolved locale symbols. - Update CI for linux and macos to add verbosity so its consistent with windows. - Refactor test/CMakeLists.txt to enable testing for modules - The tests in `module-test.cc` seem to not have been updated in some time despite changes in the main library. - Wide String versions of several tests appear to be deprecated so have been removed. - Refactored tests related to `fmt::format_args` that now requires lvalue references as opposed to direct values. - Remove the none-working code identified in the `module-test.cc` file while updating.
This commit is contained in:
8
.github/workflows/linux.yml
vendored
8
.github/workflows/linux.yml
vendored
@@ -37,10 +37,10 @@ jobs:
|
||||
std: 23
|
||||
install: sudo apt install g++-13
|
||||
shared: -DBUILD_SHARED_LIBS=ON
|
||||
- cxx: g++-14
|
||||
- cxx: g++-15
|
||||
build_type: Release
|
||||
std: 23
|
||||
install: sudo apt install g++-14
|
||||
install: sudo apt install g++-15
|
||||
gen: Ninja
|
||||
- cxx: clang++-3.6
|
||||
- cxx: clang++-11
|
||||
@@ -147,7 +147,7 @@ jobs:
|
||||
- name: Add repositories for newer GCC
|
||||
run: |
|
||||
sudo apt-add-repository ppa:ubuntu-toolchain-r/test
|
||||
if: ${{ matrix.cxx == 'g++-13' || matrix.cxx == 'g++-14' }}
|
||||
if: ${{ matrix.cxx == 'g++-13' || matrix.cxx == 'g++-15' }}
|
||||
|
||||
- name: Install LLVM-20
|
||||
run: |
|
||||
@@ -200,6 +200,6 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
run: ctest -C ${{matrix.build_type}}
|
||||
run: ctest -C ${{matrix.build_type}} -V
|
||||
env:
|
||||
CTEST_OUTPUT_ON_FAILURE: True
|
||||
|
||||
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
@@ -53,6 +53,6 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
run: ctest -C ${{matrix.build_type}}
|
||||
run: ctest -C ${{matrix.build_type}} -V
|
||||
env:
|
||||
CTEST_OUTPUT_ON_FAILURE: True
|
||||
|
||||
Reference in New Issue
Block a user