diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-07-23 12:40:38 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-07-23 12:40:38 +0200 |
commit | ea321f45d89ea8212e5951fdaf4e2c490aec4a96 (patch) | |
tree | 057e631194370da295695b8d75ebbfe05bea425c /rtemsspec | |
parent | Rename "rtemsqual" in "rtemsspec" (diff) | |
download | rtems-central-ea321f45d89ea8212e5951fdaf4e2c490aec4a96.tar.bz2 |
validation: Use <rtems/test.h> instead of <t.h>
Diffstat (limited to 'rtemsspec')
-rw-r--r-- | rtemsspec/tests/test_validation.py | 8 | ||||
-rw-r--r-- | rtemsspec/validation.py | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/rtemsspec/tests/test_validation.py b/rtemsspec/tests/test_validation.py index d2a79f8c..603d9437 100644 --- a/rtemsspec/tests/test_validation.py +++ b/rtemsspec/tests/test_validation.py @@ -85,7 +85,7 @@ def test_validation(tmpdir): #include "green.h" -#include <t.h> +#include <rtems/test.h> /** * @defgroup RTEMSTestSuiteBlueGreen Blue Green @@ -152,7 +152,7 @@ def test_validation(tmpdir): #include "x.h" #include "y.h" -#include <t.h> +#include <rtems/test.h> /** * @defgroup RTEMSTestCaseClassicTaskIdentification Classic Task Identification @@ -803,7 +803,7 @@ T_TEST_CASE_FIXTURE( TestCase2, &test_case_2_fixture ) #include "z.h" -#include <t.h> +#include <rtems/test.h> /** * @defgroup RTEMSTestCaseTestCase3 Test Case 3 @@ -1000,7 +1000,7 @@ void Action2_Run( int *a, int b, int *c ); #include "b.h" -#include <t.h> +#include <rtems/test.h> /** * @defgroup RTEMSTestCaseAction2 Action 2 diff --git a/rtemsspec/validation.py b/rtemsspec/validation.py index d2d5a500..fd758241 100644 --- a/rtemsspec/validation.py +++ b/rtemsspec/validation.py @@ -632,7 +632,7 @@ class _SourceFile: content.add_have_config() content.add_includes(includes) content.add_includes(local_includes, local=True) - content.add_includes([CInclude("t.h")]) + content.add_includes([CInclude("rtems/test.h")]) for item in sorted(self._test_cases, key=lambda x: x.name): item.generate(content, base_directory, test_case_to_suites) for item in sorted(self._test_suites, key=lambda x: x.name): |