Adjust paths for impending moves to the framework

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2024-10-03 18:52:58 +02:00
parent 082eadef4e
commit 3146772575
4 changed files with 5 additions and 4 deletions

View File

@ -22,7 +22,7 @@ Each test case has a description which succinctly describes for a human audience
* Make the description descriptive. “foo: x=2, y=4” is more descriptive than “foo #2”. “foo: 0<x<y, both even is even better if these inequalities and parities are why this particular test data was chosen.
* Avoid changing the description of an existing test case without a good reason. This breaks the tracking of failures across CI runs, since this tracking is based on the descriptions.
`tests/scripts/check_test_cases.py` enforces some rules and warns if some guidelines are violated.
`framework/scripts/check_test_cases.py` enforces some rules and warns if some guidelines are violated.
## TLS tests

View File

@ -8,7 +8,8 @@ less likely to be useful.
import re
import outcome_analysis
import scripts_path # pylint: disable=unused-import
from mbedtls_framework import outcome_analysis
class CoverageTask(outcome_analysis.CoverageTask):

View File

@ -14,7 +14,7 @@ import re
import sys
import scripts_path # pylint: disable=unused-import
import collect_test_cases
from mbedtls_framework import collect_test_cases
class DescriptionChecker(collect_test_cases.TestDescriptionExplorer):

View File

@ -70,7 +70,7 @@ component_check_test_cases () {
else
opt=''
fi
tests/scripts/check_test_cases.py -q $opt
framework/scripts/check_test_cases.py -q $opt
unset opt
}