summaryrefslogtreecommitdiff
path: root/validate.py
AgeCommit message (Collapse)Author
2018-01-29LTP: Convert LKFT skipfiles to a yaml skipfileDan Rue
skipfile-lkft.yaml encompasses all of the lkft skipfiles in this directory as well as the skipfiles/ directory. They may be removed once build jobs are updated to use a generated skipfile. To generate a skipfile from skipfile-lkft.yaml, use skipgen, which is included in this repository at /bin/<arch>/skipgen. ltp.sh will be expanded to support skipgen separately. The actual contents have been derived from the various skipfiles. In cases of inconsistency, the skip was expanded. For example, netns_breakns_ip_ipv4_ioctl is currently skipped on 4.4 hikey, 4.4 juno, and all branches of x15 and x86. In skipfile-lkft.yaml, it's skipped for all branches on all boards. No other modifications to the skipfiles have been implemented. There are obvious skips that need adjusting, but that will be done subsequently. This review is just a one to one translation of the skipfiles into one yaml skipfile. If you notice things that are wrong or shouldn't be listed anymore - good! That's the point of this effort 😀 Lastly, teach validate.py about skipgen yaml files. Validate them by running skipgen itself against them and verifying that a skiplist of at least 1 skip is produced. Change-Id: Ic46af16d36dfd30ed0876808f916318cddd44fa2 Signed-off-by: Dan Rue <dan.rue@linaro.org>
2017-10-22validate.py: fix the case when file were deletedMilosz Wasilewski
Change-Id: I718ebedffffd57383d81131732ff7df764f0752e Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-11-22validate.py: Fixed condition for checking metadataMilosz Wasilewski
When the YAML file is invalid there is no point in checking metadata. The condition was updated and metadata is only checked on valid YAML files. Change-Id: I12c110f0353b03f46bc7e4b0c943caca8463a6b7 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-11-10validate: update result file pathMilosz Wasilewski
Output result file can be configured using runtime parameters. Change-Id: I46d3350177f8b3f9acc2ac95f94ede9e8e7c3432 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-11-07validate.py: emphasize pep8 unavailabilityAntonio Terceiro
Change-Id: Ic709d47287a87dd287e792605ad15a724f9788d8 Signed-off-by: Antonio Terceiro <antonio.terceiro@linaro.org>
2016-11-07validate: fix validation return codeMilosz Wasilewski
Only return code for last checked file was returned. Now the highest return code is returned for the list of files Change-Id: I795e891b995eec121187778e4213f96e08d171b3 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-11-07validate.py: fixed exclude optionsMilosz Wasilewski
Change-Id: I833bd814ada37c3b06222b9c8f07e2c0a92e15ac Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-11-07validate.py: fix pep8 issuesMilosz Wasilewski
Change-Id: I8df280349720e93b9d8bdeac90dc2fde20de2a8a Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-11-02Added script for content sanity sheckMilosz Wasilewski
The script performs basic checks. If all tests pass, the patch can be merged to the repository. Change-Id: Ic41ac751af068435d407dd496d2b195f3e92f9b7 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>