Skip to content

Commit

Permalink
cet: add the tests dependence check
Browse files Browse the repository at this point in the history
Add the tests dependence check for cet:
1. hw_dep: could check if test platform CPU could support CET shstk
2. other_warn: could check if Glibc could support CET shstk, other_warn
   will fail partial cet cases, and will not block all CET cases.

Signed-off-by: Pengfei Xu <[email protected]>
  • Loading branch information
xupengfe committed Apr 23, 2024
1 parent 933aa1e commit 74ab1a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cet/tests
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# This file collects the CET(Control-flow Enforcement Technology) tests on
# Intel® Architecture-based platforms.
# @hw_dep: cpuid_check 7 0 0 0 c 7 @ HW cpuid could not support CET SHSTK
# @other_dep:
# @other_warn: quick_test @ Glibc could not support CET

# User space SHSTK tests without SHSTK Glibc supported
cet_tests.sh -t cp_test -n shstk_cp -k "control protection"
Expand Down

0 comments on commit 74ab1a0

Please sign in to comment.