[glib/3v1n0/allocation-benchmarks: 4/4] CI: run benchmarks instead of tests
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/3v1n0/allocation-benchmarks: 4/4] CI: run benchmarks instead of tests
- Date: Thu, 7 Jul 2022 15:11:00 +0000 (UTC)
commit 6199f469af45feb3d39305bb3713a97a1c27f1c3
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Thu Jul 7 16:47:24 2022 +0200
CI: run benchmarks instead of tests
.gitlab-ci.yml | 2 ++
.gitlab-ci/run-tests.sh | 1 +
.gitlab-ci/test-msvc.bat | 2 +-
3 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8fe839a758..1f5d44fbda 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -261,6 +261,7 @@ cross-android_arm64:
# FIXME: add --werror
- meson ${MESON_COMMON_OPTIONS} --cross-file=.gitlab-ci/cross_file_android_arm64_31.txt _build
- ninja -C _build
+ - meson test -C _build --benchmark -v --timeout-multiplier 10
cross-mingw64:
extends:
@@ -271,6 +272,7 @@ cross-mingw64:
# FIXME: Add --werror
- meson ${MESON_COMMON_OPTIONS} --cross-file=/opt/cross_file_mingw64.txt _build
- ninja -C _build
+ - meson test -C _build --benchmark -v --timeout-multiplier 10
artifacts:
reports:
junit: "_build/meson-logs/testlog.junit.xml"
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh
index 86402dcaf4..441e015a1b 100755
--- a/.gitlab-ci/run-tests.sh
+++ b/.gitlab-ci/run-tests.sh
@@ -2,6 +2,7 @@
meson test \
-C _build \
+ --benchmark -v \
--timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}" \
--no-suite flaky \
"$@"
diff --git a/.gitlab-ci/test-msvc.bat b/.gitlab-ci/test-msvc.bat
index 37976d4d00..ccee8c8322 100644
--- a/.gitlab-ci/test-msvc.bat
+++ b/.gitlab-ci/test-msvc.bat
@@ -17,7 +17,7 @@ meson %args% _build || goto :error
ninja -C _build || goto :error
:: FIXME: dont ignore test errors
-meson test -C _build --timeout-multiplier %MESON_TEST_TIMEOUT_MULTIPLIER% --no-suite flaky
+meson test -C _build --benchmark -v --timeout-multiplier %MESON_TEST_TIMEOUT_MULTIPLIER% --no-suite flaky
:: FIXME: can we get code coverage support?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]