summaryrefslogtreecommitdiff
path: root/testsuite.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-03-28 20:29:20 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-03-28 20:29:20 +0200
commit7245bad9ebb58fc8ce5a322081fc6c39d2dc59c6 (patch)
tree9019fdbab7696092551c3124391a4ec4df7bb262 /testsuite.py
parenta5ea0dcbc8b9343f6901654ad92de6ece156f954 (diff)
Parenthesize && expressions within || expressions
This is redundant from an evaluation perspective, as && has higher precedence than ||, but is easier to read. A && B || C && D is now rendered as "(A && B) || (C && D)".
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 9177efd..5d8780e 100644
--- a/testsuite.py
+++ b/testsuite.py
@@ -528,10 +528,10 @@ config ADVANCED
prompt "prompt 2"
menuconfig ADVANCED
- prompt "prompt 3" if DEP2 && (DEP3 || !DEP4 || !(DEP5 && DEP6))
+ prompt "prompt 3"
config ADVANCED
- depends on DEP4 && DEP3
+ depends on (A || !B || (C && D) || !(E && F) || G = H || (I && !J && (K || L) && !(M || N) && O = P)) && DEP4 && DEP3
help
second help text
""")