From 31f70dc5e8e30ac340d70e13fb080abf4151b375 Mon Sep 17 00:00:00 2001 From: Bastien Date: Sun, 6 Aug 2023 16:39:32 +0200 Subject: [PATCH] mk/run-tests.sh: Update Emacs version in test names --- mk/run-tests.sh | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/mk/run-tests.sh b/mk/run-tests.sh index e6780ff..c9728ee 100755 --- a/mk/run-tests.sh +++ b/mk/run-tests.sh @@ -21,37 +21,37 @@ previous_head=$(git describe) git pull new_head=$(git describe) -echo "Check latest tests against Emacs 26, 27 and 28..." -url_26=https://builds.sr.ht/~bzg/org-mode-test-emacs-26.svg -res_26=$(curl -s "$url" | grep "success") +echo "Check latest tests against Emacs 27, 28 and 29..." url_27=https://builds.sr.ht/~bzg/org-mode-test-emacs-27.svg res_27=$(curl -s "$url" | grep "success") url_28=https://builds.sr.ht/~bzg/org-mode-test-emacs-28.svg res_28=$(curl -s "$url" | grep "success") +url_29=https://builds.sr.ht/~bzg/org-mode-test-emacs-29.svg +res_29=$(curl -s "$url" | grep "success") if [ "$1" = "force" ] || [ "$new_head" != "$previous_head" ] then - echo "Run test against Emacs 26 using Debian oldstable (bullseye)" - if [ "$res_26" != "" ] + echo "Run test against Emacs 27 using Debian oldstable (bullseye)" + if [ "$res_27" != "" ] then - curl -X POST -H "Content-Type: application/json" -d "{\"tags\": [\"org-mode-test-emacs-26\"], \"manifest\": \"$oldstable_alt_report_to\"}" -H "Authorization: Bearer $SR_HT_AUTH_BEARER" https://builds.sr.ht/api/jobs + curl -X POST -H "Content-Type: application/json" -d "{\"tags\": [\"org-mode-test-emacs-27\"], \"manifest\": \"$oldstable_alt_report_to\"}" -H "Authorization: Bearer $SR_HT_AUTH_BEARER" https://builds.sr.ht/api/jobs else - curl -X POST -H "Content-Type: application/json" -d "{\"tags\": [\"org-mode-test-emacs-26\"], \"manifest\": \"$oldstable\"}" -H "Authorization: Bearer $SR_HT_AUTH_BEARER" https://builds.sr.ht/api/jobs + curl -X POST -H "Content-Type: application/json" -d "{\"tags\": [\"org-mode-test-emacs-27\"], \"manifest\": \"$oldstable\"}" -H "Authorization: Bearer $SR_HT_AUTH_BEARER" https://builds.sr.ht/api/jobs fi - echo "Run test against Emacs 27 using Debian stable (bookworm)" - if [ "$res_27" != "" ] + echo "Run test against Emacs 28 using Debian stable (bookworm)" + if [ "$res_28" != "" ] then - curl -X POST -H "Content-Type: application/json" -d "{\"tags\": [\"org-mode-test-emacs-27\"], \"manifest\": \"$stable_alt_report_to\"}" -H "Authorization: Bearer $SR_HT_AUTH_BEARER" https://builds.sr.ht/api/jobs + curl -X POST -H "Content-Type: application/json" -d "{\"tags\": [\"org-mode-test-emacs-28\"], \"manifest\": \"$stable_alt_report_to\"}" -H "Authorization: Bearer $SR_HT_AUTH_BEARER" https://builds.sr.ht/api/jobs else - curl -X POST -H "Content-Type: application/json" -d "{\"tags\": [\"org-mode-test-emacs-27\"], \"manifest\": \"$stable\"}" -H "Authorization: Bearer $SR_HT_AUTH_BEARER" https://builds.sr.ht/api/jobs + curl -X POST -H "Content-Type: application/json" -d "{\"tags\": [\"org-mode-test-emacs-28\"], \"manifest\": \"$stable\"}" -H "Authorization: Bearer $SR_HT_AUTH_BEARER" https://builds.sr.ht/api/jobs fi - echo "Run test against Emacs 28 using Debian unstable (sid)" - if [ "$res_28" != "" ] + echo "Run test against Emacs 29 using Debian unstable (sid)" + if [ "$res_29" != "" ] then - curl -X POST -H "Content-Type: application/json" -d "{\"tags\": [\"org-mode-test-emacs-28\"], \"manifest\": \"$unstable_alt_report_to\"}" -H "Authorization: Bearer $SR_HT_AUTH_BEARER" https://builds.sr.ht/api/jobs + curl -X POST -H "Content-Type: application/json" -d "{\"tags\": [\"org-mode-test-emacs-29\"], \"manifest\": \"$unstable_alt_report_to\"}" -H "Authorization: Bearer $SR_HT_AUTH_BEARER" https://builds.sr.ht/api/jobs else - curl -X POST -H "Content-Type: application/json" -d "{\"tags\": [\"org-mode-test-emacs-28\"], \"manifest\": \"$unstable\"}" -H "Authorization: Bearer $SR_HT_AUTH_BEARER" https://builds.sr.ht/api/jobs + curl -X POST -H "Content-Type: application/json" -d "{\"tags\": [\"org-mode-test-emacs-29\"], \"manifest\": \"$unstable\"}" -H "Authorization: Bearer $SR_HT_AUTH_BEARER" https://builds.sr.ht/api/jobs fi fi -- 2.45.2