summaryrefslogtreecommitdiff
path: root/scripts/expr_parser.py
AgeCommit message (Collapse)Author
2017-01-19license: Replace Apache boilerplate with SPDX tagDavid B. Kinder
Replace the existing Apache 2.0 boilerplate header with an SPDX tag throughout the zephyr code tree. This patch was generated via a script run over the master branch. Also updated doc/porting/application.rst that had a dependency on line numbers in a literal include. Manually updated subsys/logging/sys_log.c that had a malformed header in the original file. Also cleanup several cases that already had a SPDX tag and we either got a duplicate or missed updating. Jira: ZEP-1457 Change-Id: I6131a1d4ee0e58f5b938300c2d2fc77d2e69572c Signed-off-by: David B. Kinder <david.b.kinder@intel.com> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2016-06-02expr_parser: support ':' operatorAndrew Boie
Similar to '==' but compiles the RHS into a regular expression and attempts to match whatever is in the environment against it. Change-Id: I7a03452ef88d067b62661d14dc6f42273de436fa Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-06-02expr_parser: fix concurrent use issuesAndrew Boie
Change-Id: Ic9ef5d42f4348ada5c418a36118660e79a1a689b Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-06-02expr_parser: support single-quoted stringsAndrew Boie
Change-Id: I00af87ac3ebd1d63ceba0bb2c9dcf17f56aa8177 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-05-04expr_parser.py: simple expression languageAndrew Boie
Sanitycheck will use this to allow for much more expressive conditions when filtering test cases based on defconfig values. Origin: Original code Change-Id: Icb650a2aa383699e4f2e18f66e853279c02b50e5 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>