Petr Rockai
0abad40f41
NIX: Existence of results list no longer indicates that the suite has finished.
2015-02-05 13:47:19 +01:00
Petr Rockai
e3ac180ab3
NIX: Drop -h from rpm invocations as it messes up logs.
2015-02-05 13:47:19 +01:00
Petr Rockai
6380869f27
NIX: Use nixpkgs kernel for building, distro kernel for testing.
2015-02-05 13:47:19 +01:00
Petr Rockai
2b6f9152cc
NIX: Adapt to the append-based test journal.
2015-02-05 13:47:19 +01:00
Petr Rockai
285db7a240
NIX: Implement a smarter VM monitoring loop.
2015-02-05 13:47:19 +01:00
Petr Rockai
dcf5182a96
NIX: Use --batch mode for running the testsuite.
2015-02-05 13:47:19 +01:00
Petr Rockai
4b5ae31404
NIX: Refactor around the new test runner.
...
- The RPM build and the tests are now executed in separate VMs.
- Run the testsuite by using the new lvm2-testsuite RPM.
- The VM running the tests is restarted from the outside if it hangs, and the
runner keeps a journal to avoid running a bad test ad infinitum.
- TODO: lcov reports and more intelligent VM rebooting (track the journal)
2015-02-05 13:47:19 +01:00
Petr Rockai
d5537e7d6b
spec: Add an (optional) lvm2-testsuite subpackage.
2015-02-05 13:47:18 +01:00
Petr Rockai
d488f03229
test: Implement --only option to runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
a8eb702093
test: Fix loading of an append-mode journal.
2015-02-05 13:47:18 +01:00
Petr Rockai
d74c147223
test: Add a missing copyright/licence notice to journal.h.
2015-02-05 13:47:18 +01:00
Petr Rockai
10c992e861
test: Fix a precedence bug in the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
b3caba849d
test: Use append for journal maintenance instead of rename.
2015-02-05 13:47:18 +01:00
Petr Rockai
23b5a006d4
test: Implement specialised --batch output style w/ rusage stats.
2015-02-05 13:47:18 +01:00
Petr Rockai
a665b90623
test: Add time/rusage formatting to the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
3fbea6029d
test: Print a heartbeat file (every 20s) in the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
e8cc9254e0
test: Avoid sleeps in the runner monitoring loop.
2015-02-05 13:47:18 +01:00
Petr Rockai
48275c7836
test: Run in /tmp if LVM_TEST_DIR is unset.
2015-02-05 13:47:18 +01:00
Petr Rockai
246fecee27
test: Rename the --quiet option to --batch.
2015-02-05 13:47:18 +01:00
Petr Rockai
feb2c7bc47
test: Targets and sources can't have the same name if builddir == srcdir.
2015-02-05 13:47:18 +01:00
Petr Rockai
2bc76bcdab
test: Run the testcases chdir'd into --testdir.
2015-02-05 13:47:18 +01:00
Petr Rockai
efb3e7ca00
test: Improve IO handling in the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
8c8fb67fc2
test: Improve tracking of silence (stuck testcases) in the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
dc1d157878
test: Make the runner's journal more reliable.
2015-02-05 13:47:17 +01:00
Petr Rockai
d27833ba7c
test: Implement flavours in the runner.
2015-02-05 13:47:17 +01:00
Petr Rockai
f3bf89ebcc
test: Fix handling of envvars in the runner.
2015-02-05 13:47:17 +01:00
Petr Rockai
0bd2a9b7b1
test: Makefile updates.
...
- make check now uses the new test runner
- the testsuite can be installed (make -C test install)
2015-02-05 13:47:17 +01:00
Petr Rockai
b4215f956f
test: Make it possible to run tests from an installed location.
2015-02-05 13:47:17 +01:00
Petr Rockai
5698953948
test: Use the new flavour setup files in lib/inittest.
2015-02-05 13:47:17 +01:00
Petr Rockai
9752ee8ed2
test: Fix IO sink destructors in the runner.
2015-02-05 13:47:17 +01:00
Petr Rockai
df27c64041
test: Add a buffer-backed IO sink (for interactive runs).
2015-02-05 13:47:17 +01:00
Petr Rockai
f53fcc0746
test: Implement a file-backed IO sink in the runner.
2015-02-05 13:47:17 +01:00
Petr Rockai
bdd0bc83eb
test: Make runner use bigger IO buffers, put them on stack.
2015-02-05 13:47:17 +01:00
Petr Rockai
7957fc4a44
test: Allow test devices backed by a permanent block device.
2015-02-05 13:47:17 +01:00
Petr Rockai
c5a120c443
test: Add new flavour definition files.
2015-02-05 13:47:17 +01:00
Petr Rockai
fa46385164
test: Write a results/list at the end of a test run.
2015-02-05 13:47:17 +01:00
Petr Rockai
bf16937869
test: Clean up fds properly in the runner.
2015-02-05 13:47:16 +01:00
Petr Rockai
d2dbc65f00
test: Implement journalling and --continue.
2015-02-05 13:47:16 +01:00
Petr Rockai
9dfbce0aa7
test: Split up the new runner into multiple files.
2015-02-05 13:47:16 +01:00
Petr Rockai
b726d66882
test: Use the new runner in make check.
2015-02-05 13:47:16 +01:00
Petr Rockai
1ec2023cbf
test: Build the new test runner.
2015-02-05 13:47:16 +01:00
Petr Rockai
9d6a92b4d0
configure: Add libexecdir/datadir to make.tmpl.in.
2015-02-05 13:47:16 +01:00
Petr Rockai
bf1f22cc99
configure: Allow C++ components.
2015-02-03 08:49:35 +01:00
Petr Rockai
f476655fee
test: Import first draft of a new test runner.
2015-02-03 08:49:35 +01:00
Ondrej Kozina
f73526f58c
libdaemon: set CLOEXEC flag on systemd socket
...
all sockets opened by a daemon or handed over by systemd
have to have CLOEXEC flag set. Otherwise we get nasty
warnings about leaking descriptors in processes spawned by
daemon.
2015-02-02 10:20:35 +01:00
Ondrej Kozina
9dd81df8b2
libdaemon: set CLOEXEC on client socket fd
2015-02-02 10:15:52 +01:00
Alasdair G Kergon
99c443facc
post-release
2015-01-30 16:18:43 +00:00
Alasdair G Kergon
d0837dcceb
pre-release
2015-01-30 16:16:51 +00:00
Zdenek Kabelac
71e88f761d
tests: add --force to sfdisk
...
Avoid udev sync troubles for now.
2015-01-30 16:46:06 +01:00
Zdenek Kabelac
04b60e9274
WHATS_NEW
...
For thin fix.
2015-01-30 16:34:19 +01:00