[rtems-central commit] interface: Add automatically generated warning
Sebastian Huber
sebh at rtems.org
Thu Aug 20 14:13:13 UTC 2020
Module: rtems-central
Branch: master
Commit: 6fc23e6c98f94c42618f12e285d2f87a72ba4316
Changeset: http://git.rtems.org/rtems-central/commit/?id=6fc23e6c98f94c42618f12e285d2f87a72ba4316
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Aug 19 11:07:54 2020 +0200
interface: Add automatically generated warning
---
rtemsspec/interface.py | 1 +
rtemsspec/tests/test_interface.py | 9 +++++++++
2 files changed, 10 insertions(+)
diff --git a/rtemsspec/interface.py b/rtemsspec/interface.py
index 09325f2..28b5bc8 100644
--- a/rtemsspec/interface.py
+++ b/rtemsspec/interface.py
@@ -515,6 +515,7 @@ class _HeaderFile:
self._content.add_ingroup(_get_group_identifiers(self._ingroups))
self._content.add_brief_description(self._item["brief"])
self._content.add_copyrights_and_licenses()
+ self._content.add_automatically_generated_warning()
with self._content.header_guard(self._item["path"]):
exp_mapper = _HeaderExpressionMapper(self._item,
self.enabled_by_defined)
diff --git a/rtemsspec/tests/test_interface.py b/rtemsspec/tests/test_interface.py
index a08c521..7f7192e 100644
--- a/rtemsspec/tests/test_interface.py
+++ b/rtemsspec/tests/test_interface.py
@@ -85,6 +85,15 @@ def test_interface(tmpdir):
* POSSIBILITY OF SUCH DAMAGE.
*/
+/*
+ * This file was automatically generated. Do not edit it manually.
+ * Please have a look at
+ *
+ * https://docs.rtems.org/branches/master/eng/req/howto.html
+ *
+ * for information how to maintain and re-generate this file.
+ */
+
#ifndef _H_H
#define _H_H
More information about the vc
mailing list