summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2012-12-12 12:33:04 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2012-12-12 12:33:04 +0100
commit4ace25797397d28a877a30555366de38da1da33b (patch)
tree13fd67479d0af2a9e23d6030a9556daf7a097ff9
parent7b0c82e7709d7208df1dae74677ad3783c2d9fbb (diff)
Rename kconfigtest.py to testsuite.py.
-rw-r--r--README.md4
-rw-r--r--kconfiglib.py4
-rw-r--r--makefile.patch6
-rw-r--r--testsuite.py (renamed from kconfigtest.py)4
4 files changed, 9 insertions, 9 deletions
diff --git a/README.md b/README.md
index db8a7b2..e1de435 100644
--- a/README.md
+++ b/README.md
@@ -24,9 +24,9 @@ manually.
The test suite is run with
-> $ python Kconfiglib/kconfigtest.py
+> $ python Kconfiglib/testsuite.py
-You might want to use the "speedy" option. See kconfigtest.py.
+You might want to use the "speedy" option. See testsuite.py.
Please tell me if you miss some API instead of digging into internals. The
internal data structures and APIs, and dependency stuff in particular, are
diff --git a/kconfiglib.py b/kconfiglib.py
index 29b02ad..c7fc93f 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -12,7 +12,7 @@
#
# $ make scriptconfig SCRIPT=Kconfiglib/examples/print_tree.py
#
-# Look in kconfigtest.py for the test suite.
+# Look in testsuite.py for the test suite.
"""
Kconfiglib is a Python library for scripting and extracting information from
@@ -57,7 +57,7 @@ Look in the examples/ subdirectory for examples, which can be run with e.g.
$ make scriptconfig SCRIPT=Kconfiglib/examples/print_tree.py
-Look in kconfigtest.py for the test suite.
+Look in testsuite.py for the test suite.
Credits: Written by Ulf "Ulfalizer" Magnusson
diff --git a/makefile.patch b/makefile.patch
index 38f30ba..c8c278c 100644
--- a/makefile.patch
+++ b/makefile.patch
@@ -1,4 +1,4 @@
-From 7329f3d49ccc1bb698ab2d2556d85747ea2b168a Mon Sep 17 00:00:00 2001
+From 10d327f145cfd2004ba5c9f4e8fbb6a9a6d725a4 Mon Sep 17 00:00:00 2001
From: Ulf Magnusson <ulfalizer@gmail.com>
Date: Fri, 7 Dec 2012 03:58:36 +0100
Subject: [PATCH] Kconfiglib scripts/kconfig/Makefile patch.
@@ -8,7 +8,7 @@ Subject: [PATCH] Kconfiglib scripts/kconfig/Makefile patch.
1 file changed, 35 insertions(+)
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
-index 3091794..0f29810 100644
+index 3091794..012bafb 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -11,6 +11,41 @@ else
@@ -44,7 +44,7 @@ index 3091794..0f29810 100644
+ print \"A Config instance 'c' for the architecture ({0}) has been created.\".format(c.get_arch())" \
+ $(srctree)/$(Kconfig)
+
-+# Used by kconfigtest.py to be able to compare output for nonsensical
++# Used by testsuite.py to be able to compare output for nonsensical
+# arch/defconfig combinations, which has proven effective for finding obscure
+# bugs
+kconfiglibtestconfig: $(obj)/conf
diff --git a/kconfigtest.py b/testsuite.py
index d692787..ce741e2 100644
--- a/kconfigtest.py
+++ b/testsuite.py
@@ -4,7 +4,7 @@
# utilities for different targets and defconfigs. It should be run from the
# top-level kernel directory with
#
-# $ python Kconfiglib/kconfigtest.py
+# $ python Kconfiglib/testsuite.py
#
# Some additional options can be turned on by passing arguments. With no argument,
# they default to off.
@@ -28,7 +28,7 @@
#
# For example, to run in speedy mode with logging, run
#
-# $ python Kconfiglib/kconfigtest.py speedy log
+# $ python Kconfiglib/testsuite.py speedy log
#
# (PyPy also works, and runs the defconfig tests roughly 20% faster on my
# machine. Some of the other tests get an even greater speed-up.)