Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | parse_control(): Drop field callback dead code | Patrick McDermott | 2019-04-23 | 1 | -6/+0 |
| | | | | | | The callback function is already called in the paragraph case in the loop, which also resets the field name to the null string, making this final callback code unreachable. | ||||
* | parse_control(): Rewrite field checking | Patrick McDermott | 2019-04-23 | 1 | -19/+16 |
| | | | | | | | | Get rid of the printf and grep pipeline and use a case construct instead of a "[" command with a "${parameter%word}" expansion. Also drop the unused check_fields variable, just added in commit 1e585cb. | ||||
* | package_2_*(): Drop empty req_fields parse_control() args | Patrick McDermott | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | parse_control(): Make req_fields arg optional | Patrick McDermott | 2019-04-23 | 1 | -1/+10 |
| | |||||
* | parse_control(): Convert to [ -n and -z operators | Patrick McDermott | 2019-04-23 | 1 | -7/+7 |
| | |||||
* | ob_parse_control(): Replace param prefix/suffix removals with read | Patrick McDermott | 2019-04-23 | 1 | -5/+4 |
| | |||||
* | ob_parse_control(): Replace if construct with case | Patrick McDermott | 2019-04-23 | 1 | -61/+71 |
| | |||||
* | parse_control(): Fix params | Patrick McDermott | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | _parse_control_error(): Reformat file info | Patrick McDermott | 2019-04-23 | 1 | -3/+3 |
| | |||||
* | parse_control_error(): Make "static" | Patrick McDermott | 2019-04-23 | 1 | -5/+5 |
| | |||||
* | parse_control_error(): Move before use | Patrick McDermott | 2019-04-23 | 1 | -19/+19 |
| | |||||
* | parse_control_error(): Accept file and line_nr args | Patrick McDermott | 2019-04-23 | 1 | -17/+19 |
| | |||||
* | substvars(): Sync with opkbuild | Patrick McDermott | 2019-04-23 | 2 | -2/+25 |
| | |||||
* | set_substvar(): Sync with opkbuild | Patrick McDermott | 2019-04-23 | 1 | -22/+19 |
| | |||||
* | substvars_max_depth: Convert to upper case | Patrick McDermott | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | tests/substvars.sh: New test file | Patrick McDermott | 2019-04-23 | 2 | -1/+45 |
| | |||||
* | tests/aux/common.sh: Add is() | Patrick McDermott | 2019-04-23 | 1 | -1/+18 |
| | | | | Copied from opkbuild. | ||||
* | tests/*_is_concerned.sh: Mark two tests as XFAIL | Patrick McDermott | 2019-04-22 | 2 | -3/+3 |
| | |||||
* | src/archplat.sh: Sync with opkbuild | Patrick McDermott | 2019-04-22 | 1 | -67/+68 |
| | | | | | | | | | | | | 4c912ce _ob_match_plat(): Move closer to usage 787a355 _ob_match_plat(): Remove loop ee0c303 _ob_match_arch(): Remove loop 85d78aa ob_match_*(): Make private 1e8d84e ob_match_*(): Drop checks for "all" match arch/plat bb7dd8e ob_match_plat(): Use clearer variable names e6b04d9 Protect [ commands from strings beginning with "-" 9196698 ob_match_arch(): Use clearer variable names 5e69b33 ob_match_arch(): Replace generated ERE with native SCL | ||||
* | Merge branch 'feature/tap-tests' | Patrick McDermott | 2019-04-22 | 15 | -405/+1336 |
|\ | |||||
| * | tests/common.sh: Remove newly unused file | Patrick McDermott | 2019-04-21 | 1 | -110/+0 |
| | | |||||
| * | Makefile.am: Override PACKAGE_STRING with git-describe output | Patrick McDermott | 2019-04-21 | 1 | -1/+11 |
| | | | | | | | | | | | | This makes the test suite output and log a little more informative. Copied from pro-archman. | ||||
| * | NEWS: Mention TAP conversions | Patrick McDermott | 2019-04-21 | 1 | -0/+1 |
| | | |||||
| * | tests/parse_control.common.sh: Update copyright notice | Patrick McDermott | 2019-04-21 | 1 | -1/+1 |
| | | |||||
| * | tests/parse_control.common.sh: Fix locale loading | Patrick McDermott | 2019-04-21 | 1 | -0/+2 |
| | | |||||
| * | tests/parse_control.common.sh: Fix load_locale() call | Patrick McDermott | 2019-04-21 | 2 | -2/+3 |
| | | | | | | | | | | | | Fixes: ./tests/parse_control.basic: 92: ./tests/parse_control.basic: load_locale: not found | ||||
| * | tests/parse_control.common.sh: Convert to TAP | Patrick McDermott | 2019-04-21 | 2 | -2/+5 |
| | | |||||
| * | tests/resolve_deps.basic.sh: Update copyright notice | Patrick McDermott | 2019-04-21 | 1 | -1/+1 |
| | | |||||
| * | tests/resolve_deps.basic.sh: Convert to TAP | Patrick McDermott | 2019-04-21 | 2 | -3/+7 |
| | | |||||
| * | itests/aux/common.sh: New file | Patrick McDermott | 2019-04-21 | 1 | -0/+71 |
| | | |||||
| * | tests/reduce_deps.sh: Convert to TAP | Patrick McDermott | 2019-04-21 | 2 | -38/+112 |
| | | |||||
| * | tests/*_is_concerned.sh: Link against tests/aux/tap-functions.sh | Patrick McDermott | 2019-04-21 | 3 | -6/+2 |
| | | |||||
| * | tests/match_arch.sh, tests/match_plat.sh: Remove | Patrick McDermott | 2019-04-21 | 3 | -150/+0 |
| | | | | | | | | | | | | tests/arch_is_concerned.sh and tests/plat_is_concerned.sh cover match_arch() and match_plat() already, and match_arch() and match_plat() will soon become "static" functions. | ||||
| * | tests/plat_is_concerned.sh: Convert to TAP | Patrick McDermott | 2019-04-21 | 1 | -41/+94 |
| | | |||||
| * | tests/arch_is_concerned.sh: Update copyright notice | Patrick McDermott | 2019-04-21 | 1 | -1/+1 |
| | | |||||
| * | tests/arch_is_concerned.sh: Fix copying errors | Patrick McDermott | 2019-04-21 | 1 | -15/+15 |
| | | |||||
| * | Makefile.am: Use build-aux/tap-driver.sh | Patrick McDermott | 2019-04-21 | 1 | -0/+1 |
| | | |||||
| * | tests/arch_is_concerned.sh: Add test plan | Patrick McDermott | 2019-04-21 | 1 | -0/+2 |
| | | |||||
| * | tests/arch_is_concerned.sh: Add more test cases | Patrick McDermott | 2019-04-21 | 1 | -0/+37 |
| | | | | | | | | Cf. opkbuild commit 99a6fe6. | ||||
| * | .gitignore: Fix tests patterns | Patrick McDermott | 2019-04-21 | 1 | -1/+2 |
| | | |||||
| * | tests/arch_is_concerned.sh: Convert to TAP | Patrick McDermott | 2019-04-21 | 1 | -48/+100 |
| | | |||||
| * | tests/aux/tap-functions.sh: Drop `set -x` | Patrick McDermott | 2019-04-21 | 1 | -2/+0 |
| | | |||||
| * | tests/aux/tap-functions.sh: New file | Patrick McDermott | 2019-04-21 | 3 | -2/+234 |
| | | | | | | | | Copied from t/ax/tap-functions.sh in GNU Automake. | ||||
| * | build-aux/tap-driver.sh: New file | Patrick McDermott | 2019-04-21 | 3 | -4/+657 |
|/ | | | | Copied from lib/tap-driver.sh in GNU Automake. | ||||
* | Add braces to param exps in arith substs | Patrick McDermott | 2019-04-19 | 12 | -14/+14 |
| | |||||
* | install_find_pkgs(): Use profile_opkg_conf_file() | Patrick McDermott | 2019-04-19 | 1 | -1/+1 |
| | |||||
* | install_*_pkgs(): Use profile_opkg_state_dir() | Patrick McDermott | 2019-04-19 | 1 | -10/+15 |
| | |||||
* | profile_opkg_state_dir(), profile_opkg_conf_file(): New functions | Patrick McDermott | 2019-04-19 | 2 | -4/+17 |
| | |||||
* | profile: Generate abstraction layer at run time | Patrick McDermott | 2019-04-19 | 1 | -141/+7 |
| | |||||
* | NEWS: Note CMake dependency for usign | Patrick McDermott | 2019-04-19 | 1 | -1/+2 |
| |