summaryrefslogtreecommitdiff
path: root/testsuite.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-05-26 14:53:28 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-05-26 15:04:35 +0200
commitab2431ca36139c6d450adfe275d1e14088633eed (patch)
tree44ce625e8eea308d998770b100910e37ca3248e4 /testsuite.py
parentbce7d706e5acd6cc86ad2b881e23b0382b74d667 (diff)
Micro-optimize _parse_help() loop
Shaves ~6% off the _parse_help() runtime for the x86 Kconfigs in cProfile.
Diffstat (limited to 'testsuite.py')
-rw-r--r--testsuite.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite.py b/testsuite.py
index 13793f1..1d79fa6 100644
--- a/testsuite.py
+++ b/testsuite.py
@@ -927,14 +927,14 @@ g
verify_locations(c.syms["MULTI_DEF"].nodes,
"tests/Klocation:7",
- "tests/Klocation:31",
+ "tests/Klocation:37",
"tests/Klocation_sourced:3",
"tests/sub/Klocation_rsourced:2",
"tests/sub/Klocation_gsourced1:1",
"tests/sub/Klocation_gsourced2:1",
"tests/sub/Klocation_grsourced1:1",
"tests/sub/Klocation_grsourced2:1",
- "tests/Klocation:54")
+ "tests/Klocation:60")
verify_locations(c.named_choices["CHOICE"].nodes,
"tests/Klocation_sourced:5")