]> Git Repo - linux.git/commitdiff
Merge tag 'linux_kselftest-next-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kerne...
authorLinus Torvalds <[email protected]>
Wed, 22 Jan 2025 20:30:20 +0000 (12:30 -0800)
committerLinus Torvalds <[email protected]>
Wed, 22 Jan 2025 20:30:20 +0000 (12:30 -0800)
Pull kselftest updates from Shuah Khan:

 - fixes, reporting improvements, and cleanup changes to several tests

 - add support for DT_GNU_HASH to selftests/vDSO

* tag 'linux_kselftest-next-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
  selftests/rseq: Fix handling of glibc without rseq support
  selftests/resctrl: Discover SNC kernel support and adjust messages
  selftests/resctrl: Adjust effective L3 cache size with SNC enabled
  selftests/ftrace: Make uprobe test more robust against binary name
  selftests/ftrace: Fix to use remount when testing mount GID option
  selftests: tmpfs: Add kselftest support to tmpfs
  selftests: tmpfs: Add Test-skip if not run as root
  selftests: harness: fix printing of mismatch values in __EXPECT()
  selftests/ring-buffer: Add test for out-of-bound pgoff mapping
  selftests/run_kselftest.sh: Fix help string for --per-test-log
  selftests: acct: Add ksft_exit_skip if not running as root
  selftests: kselftest: Fix the wrong format specifier
  selftests: timers: clocksource-switch: Adapt progress to kselftest framework
  selftests/zram: gitignore output file
  selftests/filesystems: Add missing gitignore file
  selftests: Warn about skipped tests in result summary
  selftests: kselftest: Add ksft_test_result_xpass
  selftests/vDSO: support DT_GNU_HASH
  selftests/ipc: Remove unused variables
  selftest: media_tests: fix trivial UAF typo

1  2 
tools/testing/selftests/kselftest/ktap_helpers.sh

index 05a46189067198b0bfae272498b653e9fdd09a8a,531094d81f03d980069796e99b9bcb5289e401c0..8fa84b52181119ce1353de58320be051e2ac5edd
@@@ -118,5 -107,9 +118,9 @@@ ktap_finished() 
  }
  
  ktap_print_totals() {
 -      echo "# Totals: pass:$KTAP_CNT_PASS fail:$KTAP_CNT_FAIL xfail:0 xpass:0 skip:$KTAP_CNT_SKIP error:0"
+       if [ "$KTAP_CNT_SKIP" -gt 0 ]; then
+               echo "# $KTAP_CNT_SKIP skipped test(s) detected. " \
+                       "Consider enabling relevant config options to improve coverage."
+       fi
 +      echo "# Totals: pass:$KTAP_CNT_PASS fail:$KTAP_CNT_FAIL xfail:$KTAP_CNT_XFAIL xpass:0 skip:$KTAP_CNT_SKIP error:0"
  }
This page took 0.062164 seconds and 4 git commands to generate.