search for: gotest

Displaying 13 results from an estimated 13 matches for "gotest".

Did you mean: iotest
2020 Apr 23
0
[PATCH nbdkit 2/2] golang: Compile against the local nbdkit build, not installed.
...$(plugin_sources) examples/ramdisk/ramdisk.go cd examples/ramdisk && \ + PKG_CONFIG_PATH="$(abs_builddir)/server/local" \ GOPATH="$(abs_builddir)" \ $(GOLANG) build -o nbdkit-goramdisk-plugin.so -buildmode=c-shared @@ -87,6 +90,7 @@ check_DATA = test/nbdkit-gotest-plugin.so test/nbdkit-gotest-plugin.so: $(plugin_sources) test/test.go cd test && \ + PKG_CONFIG_PATH="$(abs_builddir)/server/local" \ GOPATH="$(abs_builddir)" \ $(GOLANG) build -o nbdkit-gotest-plugin.so -buildmode=c-shared -- 2.18.2
2020 Apr 23
0
[PATCH nbdkit v3 2/2] golang: Compile against the local nbdkit build, not installed.
...k/ramdisk.go cd examples/ramdisk && \ + PKG_CONFIG_PATH="$(abs_builddir)/server/local$${PKG_CONFIG_PATH:-:$$PKG_CONFIG_PATH}" \ GOPATH="$(abs_builddir)" \ $(GOLANG) build -o nbdkit-goramdisk-plugin.so -buildmode=c-shared @@ -87,6 +90,7 @@ check_DATA = test/nbdkit-gotest-plugin.so test/nbdkit-gotest-plugin.so: $(plugin_sources) test/test.go cd test && \ + PKG_CONFIG_PATH="$(abs_builddir)/server/local$${PKG_CONFIG_PATH:-:$$PKG_CONFIG_PATH}" \ GOPATH="$(abs_builddir)" \ $(GOLANG) build -o nbdkit-gotest-plugin.so -buildmode=c-share...
2006 Feb 08
0
Vijay - kerberos + vsftpd
..._shells.so account??? required???? pam_krb5.so try_first_pass session??? required???? pam_krb5.so try_first_pass session??? required???? pam_loginuid.so [root@ftp ~]# -------------- Output of klist command -------------- [root@ftp ~]# klist Ticket cache: FILE:/tmp/krb5cc_0 Default principal: test2@GOTEST.COM Valid starting???? Expires??????????? Service principal 02/08/06 12:56:55? 02/08/06 22:56:56? krbtgt/GOTEST.COM@GOTEST.COM ??????? renew until 02/09/06 12:56:55 Kerberos 4 ticket cache: /tmp/tkt0 klist: You have no tickets cached [root@ftp ~]# -------------- Please let me know what will be t...
2020 Apr 23
3
[PATCH nbdkit] golang: Compile against the local nbdkit build, not installed.
...ignore b/.gitignore index 4f6fcf1b..bda3b05a 100644 --- a/.gitignore +++ b/.gitignore @@ -74,6 +74,7 @@ plugins/*/*.3 /plugins/eval/methods.c /plugins/golang/examples/*/nbdkit-*-plugin.h /plugins/golang/examples/*/nbdkit-*-plugin.so +/plugins/golang/golang-pkgconf.sh /plugins/golang/test/nbdkit-gotest-plugin.h /plugins/golang/test/nbdkit-gotest-plugin.so /plugins/ocaml/nbdkit-ocamlexample-plugin.so diff --git a/configure.ac b/configure.ac index b71d9d8c..405890f5 100644 --- a/configure.ac +++ b/configure.ac @@ -1007,6 +1007,8 @@ AC_CONFIG_FILES([podwrapper.pl], [chmod +x,-w po...
2020 Apr 23
1
Re: [PATCH nbdkit v3 2/2] golang: Compile against the local nbdkit build, not installed.
On 4/23/20 2:13 PM, Richard W.M. Jones wrote: > Compiling nbdkit from source when an older nbdkit is installed would > fail because certain symbols such as .get_ready are not defined in the > (installed) <nbdkit-plugin.h>: > > ../../src/libguestfs.org/nbdkit/nbdkit.go:541:8: plugin.get_ready undefined (type _Ctype_struct_nbdkit_plugin has no field or method get_ready) >
2020 Apr 10
0
[PATCH nbdkit UNFINISHED] Add the ability to write plugins in golang.
....go \ + test/init.go \ + test/run-test.sh \ + test/test.go \ + test/wrappers.go \ + test/wrappers.h \ + $(NULL) + +if HAVE_GOLANG + +# There is nothing to build. Everything is statically compiled and +# linked together when we compile the test. + +TESTS = test/run-test.sh +check_DATA = test/nbdkit-gotest-plugin.so + +test/nbdkit-gotest-plugin.so: src/libguestfs.org/nbdkit/nbdkit.go test/init.go test/test.go test/wrappers.go test/wrappers.h + cd test && \ + GOPATH="$(abs_builddir)" \ + $(GOLANG) build \ + -o nbdkit-gotest-plugin.so -buildmode=c-shared + +CLEANFILES += \ + test/...
2020 Apr 21
2
[PATCH nbdkit v2] Add the ability to write plugins in golang.
...g/nbdkit/wrappers.go \ + src/libguestfs.org/nbdkit/wrappers.h \ + test/run-test.sh \ + test/test.go \ + $(NULL) + +if HAVE_GOLANG + +# There is nothing to build. Everything is statically compiled and +# linked together when we compile the test. + +TESTS = test/run-test.sh +check_DATA = test/nbdkit-gotest-plugin.so + +test/nbdkit-gotest-plugin.so: \ + src/libguestfs.org/nbdkit/nbdkit.go \ + src/libguestfs.org/nbdkit/utils.go \ + src/libguestfs.org/nbdkit/wrappers.go \ + src/libguestfs.org/nbdkit/wrappers.h \ + test/test.go + cd test && \ + GOPATH="$(abs_builddir)&quo...
2020 Apr 23
4
[PATCH nbdkit v3 0/2] golang: Compile against the local nbdkit build.
Version 2: https://www.redhat.com/archives/libguestfs/2020-April/thread.html#00166 Version 3 contains all changes discussed in the previous review. Rich.
2020 Apr 10
3
[PATCH nbdkit UNFINISHED] Add the ability to write plugins in golang.
Sorry Dan, but I really do dislike golang with a passion :-) Here is a patch that allows you to write nbdkit plugins in golang. As with C, OCaml and Rust, you can write a plugin in Go which compiles directly to a .so file that can be loaded into golang, so in that sense it works completely differently from scripting language plugins like Perl and Python where there's an
2020 Apr 23
5
[PATCH nbdkit 0/2 v2] golang: Compile against the local nbdkit build.
Version 1 was here: https://www.redhat.com/archives/libguestfs/2020-April/thread.html#00160 Version 2 side-steps the objections to the first patch by using a well-formed alternate nbdkit.pc file and running ordinary pkg-config against it, so any parsing of --cflags etc will be done by pkg-config. The first patch is essentially the same idea as:
2020 Apr 23
2
Re: [PATCH nbdkit v2] Add the ability to write plugins in golang.
...g/nbdkit/wrappers.go \ + src/libguestfs.org/nbdkit/wrappers.h \ + test/run-test.sh \ + test/test.go \ + $(NULL) + +if HAVE_GOLANG + +# There is nothing to build. Everything is statically compiled and +# linked together when we compile the test. + +TESTS = test/run-test.sh +check_DATA = test/nbdkit-gotest-plugin.so + +test/nbdkit-gotest-plugin.so: \ + src/libguestfs.org/nbdkit/nbdkit.go \ + src/libguestfs.org/nbdkit/utils.go \ + src/libguestfs.org/nbdkit/wrappers.go \ + src/libguestfs.org/nbdkit/wrappers.h \ + test/test.go + cd test && \ + GOPATH="$(abs_builddir)&quo...
2004 Nov 11
1
problem building an R package under Windows XP with calls to
...llo the world - NAG random number: %lf\n",g05cac()); } and a test.R file in the \R directory with the following R code: .First.lib<-function(lib,pkg){ library.dynam("test",pkg,lib) } .Last.lib <- function(libpath) { library.dynam.unload("test",libpath) } gotest <- function() { .C("test") return(0) } Based on Duncan Murdoch's recommendation, I then included a Makefile.win file containing the following code: test.dll : test.obj test.def link /dll /def:test.def /out:test.dll test.obj nagcsmt-mkl.lib mkl_s.lib mkl_def.li...
2004 Nov 11
1
FW: problem building an R package under Windows XP with calls to NAG C routines
...using Rprintf. >and a test.R file in the \R directory with the following R code: > >.First.lib<-function(lib,pkg){ > library.dynam("test",pkg,lib) >} > >.Last.lib <- function(libpath) >{ > library.dynam.unload("test",libpath) >} > >gotest <- function() > { > .C("test") > return(0) > } > >Based on Duncan Murdoch's recommendation, I then included a Makefile.win >file containing the following code: > >test.dll : test.obj test.def > link /dll /def:test.def /out:test.dll test....