index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-28 | add tap_ prefix to test helper functions | Andrew Gregory | |
Allows tap.sh to show the line number where the helper function was called on failures. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2014-12-28 | use tap.sh for bash tests | Andrew Gregory | |
tap.sh is a reusable TAP library that handles test counting and provides useful diagnostic messages on test failures. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2014-12-24 | add vim modeline to test files | Andrew Gregory | |
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2013-11-15 | Fix whitespace and other formatting issues | Jason St. John | |
This commit: -- replaces space-based indents with tabs per the coding standards -- removes extraneous whitespace (e.g. extra spaces between function args) -- adds missing braces for a one-line if statement Signed-off-by: Jason St. John <jstjohn@purdue.edu> | |||
2013-11-15 | Makefile.am: fix typo in LOG_DRIVER variable | Andrew Gregory | |
Self-executing tests were not being run through the tap log driver. This caused `make check` to ignore discrepancies between the expected number of tests and the actual number of tests. Also, fix some uncommented output from test scripts that could confuse TAP parsers. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2013-08-21 | provide default values for test scripts | Andrew Gregory | |
Our test scripts currently require that the first argument be the library or binary to be tested. This makes integrating them with automake which doesn't have a mechanism for passing specific arguments to individual tests. Instead, provide a default built from paths in the environment which can be provided to all test scripts by automake. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2013-08-21 | convert test scripts to tap output | Andrew Gregory | |
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2013-05-07 | Merge branch 'maint' | Allan McRae | |
2013-04-30 | Add --noprepare option to makepkg | Eric Bélanger | |
This new option disables the prepare function. Useful in combination with -o to get an unpatched copy of the sources for testing purpose. Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2013-04-18 | Fix spelling errors using 'codespell' tool | Anatol Pomozov | |
Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2012-06-25 | Scripts testsuite output consistency | Allan McRae | |
Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2012-04-24 | scripts/library: introduce parseopts | Dave Reisner | |
This will replace our current options parser used in pacman-key, makepkg, and ideally elsewhere. It follows heuristics closer to that of GNU getopt long (and thus pacman itself), with the exception that it does not allow for options with optional arguments. Due to the way this parser will be used, this sort of functionality will not be needed. Instead of relying on eval+set, options are normalized into an array, OPTRET, which callers should expect to be populated after returning from parseopts. This avoids problems with quotes and spaces in arguments, assuming that the user quotes properly when passing into the application. A new test harness for parseopts is added in test/scripts. Signed-off-by: Dave Reisner <dreisner@archlinux.org> |