| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Add make help target.
Add LVM_TEST_PARALLEL to support parallel runs of tests
Work around the problem the dmsetup table/info may return error
by using dmtable and dminfo function that will use 'should'.
(Error happens when some concurently running process removes table
entry while dmsetup command resolves table entries inside the loop.)
|
| |
|
| |
|
|
|
|
|
|
| |
Cleanup generated files from coverage testing.
Do not skip standard .o compilation for lib/not and lib/harness.
Make a bit longer string in harness to fit new shell/ in.
|
|
|
|
|
| |
Swap condtion so the make line does not return 'false'.
Remove cleanup of lvm2api.sh since it is not created anymore.
|
|
|
|
|
|
| |
Simplify /api makefile and use SUBDIRS target for test dir.
Properly cleanup Makefiles with distclean in /test.
Use symbolic links for shell scripts for non-srcdir compilation.
|
|
|
|
|
|
|
| |
- test/lib -- infrastructure and helper code
- test/api -- liblvm2app API tests
- test/unit -- C-based unit tests
- test/shell -- shell-based functional tests
|
| |
|
|
|
|
|
|
|
| |
tests from unit-tests/*/*_t.c (now under test/unit). The valgrind/pool test is
missing, since it's not really a unit test and probably not too valuable
either. Available via "make unit" (and if --enable-testing was passed to
configure, also executed by make check).
|
|
|
|
|
|
|
|
|
| |
Simplify RUN_BASE
Put .tests-stamp deps only for check target and fix its cleanup.
Fix abs_top_srcdir.
vgimportclone needs srcdir.
Clean api subdir.
|
|
|
|
|
|
|
| |
When the srcdir == builddir we get the link on non-exectable file.
So make always sure fsadm.sh is executable script file.
Add cleanup target for lib/fsadm.
|
|
|
|
| |
Prepare to enabling t-fsadm.sh test
|
|
|
|
|
|
|
|
|
|
| |
daemon/common code in a single libdaemon.a, which is completely private. This
is currently linked into the lvmetad binary, and will be linked into LVM (the
client part, since static linking only picks up only symbols that are actually
used). I have also added --enable/disable-lvmetad to ./configure; although the
current default is off, I expect this to be flipped to on shortly. There's no
LVM-side support yet, but when there is, even when built, it'll still need to
be enabled by an lvm.conf option.
|
| |
|
| |
|
|
|
|
| |
(possibly with different T or S) skip that step.
|
|
|
|
| |
rm -f is already in used for this cleanup.
|
|
|
|
|
| |
Use default clean targets for this Makefile
Use also same build flags for compiling testing tools like harness.
|
| |
|
|
|
|
|
|
|
|
| |
- somewhat neater, more consistent and more readable output
- possible to set any lvm.conf value: aux lvmconf "section/key = value"
- LVM_TEST_NODEBUG to suppress the (lengthy) "## DEBUG" output
- back-substitution on test output ($TESTDIR/$PREFIX -> @TESTDIR@/@PREFIX@)
- support code moved from test/ to test/lib/ --> less clutter
|
| |
|
|
|
|
| |
actually works... sometimes).
|
| |
|
| |
|
|
|
|
| |
lvm2app API. Further factoring of the support code needed. RHBZ 654445
|
| |
|
|
|
|
| |
$ sudo make check S='mirror-basic|fsadm'
|
| |
|
|
|
|
|
|
|
| |
to a file using log/file, with log/overwrite set and dump this file in
STACKTRACE. The overall effect is that only the command that ran last before
the failure has been triggered will get its debug output logged. This is
similar to how we treat coredumps.
|
| |
|
|
|
|
|
|
| |
fails, the test will carry on but will issue a warning. The harness detects
such warnings from tests and marks tests that passed with warnings with a
special status.
|
| |
|
| |
|
|
|
|
| |
(lvm) properties easier and produces nicer output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch is inspired by Debian's extra patch.
- removes OWNER & GROUP make vars they are parts of INSTALL command.
- adds INSTALL_PROGRAM for executable, uses $(INSTALL)
- adds INSTALL_DATA for non-executable data, uses ($INSTALL)
- adds INSTALL_WDATA for writable non-executable data, uses ($INSTALL)
- adds configure option --enable-write_install - to support
installatin of writable files used by distribution
- replaces usage of ifeq @LIB_SUFFIX@ with $(LIB_SUFFIX)
- installs .a files from static builds without executable flag
- installs .a files to $(usrlibdir) instead of $(libdir)
- installs all static binaries to $(staticdir)
- create .so links for devel package in $(usrlibdir) instead of
$(libdir)
- makes .so and .so.LIB_VERSION files within builddir
- removes VERSIONED_SHLIB and created versioned LIB_SHARED automagicaly
- install LIB_SHARED via install_lib_shared target
- install plugins via install_lib_shared_plugin target
- prints whole 'install' command during installation instead of less
informative "Installing $(something) $(somewhere)"
- install multiple man pages with one INSTALL command
- use DISTCLEAN_TARGETS instead of creating multiple distclean targets
|
|
|
|
|
| |
lvm-utils.sh. Clears up lots of unused code, should have little observable
impact (it does change test directory layout slightly).
|
| |
|
|
|
|
| |
And fix previous commit which missed test.
|
| |
|
|
|
|
| |
within init.sh.
|
|
|
|
|
|
|
|
| |
in clvmd, dmevend, man, tests.
Don't include dependency files for clow and cscope.out targets
Improve dependency tracking for dmeventd and liblvm2cmd sources.
|
|
|
|
| |
last checkin).
|
|
|
|
| |
to 3, using a local (singlenode) clvmd.
|
| |
|
|
|
|
|
| |
We need to disable udev checking for our tests since they use their own
location for device nodes and symlinks.
|
| |
|
| |
|
| |
|
| |
|
| |
|