[med-svn] [Git][med-team/simde][master] Use meson in the autopkgtests, just like during the build, as cmake is...
Michael R. Crusoe
gitlab at salsa.debian.org
Thu Dec 31 19:10:14 GMT 2020
Michael R. Crusoe pushed to branch master at Debian Med / simde
Commits:
e3eaba69 by Michael R. Crusoe at 2020-12-31T20:09:19+01:00
Use meson in the autopkgtests, just like during the build, as cmake is deprecated for building the tests.
- - - - -
3 changed files:
- debian/changelog
- debian/tests/control
- debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+simde (0.7.0-2) unstable; urgency=medium
+
+ * Use meson in the autopkgtests, just like during the build, as cmake is
+ deprecated for building the tests.
+
+ -- Michael R. Crusoe <crusoe at debian.org> Thu, 31 Dec 2020 20:09:04 +0100
+
simde (0.7.0-1) unstable; urgency=medium
* debian/watch: only find non-release candidates.
=====================================
debian/tests/control
=====================================
@@ -1,3 +1,3 @@
Tests: run-unit-test
-Depends: @, build-essential, cmake, clang
+Depends: @, build-essential, meson, ninja-build, clang
Restrictions: allow-stderr
=====================================
debian/tests/run-unit-test
=====================================
@@ -18,15 +18,14 @@ cd "${AUTOPKGTEST_TMP}"
cp -r /usr/include/simde ./
cp -r ${SOURCE}/test ./
+cp -r ${SOURCE}/meson* ./
-mkdir test/build-gcc test/build-clang
+mkdir build-gcc build-clang
-cd test/build-gcc
-CC=gcc CXX=g++ cmake ..
-make VERBOSE=1 -j$(nproc)
-./run-tests
+cd build-gcc
+CC=gcc CXX=g++ meson ..
+ninja -j$(nproc) test
cd ../build-clang
-CC=clang CXX=clang++ cmake ..
-make VERBOSE=1 -j$(nproc)
-./run-tests
+CC=clang CXX=clang++ meson ..
+ninja -j$(nproc) test
View it on GitLab: https://salsa.debian.org/med-team/simde/-/commit/e3eaba69dbe90ae1e819e60acd34b6c2dc8a3374
--
View it on GitLab: https://salsa.debian.org/med-team/simde/-/commit/e3eaba69dbe90ae1e819e60acd34b6c2dc8a3374
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/20201231/10c26c76/attachment-0001.html>
More information about the debian-med-commit
mailing list