test: Bump Cockpit test API to 267, use --track-naughties option

run-tests recently got a new `--track-naughties` option [1] to explicitly
enable updating known issues on GitHub. Enable it for CI runs, and leave
it disabled for local runs and PackIt, as in these cases we don't want
to try and talk to GitHub.

[1] 7ef88e80ce
This commit is contained in:
Martin Pitt 2022-04-19 11:01:05 +02:00 committed by Martin Pitt
parent 5cf73c315a
commit a937b82cd2
2 changed files with 3 additions and 2 deletions

View file

@ -163,7 +163,7 @@ prepare-check: $(NODE_MODULES_TEST) $(VM_IMAGE) test/common
# run the browser integration tests; skip check for SELinux denials
# this will run all tests/check-* and format them as TAP
check: prepare-check
TEST_AUDIT_NO_SELINUX=1 test/common/run-tests
TEST_AUDIT_NO_SELINUX=1 test/common/run-tests ${RUN_TESTS_OPTIONS}
# checkout Cockpit's bots for standard test VM images and API to launch them
# must be from main, as only that has current and existing images; but testvm.py API is stable
@ -177,7 +177,7 @@ bots:
# when you start a new project, use the latest release, and update it from time to time
test/common:
flock Makefile sh -ec '\
git fetch --depth=1 https://github.com/cockpit-project/cockpit.git 265; \
git fetch --depth=1 https://github.com/cockpit-project/cockpit.git 267; \
git checkout --force FETCH_HEAD -- test/common; \
git reset test/common'