summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMartin Lund <mgl@doredevelopment.dk>2010-05-19 15:53:04 (GMT)
committerMartin Lund <mgl@doredevelopment.dk>2010-05-19 15:53:04 (GMT)
commit1779c82ad2916f9a3c3ad2dd350dbeb2d6692f9d (patch)
treeced95e1ac1b87ffeaffa3aafa985be5e27ca621e /config
parent0a63e8222c2865406f0c8967fedd8a89c2c816d8 (diff)
test-suite: Added new test suite feature (experimental)
This patch adds support for installing the gcc test suite. A helper Makefile is provided for building and running the gcc tests. The default configuration runs all gcc tests and requires automatic ssh/scp login access to a networked target board. See README for more details. Note: Current feature is tested with the powerpc-unknown-linux-gnu sample but it should work with others as well. Signed-off-by: Martin Lund <mgl@doredevelopment.dk>
Diffstat (limited to 'config')
-rw-r--r--config/config.in1
-rw-r--r--config/test_suite.in30
2 files changed, 31 insertions, 0 deletions
diff --git a/config/config.in b/config/config.in
index f4beffe..5aa111e 100644
--- a/config/config.in
+++ b/config/config.in
@@ -9,3 +9,4 @@ source "config/libc.in"
source "config/debug.in"
source "config/companion_libs.in"
source "config/companion_tools.in"
+source "config/test_suite.in"
diff --git a/config/test_suite.in b/config/test_suite.in
new file mode 100644
index 0000000..0ac2f49
--- /dev/null
+++ b/config/test_suite.in
@@ -0,0 +1,30 @@
+# Test suite config options
+
+if EXPERIMENTAL
+
+menu "Test suite"
+
+config TEST_SUITE
+ bool
+ default n
+
+config TEST_SUITE_GCC
+ bool
+ prompt "GCC test suite"
+ depends on EXPERIMENTAL
+ default n
+ select TEST_SUITE
+ help
+ Select this option to install the GCC test suite in $CT_PREFIX_DIR/test_suite.
+
+ The GCC test suite includes a collection of various toolchain tests for GCC -
+ it utilizes the DejaGnu test framework.
+
+ For some tests a network enabled target with ssh server is required.
+
+ A helper Makefile is provided for running the tests - please see the included
+ README for information on how to run the test suite.
+
+endmenu
+
+endif