search for: test_funct

Displaying 20 results from an estimated 160 matches for "test_funct".

Did you mean: test_func
2017 Feb 20
3
[PATCH 0/3] tests: Define common test functions.
Previously I posted a work-in-progress preview of this patch series: https://www.redhat.com/archives/libguestfs/2017-February/msg00224.html This is the finished version that updates all of the shell-script based tests. It passes 'make check', 'make check-direct' and 'make check-slow'. Rich.
2019 Dec 11
2
[PATCH 1/2] podcheck: __INCLUDE:file.pod__ and __VERBATIM:file.txt__ in POD files.
Make sure the pod checker script can deal with the newer additions of podwrapper.pl. Followup of commit 46e59e9535c2fcd1c188464b5249a249f22af1a0. --- podcheck.pl | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/podcheck.pl b/podcheck.pl index 527a2e47d..795fe0e9b 100755 --- a/podcheck.pl +++ b/podcheck.pl @@ -83,6 +83,15 @@ used where the POD includes
2019 Dec 11
0
[PATCH 2/2] tests: fix podcheck tests
...fy/test-virt-sparsify-docs.sh | 1 + sysprep/test-virt-sysprep-docs.sh | 1 + 10 files changed, 22 insertions(+), 11 deletions(-) diff --git a/cat/test-docs.sh b/cat/test-docs.sh index 30cc1eeb4..0d6d5461a 100755 --- a/cat/test-docs.sh +++ b/cat/test-docs.sh @@ -21,9 +21,14 @@ set -e $TEST_FUNCTIONS skip_if_skipped -$top_srcdir/podcheck.pl virt-cat.pod virt-cat -$top_srcdir/podcheck.pl virt-filesystems.pod virt-filesystems -$top_srcdir/podcheck.pl virt-log.pod virt-log +$top_srcdir/podcheck.pl virt-cat.pod virt-cat \ + --path $top_srcdir/common/options +$top_srcdi...
2019 Dec 17
5
[PATCH 0/3] Various dist/build fixes
Fix one dist issue, and various builddir!=srcdir issues, also with the patch proposed in the Debian bug #946594. Patch #3 applies also to the virt-v2v repository, and will be committed there too (with references to the libguestfs commit). Pino Toscano (3): inspector: ship the actual test script tests: fix srcdir references build: fix make implicit dependencies on ml/mli files
2017 Feb 19
3
[PATCH [WIP] 0/3] tests: Define common test functions.
There's a lot of common code in the tests, eg: if [ "$(guestfish get-backend)" = "uml" ]; then echo "$0: test skipped because UML backend does not support network" exit 77 fi These commits (work in progress) create a common set of test functions for skipping tests etc. Rich.
2006 Mar 10
2
rake fails on build server, but not in development
...uction deployment environment of Redhat with Oracle XE. In the course of setting up a new continuous build server that more closely mimics our production environment, I got stuck on the following strangeness on the build server (Linux, Oracle). 1. rake fails 2. rake test_units works 3. rake test_functional works We''ve reduced the problem down to a simple fault by using --trace ... I can see that "purge_test_database" does not happen between test_units and test_functional when a complete rake is done, and the database has a bunch of stuff in it from the unit tests, so it is...
2020 Feb 21
1
Test failure on ARM: backtrace_append
...libc-2.29/lib/libc.so.6 No symbol table info available. #2 0x000144fe in test_backtrace_get () at test-backtrace.c:45 bt = 0x0 bt = <optimized out> #3 test_backtrace () at test-backtrace.c:56 No locals. #4 0x000353a4 in test_run_named_funcs (tests=tests at entry=0x6608c <test_functions>, match=match at entry=0x6ddcc "") at test-common.c:288 _data_stack_cur_id = 2 i = <optimized out> #5 0x00035bf0 in test_run_named_with_fatals (match=0x6ddcc "", tests=0x6608c <test_functions>, fatals=0x6603c <fatal_functions>) at test-c...
2016 Aug 04
2
Dovecot 2.2.25 test failure
Operating system - 64 bit CentOS 7 gcc-4.8.5-4.el7.x86_64 Building against LibreSSL which has been fine for other releases, but it is a crypto test that is fails. Tried with LibreSSL 2.4.2 and 2.3.6 - both the build completes but fails the make check Dovecot 2.2.24 passes make check on both. This is where it fails: Making check in lib-dcrypt make[2]: Entering directory
2018 Feb 06
1
Segmentation fault in "make check" test_istream_multiplex for 2.3.0 on Solaris Sparc
..., 7} os = 0x0 is = 0x0 ichan1 = 0xd31e8 ochan1 = 0xd3470 io = 0xd34c8 ichan0 = 0x1b10e8 ochan0 = 0x1b1290 #4 test_multiplex () at test-multiplex.c:164 No locals. #5 0x0003e3d4 in test_run_named_funcs (tests=tests at entry=0x80444 <test_functions>, match=match at entry=0x7fd38 "") at test-common.c:255 _data_stack_cur_id = 2 i = <optimized out> #6 0x0003f1d8 in test_run_named_with_fatals (match=0x7fd38 "", tests=0x80444 <test_functions>, fatals=0x7fde0 <fatal_functions>) at te...
2016 Aug 04
2
Dovecot 2.2.25 test failure
...t;, ct = 0x55555557de38 "5086cb9b507219ee95db113a917678b2"}} key = 0x55555578e0f0 iv = 0x55555578e158 pt = 0x55555578e1c0 ct = 0x55555578e228 res_enc = 0x55555578e290 res_dec = 0x55555578e308 #2 0x00005555555656f1 in test_run_funcs (test_functions=test_functions at entry=0x55555578b020 <test_functions.5619>) at test-common.c:354 _data_stack_cur_id = 2 i = 0 #3 0x0000555555565fc1 in test_run (test_functions=0x55555578b020 <test_functions.5619>) at test-common.c:404 No locals. #4 0x000055555555f462 in main...
2018 Oct 01
2
[PATCH] v2v: -o rhv-upload: skip test-v2v-o-rhv-upload.sh w/o nbdkit
...f it is not installed. --- v2v/test-v2v-o-rhv-upload.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/v2v/test-v2v-o-rhv-upload.sh b/v2v/test-v2v-o-rhv-upload.sh index 8bda7cc0b..29214a9db 100755 --- a/v2v/test-v2v-o-rhv-upload.sh +++ b/v2v/test-v2v-o-rhv-upload.sh @@ -28,6 +28,7 @@ set -x $TEST_FUNCTIONS skip_if_skipped skip_if_backend uml +skip_unless nbdkit file --version skip_unless_phony_guest windows.img libvirt_uri="test://$abs_top_builddir/test-data/phony-guests/guests.xml" -- 2.17.1
2006 Aug 05
5
error with db:migrate
I''m new to ROR, and am working my way through the Agile Web Development Book. In the test application, the authors tell me to test my database connection by performing "rake db:migrate". When I do, I get the error "Don''t know how to build task ''db:migrate''" I''ve been looking around at the files, and I see a reference to a
2003 May 20
1
building a Win32 DLL with R objects?
...e). Here's the info so far: this is the contents of the main.c file (not there's no WinMain()). Do we put it in or does the script do it when we compile? /* this is a test for the r package to access r objects from a c lib */ #include "R.h" #include "Rdefines.h" SEXP test_function( SEXP a, SEXP b ) { int na; int nb; int nab; double *xa; double *xb; double *xab; SEXP ab; PROTECT( a = AS_NUMERIC( a ) ); PROTECT( b = AS_NUMERIC( b ) ); warning( "you're now in test_function\n" ); na = LENGTH( a ); nb = LENG...
2018 Oct 01
2
[PATCH v2] v2v: -o rhv-upload: test-v2v-o-rhv-upload.sh: add more skip checks
...8-October/msg00008.html v2v/test-v2v-o-rhv-upload.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v2v/test-v2v-o-rhv-upload.sh b/v2v/test-v2v-o-rhv-upload.sh index 8bda7cc0b..23d2ad7a0 100755 --- a/v2v/test-v2v-o-rhv-upload.sh +++ b/v2v/test-v2v-o-rhv-upload.sh @@ -28,6 +28,8 @@ set -x $TEST_FUNCTIONS skip_if_skipped skip_if_backend uml +skip_unless python3 --version +skip_unless nbdkit python3 --version skip_unless_phony_guest windows.img libvirt_uri="test://$abs_top_builddir/test-data/phony-guests/guests.xml" -- 2.17.1
2006 Jul 18
7
backgroundrb and autotest
Hi, First, thanks for the plugin. Sorry if this is not strictly a backgroundrb issue but I thought others on this list might have come across this problem. I''m trying to run the test that comes via the worker generator. The test works fine when running ''rake test_functional'', but when the tests are run by autotest I get "uninitialized constant BackgrounDRb" (full stack trace below). I notice that BackgrounDRb::Rails is defined in "script/lib", is this a non-standard location that autotest somehow bypasses? I''m totally clueles...
2005 Apr 11
2
[LLVMdev] JIT and array pointers
...int main (void) { buff[0] = 1; // compile and execute code that will change buff[0] to 2 Value *c0 = ConstantUInt::get (Type::UIntTy, 0); Value *c2 = ConstantUInt::get (Type::UIntTy, 2); Module *m = new Module ("test_module"); Function *f = m->getOrInsertFunction ("test_function", Type::VoidTy, 0); BasicBlock *b = new BasicBlock ("entry_block", f); // Here is the problem. // I need to get the buff pointer into variable, which I can // pass to GetElementPtrInst // Value *pbuff = ?? // -> %pbuff = external global [4096 x uint] Value *ptr =...
2019 Nov 29
2
[PATCH] tests: rhv-upload: Require nbdkit python plugin
...t now. --- tests/test-v2v-o-rhv-upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-v2v-o-rhv-upload.sh b/tests/test-v2v-o-rhv-upload.sh index a2f5b0d5..fe0a4d94 100755 --- a/tests/test-v2v-o-rhv-upload.sh +++ b/tests/test-v2v-o-rhv-upload.sh @@ -29,7 +29,7 @@ $TEST_FUNCTIONS skip_if_skipped skip_if_backend uml skip_unless python3 --version -skip_unless nbdkit python3 --version +skip_unless nbdkit python --version skip_unless_phony_guest windows.img libvirt_uri="test://$abs_top_builddir/test-data/phony-guests/guests.xml" -- 2.21.0
2019 Dec 17
1
[common PATCH] tests: fix srcdir references
...--- mltools/test-tools-messages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mltools/test-tools-messages.sh b/mltools/test-tools-messages.sh index 0e24d6c..73e1beb 100755 --- a/mltools/test-tools-messages.sh +++ b/mltools/test-tools-messages.sh @@ -25,4 +25,4 @@ set -x $TEST_FUNCTIONS skip_if_skipped -$PYTHON parse_tools_messages_test.py +$PYTHON "$srcdir/parse_tools_messages_test.py" -- 2.23.0
2006 Apr 07
1
Testing problem
Hi all, In Rails 1.0, why would running rake test_functional be different from running ruby test/functional/my_tests.rb? I''ve got a set of tests that pass fine when run individually, but fail when they''re run from rake. Anyone else seen this? I don''t know if it''s relevant, but I''m doing ERb template ren...
2005 Dec 30
1
Need serious help - unit testing without a database
I''ve created a model, let''s just call it Person class Person attr_accessor :first_name, :lastname def full_name @first_name + " " + @last_name end end I''m using this in my Rails application. My Rails application does not use a database of any kind, and this model is obviously not a subclass of ActiveRecord::Base. I can''t unit test this