diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-01-19 06:56:43 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-01-22 14:06:44 +0100 |
commit | 4d5c6b987610d74c9ef61904776962fdda5bdb34 (patch) | |
tree | 6ec35253400328a7651ab3de5eba7c22be396929 | |
parent | items: Improve identifier to value error message (diff) | |
download | rtems-central-4d5c6b987610d74c9ef61904776962fdda5bdb34.tar.bz2 |
content: Improve automatically generated warning
-rw-r--r-- | rtemsspec/content.py | 10 | ||||
-rw-r--r-- | rtemsspec/tests/test_applconfig.py | 20 | ||||
-rw-r--r-- | rtemsspec/tests/test_interface.py | 10 | ||||
-rw-r--r-- | rtemsspec/tests/test_interfacedoc.py | 40 | ||||
-rw-r--r-- | rtemsspec/tests/test_specdoc.py | 10 | ||||
-rw-r--r-- | rtemsspec/tests/test_validation.py | 70 |
6 files changed, 112 insertions, 48 deletions
diff --git a/rtemsspec/content.py b/rtemsspec/content.py index c8e32afa..cdd437a0 100644 --- a/rtemsspec/content.py +++ b/rtemsspec/content.py @@ -164,11 +164,15 @@ _AUTOMATICALLY_GENERATED_WARNING = [ "worded better please post a report or patch to an RTEMS mailing list", "or raise a bug report:", "", - "https://docs.rtems.org/branches/master/user/support/bugs.html", + "https://www.rtems.org/bugs.html", "", - "For information on updating and regenerating please refer to:", + "For information on updating and regenerating please refer to the How-To", + "section in the Software Requirements Engineering chapter of the", + "RTEMS Software Engineering manual. The manual is provided as a part of", + "a release. For development sources please refer to the online", + "documentation at:", "", - "https://docs.rtems.org/branches/master/eng/req/howto.html", + "https://docs.rtems.org", ] diff --git a/rtemsspec/tests/test_applconfig.py b/rtemsspec/tests/test_applconfig.py index 3da310cd..c99e026e 100644 --- a/rtemsspec/tests/test_applconfig.py +++ b/rtemsspec/tests/test_applconfig.py @@ -53,11 +53,15 @@ def test_applconfig(tmpdir): .. worded better please post a report or patch to an RTEMS mailing list .. or raise a bug report: .. -.. https://docs.rtems.org/branches/master/user/support/bugs.html +.. https://www.rtems.org/bugs.html .. -.. For information on updating and regenerating please refer to: +.. For information on updating and regenerating please refer to the How-To +.. section in the Software Requirements Engineering chapter of the +.. RTEMS Software Engineering manual. The manual is provided as a part of +.. a release. For development sources please refer to the online +.. documentation at: .. -.. https://docs.rtems.org/branches/master/eng/req/howto.html +.. https://docs.rtems.org .. Generated from spec:/g @@ -436,11 +440,15 @@ NOTES: * worded better please post a report or patch to an RTEMS mailing list * or raise a bug report: * - * https://docs.rtems.org/branches/master/user/support/bugs.html + * https://www.rtems.org/bugs.html * - * For information on updating and regenerating please refer to: + * For information on updating and regenerating please refer to the How-To + * section in the Software Requirements Engineering chapter of the + * RTEMS Software Engineering manual. The manual is provided as a part of + * a release. For development sources please refer to the online + * documentation at: * - * https://docs.rtems.org/branches/master/eng/req/howto.html + * https://docs.rtems.org */ /** diff --git a/rtemsspec/tests/test_interface.py b/rtemsspec/tests/test_interface.py index 2ac2f3e9..9cdea77e 100644 --- a/rtemsspec/tests/test_interface.py +++ b/rtemsspec/tests/test_interface.py @@ -91,11 +91,15 @@ def test_interface(tmpdir): * worded better please post a report or patch to an RTEMS mailing list * or raise a bug report: * - * https://docs.rtems.org/branches/master/user/support/bugs.html + * https://www.rtems.org/bugs.html * - * For information on updating and regenerating please refer to: + * For information on updating and regenerating please refer to the How-To + * section in the Software Requirements Engineering chapter of the + * RTEMS Software Engineering manual. The manual is provided as a part of + * a release. For development sources please refer to the online + * documentation at: * - * https://docs.rtems.org/branches/master/eng/req/howto.html + * https://docs.rtems.org */ /* Generated from spec:/h */ diff --git a/rtemsspec/tests/test_interfacedoc.py b/rtemsspec/tests/test_interfacedoc.py index c1c8f371..a99e279f 100644 --- a/rtemsspec/tests/test_interfacedoc.py +++ b/rtemsspec/tests/test_interfacedoc.py @@ -61,11 +61,15 @@ def test_interfacedoc(tmpdir): .. worded better please post a report or patch to an RTEMS mailing list .. or raise a bug report: .. -.. https://docs.rtems.org/branches/master/user/support/bugs.html +.. https://www.rtems.org/bugs.html .. -.. For information on updating and regenerating please refer to: +.. For information on updating and regenerating please refer to the How-To +.. section in the Software Requirements Engineering chapter of the +.. RTEMS Software Engineering manual. The manual is provided as a part of +.. a release. For development sources please refer to the online +.. documentation at: .. -.. https://docs.rtems.org/branches/master/eng/req/howto.html +.. https://docs.rtems.org .. Generated from spec:/gb @@ -109,11 +113,15 @@ The directives provided by the Group B are: .. worded better please post a report or patch to an RTEMS mailing list .. or raise a bug report: .. -.. https://docs.rtems.org/branches/master/user/support/bugs.html +.. https://www.rtems.org/bugs.html .. -.. For information on updating and regenerating please refer to: +.. For information on updating and regenerating please refer to the How-To +.. section in the Software Requirements Engineering chapter of the +.. RTEMS Software Engineering manual. The manual is provided as a part of +.. a release. For development sources please refer to the online +.. documentation at: .. -.. https://docs.rtems.org/branches/master/eng/req/howto.html +.. https://docs.rtems.org .. _GroupBDirectives: @@ -355,11 +363,15 @@ Macro without parameters. .. worded better please post a report or patch to an RTEMS mailing list .. or raise a bug report: .. -.. https://docs.rtems.org/branches/master/user/support/bugs.html +.. https://www.rtems.org/bugs.html .. -.. For information on updating and regenerating please refer to: +.. For information on updating and regenerating please refer to the How-To +.. section in the Software Requirements Engineering chapter of the +.. RTEMS Software Engineering manual. The manual is provided as a part of +.. a release. For development sources please refer to the online +.. documentation at: .. -.. https://docs.rtems.org/branches/master/eng/req/howto.html +.. https://docs.rtems.org .. Generated from spec:/ga @@ -389,11 +401,15 @@ Group A description. The directives provided by the Group A are: .. worded better please post a report or patch to an RTEMS mailing list .. or raise a bug report: .. -.. https://docs.rtems.org/branches/master/user/support/bugs.html +.. https://www.rtems.org/bugs.html .. -.. For information on updating and regenerating please refer to: +.. For information on updating and regenerating please refer to the How-To +.. section in the Software Requirements Engineering chapter of the +.. RTEMS Software Engineering manual. The manual is provided as a part of +.. a release. For development sources please refer to the online +.. documentation at: .. -.. https://docs.rtems.org/branches/master/eng/req/howto.html +.. https://docs.rtems.org .. _GroupADirectives: diff --git a/rtemsspec/tests/test_specdoc.py b/rtemsspec/tests/test_specdoc.py index 192c7146..df875a29 100644 --- a/rtemsspec/tests/test_specdoc.py +++ b/rtemsspec/tests/test_specdoc.py @@ -71,11 +71,15 @@ def test_document(tmpdir): .. worded better please post a report or patch to an RTEMS mailing list .. or raise a bug report: .. -.. https://docs.rtems.org/branches/master/user/support/bugs.html +.. https://www.rtems.org/bugs.html .. -.. For information on updating and regenerating please refer to: +.. For information on updating and regenerating please refer to the How-To +.. section in the Software Requirements Engineering chapter of the +.. RTEMS Software Engineering manual. The manual is provided as a part of +.. a release. For development sources please refer to the online +.. documentation at: .. -.. https://docs.rtems.org/branches/master/eng/req/howto.html +.. https://docs.rtems.org .. _ReqEngSpecificationItems: diff --git a/rtemsspec/tests/test_validation.py b/rtemsspec/tests/test_validation.py index 77ed8eb1..2dd1ab7a 100644 --- a/rtemsspec/tests/test_validation.py +++ b/rtemsspec/tests/test_validation.py @@ -83,11 +83,15 @@ def test_validation(tmpdir): * worded better please post a report or patch to an RTEMS mailing list * or raise a bug report: * - * https://docs.rtems.org/branches/master/user/support/bugs.html + * https://www.rtems.org/bugs.html * - * For information on updating and regenerating please refer to: + * For information on updating and regenerating please refer to the How-To + * section in the Software Requirements Engineering chapter of the + * RTEMS Software Engineering manual. The manual is provided as a part of + * a release. For development sources please refer to the online + * documentation at: * - * https://docs.rtems.org/branches/master/eng/req/howto.html + * https://docs.rtems.org */ #ifdef HAVE_CONFIG_H @@ -159,11 +163,15 @@ def test_validation(tmpdir): * worded better please post a report or patch to an RTEMS mailing list * or raise a bug report: * - * https://docs.rtems.org/branches/master/user/support/bugs.html + * https://www.rtems.org/bugs.html * - * For information on updating and regenerating please refer to: + * For information on updating and regenerating please refer to the How-To + * section in the Software Requirements Engineering chapter of the + * RTEMS Software Engineering manual. The manual is provided as a part of + * a release. For development sources please refer to the online + * documentation at: * - * https://docs.rtems.org/branches/master/eng/req/howto.html + * https://docs.rtems.org */ #ifdef HAVE_CONFIG_H @@ -954,11 +962,15 @@ T_TEST_CASE_FIXTURE( Tc2, &test_case_2_fixture ) * worded better please post a report or patch to an RTEMS mailing list * or raise a bug report: * - * https://docs.rtems.org/branches/master/user/support/bugs.html + * https://www.rtems.org/bugs.html * - * For information on updating and regenerating please refer to: + * For information on updating and regenerating please refer to the How-To + * section in the Software Requirements Engineering chapter of the + * RTEMS Software Engineering manual. The manual is provided as a part of + * a release. For development sources please refer to the online + * documentation at: * - * https://docs.rtems.org/branches/master/eng/req/howto.html + * https://docs.rtems.org */ #ifdef HAVE_CONFIG_H @@ -1326,11 +1338,15 @@ void Tc6_Run( void ) * worded better please post a report or patch to an RTEMS mailing list * or raise a bug report: * - * https://docs.rtems.org/branches/master/user/support/bugs.html + * https://www.rtems.org/bugs.html * - * For information on updating and regenerating please refer to: + * For information on updating and regenerating please refer to the How-To + * section in the Software Requirements Engineering chapter of the + * RTEMS Software Engineering manual. The manual is provided as a part of + * a release. For development sources please refer to the online + * documentation at: * - * https://docs.rtems.org/branches/master/eng/req/howto.html + * https://docs.rtems.org */ #ifndef _TC5_H @@ -1412,11 +1428,15 @@ void Tc5_Run( int *a, int b, int *c ); * worded better please post a report or patch to an RTEMS mailing list * or raise a bug report: * - * https://docs.rtems.org/branches/master/user/support/bugs.html + * https://www.rtems.org/bugs.html * - * For information on updating and regenerating please refer to: + * For information on updating and regenerating please refer to the How-To + * section in the Software Requirements Engineering chapter of the + * RTEMS Software Engineering manual. The manual is provided as a part of + * a release. For development sources please refer to the online + * documentation at: * - * https://docs.rtems.org/branches/master/eng/req/howto.html + * https://docs.rtems.org */ #ifndef _TC6_H @@ -1486,11 +1506,15 @@ void Tc6_Run( void ); * worded better please post a report or patch to an RTEMS mailing list * or raise a bug report: * - * https://docs.rtems.org/branches/master/user/support/bugs.html + * https://www.rtems.org/bugs.html * - * For information on updating and regenerating please refer to: + * For information on updating and regenerating please refer to the How-To + * section in the Software Requirements Engineering chapter of the + * RTEMS Software Engineering manual. The manual is provided as a part of + * a release. For development sources please refer to the online + * documentation at: * - * https://docs.rtems.org/branches/master/eng/req/howto.html + * https://docs.rtems.org */ #ifndef _ACTION2_H @@ -1597,11 +1621,15 @@ void Action2_Run( int *a, int b, int *c ); * worded better please post a report or patch to an RTEMS mailing list * or raise a bug report: * - * https://docs.rtems.org/branches/master/user/support/bugs.html + * https://www.rtems.org/bugs.html * - * For information on updating and regenerating please refer to: + * For information on updating and regenerating please refer to the How-To + * section in the Software Requirements Engineering chapter of the + * RTEMS Software Engineering manual. The manual is provided as a part of + * a release. For development sources please refer to the online + * documentation at: * - * https://docs.rtems.org/branches/master/eng/req/howto.html + * https://docs.rtems.org */ #ifdef HAVE_CONFIG_H |