aboutsummaryrefslogtreecommitdiffstats
path: root/test/nil
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-04-02 10:34:01 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-04-02 10:34:01 +0000
commit4c9f1963a9d92af708dccb93a41f0cebcb43e796 (patch)
treef13720976c61698469a95057fda8748fe46053c3 /test/nil
parent9ab3be39cbb99b811b29b56aad107298828fd52c (diff)
downloadChibiOS-4c9f1963a9d92af708dccb93a41f0cebcb43e796.tar.gz
ChibiOS-4c9f1963a9d92af708dccb93a41f0cebcb43e796.tar.bz2
ChibiOS-4c9f1963a9d92af708dccb93a41f0cebcb43e796.zip
Improved test specifications generation.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9221 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/nil')
-rw-r--r--test/nil/source/test/test_root.h6
-rw-r--r--test/nil/source/test/test_sequence_001.c3
-rw-r--r--test/nil/source/test/test_sequence_001.h10
-rw-r--r--test/nil/source/test/test_sequence_002.c3
-rw-r--r--test/nil/source/test/test_sequence_002.h10
-rw-r--r--test/nil/source/test/test_sequence_003.c3
-rw-r--r--test/nil/source/test/test_sequence_003.h10
-rw-r--r--test/nil/source/test/test_sequence_004.c3
-rw-r--r--test/nil/source/test/test_sequence_004.h10
-rw-r--r--test/nil/source/test/test_sequence_005.c3
-rw-r--r--test/nil/source/test/test_sequence_005.h10
-rw-r--r--test/nil/source/test/test_sequence_006.c3
-rw-r--r--test/nil/source/test/test_sequence_006.h10
-rw-r--r--test/nil/specgen/Doxyfile2
14 files changed, 82 insertions, 4 deletions
diff --git a/test/nil/source/test/test_root.h b/test/nil/source/test/test_root.h
index d52950e64..0b3d65ecf 100644
--- a/test/nil/source/test/test_root.h
+++ b/test/nil/source/test/test_root.h
@@ -19,8 +19,8 @@
* @brief Test Suite root structures header.
*/
-#ifndef _SPC5_TEST_ROOT_H_
-#define _SPC5_TEST_ROOT_H_
+#ifndef TEST_ROOT_H
+#define TEST_ROOT_H
#include "test_sequence_001.h"
#include "test_sequence_002.h"
@@ -58,4 +58,4 @@ THD_FUNCTION(test_support, arg);
#endif /* !defined(__DOXYGEN__) */
-#endif /* _SPC5_TEST_ROOT_H_ */
+#endif /* TEST_ROOT_H */
diff --git a/test/nil/source/test/test_sequence_001.c b/test/nil/source/test/test_sequence_001.c
index a3446b096..6c1babec7 100644
--- a/test/nil/source/test/test_sequence_001.c
+++ b/test/nil/source/test/test_sequence_001.c
@@ -19,6 +19,9 @@
#include "test_root.h"
/**
+ * @file test_sequence_001.c
+ * @brief Test Sequence 001 code.
+ *
* @page test_sequence_001 [1] Threads Functionality
*
* File: @ref test_sequence_001.c
diff --git a/test/nil/source/test/test_sequence_001.h b/test/nil/source/test/test_sequence_001.h
index 7a71cfc00..a1e55c6fd 100644
--- a/test/nil/source/test/test_sequence_001.h
+++ b/test/nil/source/test/test_sequence_001.h
@@ -14,4 +14,14 @@
limitations under the License.
*/
+/**
+ * @file test_sequence_001.h
+ * @brief Test Sequence 001 header.
+ */
+
+#ifndef TEST_SEQUENCE_001_H
+#define TEST_SEQUENCE_001_H
+
extern const testcase_t * const test_sequence_001[];
+
+#endif /* TEST_SEQUENCE_001_H */
diff --git a/test/nil/source/test/test_sequence_002.c b/test/nil/source/test/test_sequence_002.c
index 9c32486bd..445028963 100644
--- a/test/nil/source/test/test_sequence_002.c
+++ b/test/nil/source/test/test_sequence_002.c
@@ -19,6 +19,9 @@
#include "test_root.h"
/**
+ * @file test_sequence_002.c
+ * @brief Test Sequence 002 code.
+ *
* @page test_sequence_002 [2] Semaphores
*
* File: @ref test_sequence_002.c
diff --git a/test/nil/source/test/test_sequence_002.h b/test/nil/source/test/test_sequence_002.h
index fdf3a8148..bcaee5aae 100644
--- a/test/nil/source/test/test_sequence_002.h
+++ b/test/nil/source/test/test_sequence_002.h
@@ -14,4 +14,14 @@
limitations under the License.
*/
+/**
+ * @file test_sequence_002.h
+ * @brief Test Sequence 002 header.
+ */
+
+#ifndef TEST_SEQUENCE_002_H
+#define TEST_SEQUENCE_002_H
+
extern const testcase_t * const test_sequence_002[];
+
+#endif /* TEST_SEQUENCE_002_H */
diff --git a/test/nil/source/test/test_sequence_003.c b/test/nil/source/test/test_sequence_003.c
index 5be49525b..977ddbca8 100644
--- a/test/nil/source/test/test_sequence_003.c
+++ b/test/nil/source/test/test_sequence_003.c
@@ -19,6 +19,9 @@
#include "test_root.h"
/**
+ * @file test_sequence_003.c
+ * @brief Test Sequence 003 code.
+ *
* @page test_sequence_003 [3] Suspend/Resume and Event Flags
*
* File: @ref test_sequence_003.c
diff --git a/test/nil/source/test/test_sequence_003.h b/test/nil/source/test/test_sequence_003.h
index 71ce5cd65..c2365aa1d 100644
--- a/test/nil/source/test/test_sequence_003.h
+++ b/test/nil/source/test/test_sequence_003.h
@@ -14,4 +14,14 @@
limitations under the License.
*/
+/**
+ * @file test_sequence_003.h
+ * @brief Test Sequence 003 header.
+ */
+
+#ifndef TEST_SEQUENCE_003_H
+#define TEST_SEQUENCE_003_H
+
extern const testcase_t * const test_sequence_003[];
+
+#endif /* TEST_SEQUENCE_003_H */
diff --git a/test/nil/source/test/test_sequence_004.c b/test/nil/source/test/test_sequence_004.c
index a4b3765f5..7899c0c31 100644
--- a/test/nil/source/test/test_sequence_004.c
+++ b/test/nil/source/test/test_sequence_004.c
@@ -19,6 +19,9 @@
#include "test_root.h"
/**
+ * @file test_sequence_004.c
+ * @brief Test Sequence 004 code.
+ *
* @page test_sequence_004 [4] Mailboxes
*
* File: @ref test_sequence_004.c
diff --git a/test/nil/source/test/test_sequence_004.h b/test/nil/source/test/test_sequence_004.h
index caa3a601c..09677d6fb 100644
--- a/test/nil/source/test/test_sequence_004.h
+++ b/test/nil/source/test/test_sequence_004.h
@@ -14,4 +14,14 @@
limitations under the License.
*/
+/**
+ * @file test_sequence_004.h
+ * @brief Test Sequence 004 header.
+ */
+
+#ifndef TEST_SEQUENCE_004_H
+#define TEST_SEQUENCE_004_H
+
extern const testcase_t * const test_sequence_004[];
+
+#endif /* TEST_SEQUENCE_004_H */
diff --git a/test/nil/source/test/test_sequence_005.c b/test/nil/source/test/test_sequence_005.c
index f37622787..a9e22e0db 100644
--- a/test/nil/source/test/test_sequence_005.c
+++ b/test/nil/source/test/test_sequence_005.c
@@ -19,6 +19,9 @@
#include "test_root.h"
/**
+ * @file test_sequence_005.c
+ * @brief Test Sequence 005 code.
+ *
* @page test_sequence_005 [5] Memory Pools
*
* File: @ref test_sequence_005.c
diff --git a/test/nil/source/test/test_sequence_005.h b/test/nil/source/test/test_sequence_005.h
index b65d62ace..8389efc62 100644
--- a/test/nil/source/test/test_sequence_005.h
+++ b/test/nil/source/test/test_sequence_005.h
@@ -14,4 +14,14 @@
limitations under the License.
*/
+/**
+ * @file test_sequence_005.h
+ * @brief Test Sequence 005 header.
+ */
+
+#ifndef TEST_SEQUENCE_005_H
+#define TEST_SEQUENCE_005_H
+
extern const testcase_t * const test_sequence_005[];
+
+#endif /* TEST_SEQUENCE_005_H */
diff --git a/test/nil/source/test/test_sequence_006.c b/test/nil/source/test/test_sequence_006.c
index 07addd7e2..907f3f0d6 100644
--- a/test/nil/source/test/test_sequence_006.c
+++ b/test/nil/source/test/test_sequence_006.c
@@ -19,6 +19,9 @@
#include "test_root.h"
/**
+ * @file test_sequence_006.c
+ * @brief Test Sequence 006 code.
+ *
* @page test_sequence_006 [6] Memory Heaps
*
* File: @ref test_sequence_006.c
diff --git a/test/nil/source/test/test_sequence_006.h b/test/nil/source/test/test_sequence_006.h
index 026d07577..c7cf10a72 100644
--- a/test/nil/source/test/test_sequence_006.h
+++ b/test/nil/source/test/test_sequence_006.h
@@ -14,4 +14,14 @@
limitations under the License.
*/
+/**
+ * @file test_sequence_006.h
+ * @brief Test Sequence 006 header.
+ */
+
+#ifndef TEST_SEQUENCE_006_H
+#define TEST_SEQUENCE_006_H
+
extern const testcase_t * const test_sequence_006[];
+
+#endif /* TEST_SEQUENCE_006_H */
diff --git a/test/nil/specgen/Doxyfile b/test/nil/specgen/Doxyfile
index 7eb39ebda..70b91f046 100644
--- a/test/nil/specgen/Doxyfile
+++ b/test/nil/specgen/Doxyfile
@@ -675,7 +675,7 @@ SHOW_USED_FILES = NO
# (if specified).
# The default value is: YES.
-SHOW_FILES = YES
+SHOW_FILES = NO
# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
# page. This will remove the Namespaces entry from the Quick Index and from the