Displaying 20 results from an estimated 500 matches similar to: "[PATCH 1/2] php: make the test suite failures fatal"
2016 Feb 12
0
[PATCH] php: restructure and expand tests
Rename the existing tests according to the naming/numbering described in
guestfs-hacking(1), and improve the current ones:
- guestfs_php_001.phpt: rename to guestfs_020_create.phpt
- guestfs_php_003.phpt: rename to guestfs_070_optargs.phpt
- guestfs_php_bindtests.phpt: rename to guestfs_090_bindtests.phpt
- guestfs_091_version.phpt: new, checks taken from the former
guestfs_php_002.phpt
-
2010 Sep 11
1
Remaining syntax-check errors
I've pushed 10 commits which just clean up errors found by 'make
syntax-check'. The remaining syntax-check errors are attached below.
I think many of them are false alarms.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
2016 May 03
2
[PATCH 1/2] Revert "php: Fix the tests ... again."
This reverts commit 0d69eab98f0bd5dd2d218ce5adcafdeb13f9d90d.
---
php/run-php-tests.sh | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/php/run-php-tests.sh b/php/run-php-tests.sh
index 80758bd..e5cfc0d 100755
--- a/php/run-php-tests.sh
+++ b/php/run-php-tests.sh
@@ -28,13 +28,10 @@ cd extension
# won't get passed down to the script. Furthermore,
2015 Feb 10
1
[PATCH] php: add a simple bindtests test
Generate a simple bindtests test for the PHP binding, so it is possible
to easily test all the argument types.
Unlike the bindtests for other languages, optional arguments are not
tested, due to the limitations of optional arguments in PHP (or maybe
they way we implement them).
---
.gitignore | 1 +
generator/bindtests.ml | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++
2012 Sep 16
3
Remaining syntax-check errors in libguestfs
... and why they are (probably) not errors.
> bindtextdomain
> daemon/guestfsd.c
> erlang/erl-guestfs-proto.c
> examples/copy_over.c
> examples/create_disk.c
> examples/display_icon.c
> examples/inspect_vm.c
> examples/mount_local.c
> examples/virt-dhcp-address.c
> tests/c-api/test-add-drive-opts.c
> tests/c-api/test-add-libvirt-dom.c
>
2012 Jul 14
6
[PATCH 0/6] Allow non-optargs functions to gain optional arguments.
This rather complex set of patches allow non-optargs functions to gain
optional arguments, while preserving source and binary backwards
compatibility.
The problem is that we cannot add an optional argument to an existing
function. For example, we might want to add flags to the 'lvresize'
API which currently has no optional arguments.
2016 Mar 18
9
[PATCH 0/7] Small portability changes
Assorted collection of small improvements in making libguestfs build on
non-Linux OSes; most of the changes impact tests though.
Thanks,
Pino Toscano (7):
build: check the path of fuser, and use it in FUSE code
tests: move guestfs-md5.sh to test-data
v2v: tests: isolate SHA1 calculation in an own shared function
v2v: tests: use guestfs-hashsums.sh for MD5
php: pass $(MAKE) to
2018 Jul 20
3
error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
Hi Thomas,
Thanks for your kind response!
Please review my backport for hs25, thanks a lot!
diff -r 3544d85cfe11 src/share/vm/opto/lcm.cpp
--- a/src/share/vm/opto/lcm.cpp Thu Jul 19 10:00:36 2018 +0100
+++ b/src/share/vm/opto/lcm.cpp Fri Jul 20 10:06:37 2018 +0800
@@ -49,7 +49,7 @@
// Check whether val is not-null-decoded compressed oop,
// i.e. will grab into the base of the heap
2018 Jul 23
2
error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
Hi Thomas,
Looks good.
Your changes in loopPredicate.cpp does not match original changes - they
miss iff->is_RangeCheck() check [1]. But in JDK8 we did not have
specialized RangeCheckNode class in C2. Suggested fix should be fine fro
jdk 8u.
Reviewed.
Please, when sending RFA ( approval request) use original 8174050 bug id.
Thanks,
Vladimir
[1]
2016 May 03
0
[PATCH 2/2] php: Fix the tests yet again.
From: Pino Toscano <ptoscano at redhat.com>
Move unsetting of LIBGUESTFS_DEBUG & LIBGUESTFS_TRACE into the
php-for-tests.sh wrapper.
Fixes commit 0d69eab98f0bd5dd2d218ce5adcafdeb13f9d90d.
---
php/extension/php-for-tests.sh.in | 12 ++++++++++++
php/run-php-tests.sh | 12 ------------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git
2018 Jul 19
2
error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
Hi HotSpot and LLVM developers,
I am building OpenJDK8[1] with LLVM toolchain[2] for mips64el, it failed
to build:
/home/loongson/jdk8-mips/hotspot/src/share/vm/opto/lcm.cpp:52:35: error:
ordered comparison between pointer and zero ('address' (aka 'unsigned
char *') and 'int')
if (Universe::narrow_oop_base() > 0) { // Implies UseCompressedOops.
2015 Oct 27
1
[PATCH] configure: Move language binding detection to separate files.
This commit starts to split our massive, monolithic configure.ac file
into smaller files, using the m4_include mechanism to combine them.
I don't know if we should really do this, so I'm open to comments
about it. However:
- Our configure.ac script is 1800+ lines long, and that's pretty long.
- configure.ac lacks structure; splitting it up might improve that.
- From what I read,
2016 Feb 12
1
[PATCH] tests: Make '080' be an official test of the guestfs_version API.
Useful because it tests returning a single structure.
---
docs/guestfs-hacking.pod | 1 +
ocaml/Makefile.am | 2 ++
ocaml/t/guestfs_080_version.ml | 27 +++++++++++++++++++++++++++
perl/t/080-version.t | 36 ++++++++++++++++++++++++++++++++++++
4 files changed, 66 insertions(+)
create mode 100644 ocaml/t/guestfs_080_version.ml
create mode 100644
2015 Sep 15
1
[PATCH] Add 'make installcheck' rule to test installed packages.
This is my proposed alternative to the complicated test framework
(https://www.redhat.com/archives/libguestfs/2015-August/msg00022.html).
In this patch, when we want to run tests on installed packages we just
copy in the installed binaries over the source directory, and run the
test suite as normal. This is basically the same as the current (not
used) contrib/make-check-on-installed.pl script,
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of
local disk.
Rich.
2019 Dec 18
1
[PATCH] po: reduce the list of extracted sources
Prune from the list of sources where to extract messages various sources
with no messages:
- .pl and .pm files, as they do not contain messages: almost all the
.pl files are tests, and the only .pm file is the Perl Sys::Guestfs
module, which wraps the XS extension
- dummy.c sources; they are empty sources used to build OCaml-only
targets using automake
- gperf generated sources
- C/OCaml
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 Aug 20
2
Options for hotplugging
libguestfs recently added support for virtio-scsi and libvirt, and
when these are both available this lets us relatively easily add
hotplugging of drives. This email is about how we would present that
through the libguestfs API.
(a) The current API
Currently you have to add drive(s) via guestfs_add_drive* and then
call guestfs_launch, ie. your program must look something like this:
guestfs_h