[med-svn] [Git][med-team/spdlog][master] 2 commits: d/tests: add missing dependencies, use ninja to build

Shengqi Chen (@harry) gitlab at salsa.debian.org
Thu Jan 2 16:06:43 GMT 2025



Shengqi Chen pushed to branch master at Debian Med / spdlog


Commits:
81f794f5 by Shengqi Chen at 2025-01-03T00:00:49+08:00
d/tests: add missing dependencies, use ninja to build

Signed-off-by: Shengqi Chen <harry-chen at outlook.com>

- - - - -
97d69598 by Shengqi Chen at 2025-01-03T00:05:50+08:00
Gbp-Dch: Update

Signed-off-by: Shengqi Chen <harry-chen at outlook.com>

- - - - -


3 changed files:

- debian/changelog
- debian/tests/control
- debian/tests/run-tests


Changes:

=====================================
debian/changelog
=====================================
@@ -8,8 +8,9 @@ spdlog (1:1.15.0+ds-1) UNRELEASED; urgency=medium
   * d/control:
     + bump std-ver to 4.7.0 (no changes required)
     + re-organize dependencies and B-D (closes: #1087736)
+  * d/tests: add missing dependencies, use ninja to build
 
- -- Shengqi Chen <harry at debian.org>  Thu, 02 Jan 2025 23:43:11 +0800
+ -- Shengqi Chen <harry at debian.org>  Fri, 03 Jan 2025 00:05:38 +0800
 
 spdlog (1:1.12.0+ds-2) unstable; urgency=medium
 


=====================================
debian/tests/control
=====================================
@@ -1,3 +1,3 @@
 Tests: run-tests
 Restrictions: allow-stderr
-Depends: libspdlog-dev, cmake, g++
+Depends: libspdlog-dev, libfmt-dev, libsystemd-dev, cmake, g++, catch2, ninja-build


=====================================
debian/tests/run-tests
=====================================
@@ -16,12 +16,15 @@ cp -r /usr/share/doc/libspdlog-dev/tests/ .
 cp -r /usr/share/doc/libspdlog-dev/examples/example/ .
 mkdir cmake example_build
 cp /usr/share/doc/libspdlog-dev/utils.cmake cmake/
+
 cd tests
 for file in *.gz; do gunzip ${file}; done
-cmake -DSPDLOG_BUILD_TESTS=ON -DSPDLOG_BUILD_TESTS_HO=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON .
-make -j$(nproc) spdlog-utests-ho spdlog-utests
-CTEST_PARALLEL_LEVEL=1 ctest -j1 --force-new-ctest-process
-cd ../example_build
+mkdir build && cd build
+cmake -DSPDLOG_BUILD_TESTS=ON -DSPDLOG_BUILD_TESTS_HO=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -GNinja ..
+ninja
+ctest -j1 --force-new-ctest-process
+
+cd ../../example_build
 cmake -DCMAKE_BUILD_TYPE=Release ../example
 make
 ./example



View it on GitLab: https://salsa.debian.org/med-team/spdlog/-/compare/b39f65dd87dec9c8dc5a1d6e2515c4ffae3b2a1c...97d69598142f7985feefa4e12d929876398d04e6

-- 
View it on GitLab: https://salsa.debian.org/med-team/spdlog/-/compare/b39f65dd87dec9c8dc5a1d6e2515c4ffae3b2a1c...97d69598142f7985feefa4e12d929876398d04e6
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20250102/ca4c69ec/attachment-0001.htm>


More information about the debian-med-commit mailing list