Commit Graph

36 Commits (main)

Author SHA1 Message Date
Johannes Schauer Marin Rodrigues c33f719278
coverage.py: print total runtime 6 months ago
Johannes Schauer Marin Rodrigues c7559e305e
coverage.py: move print of failed tests to the end 8 months ago
Johannes Schauer Marin Rodrigues 5885291213
Use an caching apt proxy instead of copying /var/cache/apt/archives/*.deb
- only download Release files once and not by apt as well as with curl
   and thus avoid a mirror push happening between both downloads
 - no heuristic needed to place the file in their correct mirror
   location
 - no manual checksum checking
 - only throttle download speed when actually downloading and not when
   retrieving files from the cache
 - no translation of filenames between how the epoch colon is stored in
   files in /var/cache/apt/archives versus how it is stored in files on
   the mirrors
 - no special handling of stable update and security mirrors
 - implemented in Python instead of shell and thus an order of magnitude
   faster
1 year ago
Johannes Schauer Marin Rodrigues 2837f5b5d3
coverage.py: support USE_HOST_APT_CONFIG and new Needs-APT-Config field 1 year ago
Johannes Schauer Marin Rodrigues 3c0990d050
tarfilter, coverage.py: changes for black 23.1.0 1 year ago
Johannes Schauer Marin Rodrigues b18849caac
Assume that we can always run unshare
With mount --rbind we can bind-mount /proc in a privileged docker
container as it is used by salsaci.
1 year ago
Johannes Schauer Marin Rodrigues ba76c1d3d9
coverage.py: format skipped tests with format_test as well instead of printing a tuple 1 year ago
Johannes Schauer Marin Rodrigues a2d5573749
tests: drop qemu requirements for tests that only use it to create a user by defaulting to SUDO_USER 1 year ago
Johannes Schauer Marin Rodrigues 06f84b84ae
coverage.py: print accumulated time per test type 1 year ago
Johannes Schauer Marin Rodrigues 42386c90c8
coverage.py: add timing for tests 1 year ago
Johannes Schauer Marin Rodrigues 348c582866
coverage.py: error out if tests are missing from ./tests or from coverage.txt 1 year ago
Johannes Schauer Marin Rodrigues adf8f9399d
coverage.py: check that all files in ./tests appear in coverage.txt 1 year ago
Johannes Schauer Marin Rodrigues d442f436de
shellcheck everything 1 year ago
Johannes Schauer Marin Rodrigues d2238c891b
coverage.py: add --skip option 1 year ago
Johannes Schauer Marin Rodrigues b5f6c7f08f
coverage.py: print failed options if more than one choices 1 year ago
Johannes Schauer Marin Rodrigues f0f211f383
coverage.py: only print dist, mode, variant and format for failed jobs if necessary 2 years ago
Johannes Schauer Marin Rodrigues a16937e3e4
coverage.py: factor out coverage.txt parsing 2 years ago
Johannes Schauer Marin Rodrigues 8cb5b6e0ef
coverage.py: add --format option 2 years ago
Johannes Schauer Marin Rodrigues 91ca37706f
coverage.py: print default values in --help text 2 years ago
Johannes Schauer Marin Rodrigues d84a65b07f
coverage.py: do not allow 'default' in coverage.txt 2 years ago
Johannes Schauer Marin Rodrigues fbc3e5549d
coverage.py: improve output format of failed tests 2 years ago
Johannes Schauer Marin Rodrigues 902bc55c4d
tarfilter --idshift now provides taridshift 2 years ago
Johannes Schauer Marin Rodrigues c95632f963
coverage.py: add --variant option 2 years ago
Johannes Schauer Marin Rodrigues 117a1591c5
coverage.py: also output failed to stderr 2 years ago
Johannes Schauer Marin Rodrigues 679f6cb2fc
coverage.py: allow passing tests by number 2 years ago
Johannes Schauer Marin Rodrigues e9e9cec884
coverage.py: remove unused variable 2 years ago
Johannes Schauer Marin Rodrigues b707676432
coverage.py: add --dist argument 2 years ago
Johannes Schauer Marin Rodrigues b51b5b9e2a
coverage.py: set sensible defaults for SOURCE_DATE_EPOCH and CMD 2 years ago
Johannes Schauer Marin Rodrigues 9ca613da0a
coverage.py: instead of printing the length of the skipped dictionary, print the sum of the length of lists of tests it references 2 years ago
Johannes Schauer Marin Rodrigues 28122a8b5c
coverage.py: instead of killing (and leaving temporary files undeleted) just send SIGTERM and wait 2 years ago
Johannes Schauer Marin Rodrigues 7198ad50f6
coverage.py: actually count number of successes to print the correct number when ctrl+c was pressed 2 years ago
Johannes Schauer Marin Rodrigues 5ea760920d
coverage.py: fix typo successully -> successfully 2 years ago
Johannes Schauer Marin Rodrigues 86f616996d
coverage.py: strip off fractional seconds of time left 2 years ago
Johannes Schauer Marin Rodrigues 1b5d87c7cf
coverage.py: add --mode to only run tests with given mode 2 years ago
Johannes Schauer Marin Rodrigues c1c6297db7
move copying files into shared directory from coverage.sh to coverage.py 2 years ago
Johannes Schauer Marin Rodrigues 4c3fddcd54
rewrite coverage.sh
- multiple individual shell scripts instead of one 3.5k line monster
 - tests driven by Python script allowing:
    * declarative test description in coverage.txt
    * collecting errors instead of aborting on first error
    * skipping tests
    * running specific tests
2 years ago