summaryrefslogtreecommitdiffstats
path: root/tools/meson-check-help.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* meson: catch programs which ignore argumentsZbigniew Jędrzejewski-Szmek2019-07-221-2/+8
| | | | | Don't try to use <<<. It seems to not work properly with old bash versions or something.
* scripts: use 4 space indentationZbigniew Jędrzejewski-Szmek2019-04-121-7/+7
| | | | | | | | | | | | | | | | | | We had all kinds of indentation: 2 sp, 3 sp, 4 sp, 8 sp, and mixed. 4 sp was the most common, in particular the majority of scripts under test/ used that. Let's standarize on 4 sp, because many commandlines are long and there's a lot of nesting, and with 8sp indentation less stuff fits. 4 sp also seems to be the default indentation, so this will make it less likely that people will mess up if they don't load the editor config. (I think people often use vi, and vi has no support to load project-wide configuration automatically. We distribute a .vimrc file, but it is not loaded by default, and even the instructions in it seem to discourage its use for security reasons.) Also remove the few vim config lines that were left. We should either have them on all files, or none. Also remove some strange stuff like '#!/bin/env bash', yikes.
* separate flags from shebangbleep_blop2017-12-251-1/+2
|
* test: set log_level to info in test-hwdb and check-help-*Yu Watanabe2017-11-251-0/+2
| | | | | | | | | | These tests check the stderr. So, if the systemd.log_level=debug is set in the kernel command line, then these tests fail. This set log_level to info in hwdb-test.sh and meson-check-help.sh, the kernel command line not to change the output of the target programs. Fixes #7362.
* meson: also indent scripts with 8 spacesZbigniew Jędrzejewski-Szmek2017-04-251-7/+7
|
* meson: use "sh -eu" and make .sh +x, .py -xZbigniew Jędrzejewski-Szmek2017-04-241-1/+1
| | | | | | | | | Shell scripts should be executable so that meson reports their invocation succinctly (does not print 'sh' '-e'). Python scripts should not be executable so that meson does the detection of the right python binary itself. Add -u everywhere to catch potential errors.
* meson: recreate dist-check-helpZbigniew Jędrzejewski-Szmek2017-04-241-0/+20