summaryrefslogtreecommitdiff
path: root/test/integration/run-tests
AgeCommit message (Collapse)AuthorFilesLines
2017-01-24test suite: Do not exit 0 in trap for QUITJulian Andres Klode1-1/+2
This hides errors in the test suite because it will exit with 0 here. Instead, just do exit 1 in most traps, and do just the cleanup in the QUIT hook. This fixes a regression introduced with the caching of the GPG home directory in 4ce2f35248123ff2366c8c365ad6a94945578d66.
2016-12-21tests: cache the apt-key homedir used for Release signingDavid Kalnischkies1-0/+10
Importing a new secret key into gpg(2) can be increadibly slow which prolongs the test runs significantly – by caching the homedir we gain a significant speedbonus as reimporting already present keys seems like a far less costly operation. Git-Dch: Ignore
2016-08-29test, travis: Quieter testing with a new -qq modeJulian Andres Klode1-5/+29
Introduce a new -qq mode for our integration test framework, and make travis use it. The new -qq mode sets MSGLEVEL to 1. In MSGLEVEL=1, no messages are generated for passed tests, and all testcase filenames are printed in the same line. Also install first in travis, do not ls the installed output and run the install with chronic, so we only get output if it failed. Gbp-Dch: ignore
2016-08-26test: Allow moreutils-parallel instead of parallelJulian Andres Klode1-1/+5
That's what it's called on FreeBSD. Gbp-Dch: ignore
2016-08-10Do not set the binary dir in run-tests, it breaks stuffJulian Andres Klode1-6/+0
This breaks -j and does all sort of other weird stuff I did not notice in the previous (non-parallel) runs. Gbp-Dch: ignore
2016-08-10test: Automatically discover CMake build directoryJulian Andres Klode1-0/+6
Look at the project root, and all directories directly below it and pick the directory with the newest CMakeCache.txt file. Gbp-Dch: ignore
2016-03-16tests: fix parallel execution to be working dir independentDavid Kalnischkies1-1/+1
Git-Dch: Ignore
2015-12-19tests: support spaces in path and TMPDIRDavid Kalnischkies1-1/+2
This doesn't allow all tests to run cleanly, but it at least allows to write tests which could run successfully in such environments. Git-Dch: Ignore
2015-12-06replace run-parts with find|sort to avoid debianutils usageDavid Kalnischkies1-1/+1
After e75e5879 the reason for an implicit dependency on debianutils (which is essential for debian, but likely not on other systems) was just two uses of run-parts, which can be replaced with the a lot more portable find-piped-into-sort duo.
2015-11-04tests: ensure sponge-files are cleaned up properlyDavid Kalnischkies1-0/+2
Git-Dch: Ignore
2015-09-15tests: add a -j $jobs mode to test runner for parallel executionDavid Kalnischkies1-14/+66
Now that tests can be run in parallel, lets actually do it… The mode has some downsides like not collecting the failed tests, but it can be a lot faster than a sequential run and is therefore a good alternative in testing those "this shouldn't break anything" changes (which tend to break everything if untested). Git-Dch: Ignore
2014-10-26tests: enhance output of grep and test failsDavid Kalnischkies1-1/+5
Git-Dch: Ignore
2014-09-07detect terminal output with 'test -t' in testsDavid Kalnischkies1-1/+1
Instead of trying to inspect /proc and the fds inside we use "test -t 1" instead as this is available and working on kfreebsd as well – not that something breaks if we wouldn't, but we like color. Git-Dch: Ignore
2014-07-07use printf instead of echo in testing frameworkMichele Orrù1-2/+2
The behaviour of echo "\tA\t" differs between dash/zsh which interprets the \t as tab and bash which prints it literally. Similar things happen for other escape sequences – without the -e flag. Switching to printf makes this more painless^Wportable, so that the tests are also working correctly with bash as sh. (commit message by committer, patch otherwise unmodified)
2014-05-30show current/total testcase statistic also in concise modeDavid Kalnischkies1-1/+1
Git-Dch: Ignore
2014-05-07show progress in run-testsMichael Vogt1-1/+2
2014-01-17get color/msglevel handling for tests in lineDavid Kalnischkies1-12/+23
Without a PTY attached do not use color, but use the same MSGLEVEL with or without a PTY. The level is better adjust via flags – especially as it is likely that without a PTY you want fullblown logs instead of the reduced display you get with -q otherwise. Git-Dch: Ignore
2014-01-17improve stdout/stderr usage correctness in test frameworkDavid Kalnischkies1-7/+15
Also adds a friendly note about how many tests were run/passed so that the end of the testrun isn't all that negative by just showing fails. (It now tells us that we have 111 tests at the moment!) Git-Dch: Ignore
2013-10-22test/integration/run-tests: output the failed test namesMichael Vogt1-0/+5
2013-03-18report failures via exit and ensure we don't overflowMichael Vogt1-1/+2
2011-08-17set the msglevel to a high dummy value if none is specifiedDavid Kalnischkies1-0/+4
2011-08-17do not output color in the testcases if stdout/stderr are not a /dev/ptsDavid Kalnischkies1-4/+13
2011-02-15test/integration/: remove a bunch of "local" statements from the ↵Michael Vogt1-1/+8
shellscript, keep tests running even on failure but log failures
2011-01-25enable the split out of LongDescriptions per default in the testcasesDavid Kalnischkies1-1/+1
2011-01-16implement i quiet run-tests mode which prints only one line per testcaseDavid Kalnischkies1-1/+13
2010-10-13tests/integration/test-*: remove a bunch of "local" that are used outside ↵Michael Vogt1-1/+1
funtions (bash complains)
2010-07-25 - prefer non-virtual packages in FindPreferredPkg (Closes: #590041)David Kalnischkies1-0/+8
* test/integration/*: - add with bug#590041 testcase a small test "framework"