search for: test_nam

Displaying 20 results from an estimated 73 matches for "test_nam".

Did you mean: test_name
2011 Nov 10
0
Unable to execute raw tests using lxc-execute.
...time: 2011-11-10 18:37:03.361497 Before running the specific test........ We are running the test_suite in non restricted......... Inside file subunit.c and func :: suite_start Inside file subunit.c and func :: suite_start and suite_name :: write progress: 4 Inside file subunit.c and func subunit_test_name:: test_name :: write and test_case_name :: write Inside file subunit.c and func subunit_test_start:: test_name :: write and test_case_name :: write test: write time: 2011-11-10 18:37:03.361930 Inside test_write :: The base_dir is \testwrite\test.txt Inside RAW.WRITE (test_write)....and test_cas...
2016 Jan 27
2
[PATCH 1/2] generator: add TestRunOrUnsupported test type
...,6 +41,7 @@ let rec generate_c_api_tests () = #include <string.h> #include <sys/types.h> #include <sys/stat.h> +#include <errno.h> #include \"guestfs.h\" #include \"guestfs-internal-frontend.h\" @@ -335,6 +336,23 @@ and generate_test_perform name i test_name test = let seq, last = get_seq_last seq in List.iter (generate_test_command_call test_name) seq; generate_test_command_call test_name ~expect_error:true last + + | TestRunOrUnsupported seq -> + pr " /* TestRunOrUnsupported for %s (%d) */\n" name i; + let seq, la...
2016 Feb 09
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
...ents_to_libnames(llvm_libs + ${ARG_LINK_COMPONENTS} + ${LLVM_LINK_COMPONENTS} + ) + endif() + endif() + if(CMAKE_VERSION VERSION_LESS 2.8.12) # Link libs w/o keywords, assuming PUBLIC. target_link_libraries(${name} @@ -885,11 +891,18 @@ add_llvm_executable(${test_name} IGNORE_EXTERNALIZE_DEBUGINFO ${ARGN}) set(outdir ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}) set_output_directory(${test_name} BINARY_DIR ${outdir} LIBRARY_DIR ${outdir}) + if (LLVM_LINK_LLVM_DYLIB) + target_link_libraries(${test_name} + gtest + gtest_main + ) + els...
2006 Jun 07
5
little Live search problem
...search word and it hits 0 characters it displays ALL the Test names in the database! def live_search @phrase = request.raw_post || request.query_string a1 = "%" a2 = "%" @searchphrase = a1 + @phrase + a2 @results = Test.find(:all, :conditions => [ "test_name LIKE ?", @searchphrase]) @number_match = @results render(:layout => false) end -- Posted via http://www.ruby-forum.com/.
2012 Mar 19
0
Reshape data frame with dcast and melt
...function on my real data sets (about 200.000 to 300.000 rows) failed. What happens is set all values for X, Y and Z were set to 1. The structure of my real data looks exactly the same as the small example below. After working on it for 2 days I think the problem is that the "primary key" (test_name, group_name and id) is only unique in the wide form. After applying the reshape_long function the primary key is not longer unique. I was wondering if anyone can tell me whether the step from d1 -> reshape_wide -> d2 can work at all because of the non uniqueness of d1. library(reshape2)...
2012 Dec 14
1
[PATCH] Add support for getting and setting GPT partition type GUIDs
...; isn't GPT." }; + ] (* Non-API meta-commands available only in guestfish. diff --git a/generator/tests_c_api.ml b/generator/tests_c_api.ml index 116a8b0..2aa78df 100644 --- a/generator/tests_c_api.ml +++ b/generator/tests_c_api.ml @@ -442,6 +442,13 @@ and generate_one_test_body name i test_name init test = ["umount_all"]; ["lvm_remove_all"]; ["part_disk"; "/dev/sda"; "mbr"]] + | InitGPT -> + pr " /* InitGPT for %s: create /dev/sda1 */\n" test_name; + List.iter (generate_test_com...
2006 Jun 11
7
testcase_setup_and_teardown_with_blocks (aka "The plugin with the very long name")
...ef teardown end end class PersonTest < Test::Unit::TestCase # This overrides the method in the superclass def setup end # This overrides the method in the superclass def teardown end # Only the setup and teardown methods in this class will be called def test_name end end Becomes ... class Test::Unit::TestCase setup do end teardown do end end class PersonTest < Test::Unit::TestCase setup do end teardown do end def test_name end end It plays nicely with fixtures and should be completely backward...
2007 Jun 01
1
[CruiseControl] RubyOnRails build 6924.1 failed
...nk/activesupport/test/core_ext/hash_ext_test.rb M /trunk/activesupport/lib/active_support/core_ext/array/conversions.rb M /trunk/activesupport/lib/active_support/core_ext/hash/conversions.rb TEST FAILURES AND ERRORS ----------------------- #<struct TestErrorEntry type="Failure", test_name="test_get_collection_empty(ConnectionTest)", message="<nil> expected but was\n<\"\\n\">.", stacktrace="./test/connection_test.rb:118">#<struct TestErrorEntry type="Error", test_name="test_get_collection(ConnectionTest)",...
2009 Aug 28
1
[PATCHES] avoid more warnings
...rgc, char *argv[]) { char c = 0; - int failed = 0; + unsigned long int n_failed = 0; const char *filename; int fd; int nr_tests, test_num = 0; @@ -5513,7 +5513,7 @@ int main (int argc, char *argv[]) pr " printf (\"%%3d/%%3d %s\\n\", test_num, nr_tests);\n" test_name; pr " if (%s () == -1) {\n" test_name; pr " printf (\"%s FAILED\\n\");\n" test_name; - pr " failed++;\n"; + pr " n_failed++;\n"; pr " }\n"; ) test_names; pr "\n"; @@ -5524,8 +5524,...
2015 Nov 06
2
[PATCH supermin] build: use a custom test driver
...PATH --trs-file=PATH + [--expect-failure={yes|no}] [--color-tests={yes|no}] + [--enable-hard-errors={yes|no}] [--] + TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS] +The '--test-name', '--log-file' and '--trs-file' options are mandatory. +END +} + +test_name= # Used for reporting. +log_file= # Where to save the output of the test script. +trs_file= # Where to save the metadata of the test run. +expect_failure=no +color_tests=no +enable_hard_errors=yes +while test $# -gt 0; do + case $1 in + --help) print_usage; exit $?;; + --version) echo "t...
2009 Aug 17
1
two more warning-avoidance patches
...uestfs_h *g, void *data, const char *msg) } /* FIXME: nearly identical code appears in fish.c */ -static void print_strings (char const *const *argv) +static void print_strings (char *const *argv) { int argc; @@ -5869,7 +5869,7 @@ and generate_test_command_call ?(expect_error = false) ?test test_name cmd = fun i str -> pr " const char *%s_%d = \"%s\";\n" n i (c_quote str); ) strs; - pr " const char *%s[] = {\n" n; + pr " const char *const %s[] = {\n" n; iteri (...
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...stfs_%s\\\" has no tests\\n\");\n" name + pr " fprintf (stderr, \"warning: \\\"guestfs_%s\\\" has no tests\\n\");\n" name ) all_functions; pr "}\n"; @@ -5073,7 +5073,7 @@ static void print_table (char * const * const argv) let test_names = List.map ( fun (name, _, _, _, tests, _, _) -> - mapi (generate_one_test name) tests + mapi (generate_one_test name) tests ) (List.rev all_functions) in let test_names = List.concat test_names in let nr_tests = List.length test_names in @@ -5305,54 +5305,54 @@ s...
2016 Feb 06
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
Hans, I have posted a complete patch for solving the linkage issues with LLVM_LINK_LLVM_DYLIB on Phabricator at http://reviews.llvm.org/D16945. The bulk of the fix the simple changes of... Index: cmake/modules/AddLLVM.cmake =================================================================== --- cmake/modules/AddLLVM.cmake (revision 259743) +++ cmake/modules/AddLLVM.cmake (working copy) @@
2011 Nov 10
5
[PATCH v2] Add tune2fs command.
The changes since the previous patch: - safe ADD_ARG macro for adding arguments to a fixed size stack array - support for testing functions that return RHashtable, ie. tune2fs-l. - add tests that set (tune2fs) and get (tune2fs-l) various parameters. - only one 'intervalbetweenchecks' parameter (in seconds) Rich.
2009 Nov 09
1
use STREQ(a,b), not strcmp(a,b) == 0
...git (dev[strlen(dev)-1])) { printf ("<vm-image dev=\"%s\"/>\n", dev); return; } diff --git a/src/generator.ml b/src/generator.ml index 3a25c57..aff6356 100644 --- a/src/generator.ml +++ b/src/generator.ml @@ -6146,7 +6146,7 @@ and generate_one_test_body name i test_name init test = pr " fprintf (stderr, \"%s: returned size of buffer wrong, expected %d but got %%zu\\n\", size);\n" test_name len; pr " return -1;\n"; pr " }\n"; - pr " if (strncmp (r, expected, size) != 0)...
2010 Jan 12
1
[PATCH] Adds the qemu log to the autotest output.
...>&2; } -die() { warn "$*"; exit 1; } +die() { warn "$*"; show_libvirt_log; exit 1; } debug() { if $debugging; then log "[DEBUG] %s" "$*"; fi } trap '__st=$?; cleanup_after_testing; exit $__st' 1 2 3 13 15 @@ -69,6 +70,15 @@ Usage: $ME [-n test_name] [LOGFILE] EOF } +# $1 - the nodename +show_libvirt_log () { + local logfile=/var/log/libvirt/qemu/$1.log + + printf "\n[${logfile}]\n" + sudo cat $logfile + printf "[${logfile}]\n\n" +} + # $1 - the test function to call execute_test () { local testname=...
2009 Dec 15
1
[PATCH] The autotest timeout is now a command line configurable option.
...ents. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- autotest.sh | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/autotest.sh b/autotest.sh index c67931a..bcd9bd5 100755 --- a/autotest.sh +++ b/autotest.sh @@ -62,6 +62,7 @@ Usage: $ME [-n test_name] [LOGFILE] -i: set the ISO filename (defualt: ovirt-node-image.iso) -n: the name of the specific autotest to run (default: run all autotests) -d: enable more verbose output (default: disabled) + -t: change the timeout between markers (in ms, default: 120) -v: enable tracing (default:...
2016 Dec 08
3
[PATCH 1/2] Remove most instances of OCaml warning 52.
...est_command_call ?(expect_error = false) ?(do_return = true) ?test | Int _, arg, _ -> let i = try int_of_string arg - with Failure "int_of_string" -> + with Failure _ -> failwithf "%s: expecting an int, but got '%s'" test_name arg in pr ", %d" i | Int64 _, arg, _ -> let i = try Int64.of_string arg - with Failure "int_of_string" -> + with Failure _ -> failwithf "%s: expecting an int64, but got '%s'" test_name arg in...
2012 Sep 06
2
[LLVMdev] LNT: failing to parse compiler info: what am I doing wrong?
...;, 'lnt')() File "/home/sean/pg/others/llvm/lnt/lnt/lnttool/main.py", line 281, in main commands[cmd](cmd, args[1:]) File "/home/sean/pg/others/llvm/lnt/lnt/lnttool/main.py", line 149, in action_runtest report = test_instance.run_test('%s %s' % (name, test_name), args) File "/home/sean/pg/others/llvm/lnt/lnt/tests/nt.py", line 1288, in run_test report = run_test(nick, opts, None, report_dir) File "/home/sean/pg/others/llvm/lnt/lnt/tests/nt.py", line 645, in run_test target_flags) File "/home/sean/pg/others/llvm/lnt/...
2017 Mar 07
0
[PATCH v4 5/9] builder: add Index_parser.write_entry function
...ot;\"%s\"" x) + +let test_open_out () = + open_out (tmpdir // "out") + +let test_read_out chan = + close_out chan; + read_whole_file (tmpdir // "out") + +let test_write_complete ctx = + let entry = + ("test-id", { Index.printable_name = Some "test_name"; + osinfo = Some "osinfo_data"; + file_uri = "test/path"; + arch = "test_arch"; + signature_uri = None; + checksums = Some [Checksums.SHA256 "256checksum"; Checksums.SHA512 "512checksum"]; +...