Displaying 14 results from an estimated 14 matches for "test_image".
2012 Jan 04
1
[PATCH] build: Fix automake warnings
...e.am b/perl/Makefile.am
index eff0059..5e29bbd 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -40,11 +40,9 @@ if HAVE_PERL
# a nightmare, news at 11.
# src/ dependencies
-.PHONY: src_deps
src_deps: $(top_builddir)/src/libguestfs.la $(generator_built)
# Images used by tests
-.PHONY: test_images
test_images:
$(MAKE) -C $(top_builddir)/images
@@ -76,3 +74,5 @@ install-data-hook:
$(MAKE) -f Makefile-pl DESTDIR=$(DESTDIR) install
endif
+
+.PHONY: src_deps test_images
diff --git a/resize/Makefile.am b/resize/Makefile.am
index 5046a8c..3f33118 100644
--- a/resize/Makefile.am
+++ b/re...
2009 Nov 20
5
Fix more build dependency problems
For convenience you can pull it from the 'build' branch in:
git://heisenbug.com/matthew/libguestfs.git
Matt
2015 Oct 23
1
[PATCH v2] perl: Switch to using Module::Build.
version 2:
- Fixed handling of clean & distclean.
- Use 'all-local' instead of 'all'.
- Don't use abs_* paths in Build.PL.in.
Rich.
2015 Oct 23
1
[PATCH] perl: Switch to using Module::Build.
Switch from 'ExtUtils::MakeMaker' to 'Module::Build'.
There's not really a huge difference here. The interfacing gymnastics
that we have to do to make Makefile.am and Module::Build talk to each
other is probably a little bit simpler.
I compared the output of 'make install' before and after, and there's
not much difference. 'perllocal.pod' is not
2015 Oct 23
1
[PATCH v3] perl: Switch to using Module::Build.
version 3:
- Split requires into configure_requires/etc.
- Use lists for extra_compiler_flags, extra_linker_flags.
- Suppress .packlist file.
- Set the release_status field.
Rich.
2012 Jan 20
8
Various fixes from building libguestfs for Debian
Here are some of the patches that I have maintained in the patch queue
of my packages that I maintain within the Debian distribution
(http://packages.qa.debian.org/libg/libguestfs.html). All of them
address FTBFS (fail to build from source) errors that happened with
the particular configuration that is used for building the Debian
package.
Cheers,
-Hilko
2016 May 19
0
[PATCH 2/3] tests: remove remaining relative paths to binaries
...lude "guestfs.h"
#include "guestfs-internal-frontend.h"
-#define GUESTMOUNT_BINARY "./guestmount"
-#define GUESTUNMOUNT_BINARY "./guestunmount"
+#define GUESTMOUNT_BINARY "guestmount"
+#define GUESTUNMOUNT_BINARY "guestunmount"
#define TEST_IMAGE "../test-data/phony-guests/fedora.img"
#define MOUNTPOINT "test-guestmount-fd.d"
#define TEST_FILE MOUNTPOINT "/etc/fstab"
diff --git a/fuse/test-guestunmount-fd.c b/fuse/test-guestunmount-fd.c
index ad7ff74..019f821 100644
--- a/fuse/test-guestunmount-fd.c
+++ b/fus...
2007 Apr 27
3
Image upload problem.
...When I upload just a
.png, my action gets a StringIO object which breaks when I try to copy the
upload to an absolute location. However, using multiple-field upload, as
long as one of the to-upload files is *not* a .png, all of the png files
will properly upload (TempFile objects now). So:
Upload: test_image.png --> Failure (FileUtils evaluating nil.to_str in #cp)
Upload: test_image1.png, test_image2.png --> Also fails
Upload: test_image1.png, test_image2.png, test_image3.jpg --> Works
perfectly, I see all three images.
So, what''s going on with Rails and png? Is there a mime type I...
2012 Jan 10
1
[PATCH] Prepend local library path to LD_LIBRARY_PATH for tests, instead of replacing it
...,} \
LIBGUESTFS_PATH=$(top_builddir)/appliance \
TMPDIR=$(top_builddir) \
$(VG)
diff --git a/perl/Makefile.am b/perl/Makefile.am
index 4c78f87..4f86de1 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -51,7 +51,7 @@ TESTS = run-bindtests run-perl-tests
$(TESTS): src_deps all appliance test_images
TESTS_ENVIRONMENT = \
- LD_LIBRARY_PATH=$(top_builddir)/src/.libs \
+ LD_LIBRARY_PATH=$(top_builddir)/src/.libs${if ${LD_LIBRARY_PATH},:${LD_LIBRARY_PATH},} \
LIBGUESTFS_PATH=$(top_builddir)/appliance \
TMPDIR=$(top_builddir)
diff --git a/resize/Makefile.am b/resize/Makefile.am
index 3f33...
2015 Aug 04
16
[PATCH v3 01/16] tests: Introduce test harness for running tests.
Since v2:
- Add perl tests.
- Reworked and fixed the tests for virt-builder.
- Some further minor bug fixes.
2015 Jul 31
14
[PATCH v2 00/14] tests: Introduce test harness for running tests.
This is a more complete patch to add the test harness.
The only parts missing now are the language bindings (except OCaml).
The language bindings need a bit more thought. At the moment most
language binding tests are done through some sort of shell script like
perl/run-perl-tests which either runs each test itself or uses some
language-specific machinary to run each test. The problem with that
2015 Aug 06
20
[PATCH v4 00/17] tests: Introduce test harness for running tests.
Since v3:
- A large number of fixes, especially for running the tests on
installed libguestfs.
- Fixed EXTRA_DIST rules throughout.
- Extra patch 17/17 which is a tidy-up of the generated XML
listing guests.
Rich.
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
...#include <unistd.h>
#include <errno.h>
+#include <error.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
@@ -64,38 +65,28 @@ main (int argc, char *argv[])
}
/* Skip the test if the test image can't be found. */
- if (access (TEST_IMAGE, R_OK) == -1) {
- perror (TEST_IMAGE);
- exit (77);
- }
+ if (access (TEST_IMAGE, R_OK) == -1)
+ error (77, errno, "access: %s", TEST_IMAGE);
/* Skip the test if /dev/fuse is not writable, because guestmount
* will fail.
*/
- if (access ("/dev/fuse", W_O...
2016 May 19
6
[PATCH 0/3] misc tests-only changes
Hi,
small series with small improvements to the tests.
Pino Toscano (3):
tests: specify the image format when possible
tests: remove remaining relative paths to binaries
fish: generate test-prep.sh with generator
.gitignore | 1 +
align/test-virt-alignment-scan.sh | 2 +-
cat/Makefile.am | 2 +-
cat/test-virt-cat.sh