search for: _test

Displaying 20 results from an estimated 72 matches for "_test".

Did you mean: test
2012 May 31
3
RScript.exe and map directory issue
Hi, I'm trying to run on Windows 7 a scriptfile with Rscript.exe from within Excel 2010 with the following code: Call Shell(rPath & "\Rscript.exe C:\Work\Latest\_Test.R", vbHide) The good news is: the above code works perfectly, but ... If I add white spaces to my map directory, like: Call Shell(rPath & "\Rscript.exe C:\Work\Latest 1\_Test.R", vbHide) In the above case or the RScript.exe doesn't run the file anymore. Could someone expla...
2005 Oct 05
0
Asterisk 1.0.9-BRIstuffed-0.2.0-RC8o memory leak when using call files ?
...0201 MaxRetries: 0 WaitTime: 35 RetryTime: 10 Account: TEST SetVar: SMID1=TESTT05100514541601 SetVar: SMID2=721 SetVar: SMID3= SetVar: SMINFO=TESTINFO SetVar: SMOADC=+491722270201 SetVar: SMADC=+491234567890 SetVar: SMRETRYCNT=3 extensions.conf: [general] TRUNKTEST=Zap/r1 [test-dial] ;exten => _TEST.,1,SetCallerPres(prohib) exten => _TEST.,1,SetCallerPres(allowed) exten => _TEST.,2,Cut(SMID=EXTEN,:,1) exten => _TEST.,3,Cut(REALEXTEN=EXTEN,:,2) exten => _TEST.,4,Dial(${TRUNKTEST}/${REALEXTEN},30,ng) exten => _TEST.,5,DBPut(DIALTEST/${SMID}/HANGUPCAUSE=${HANGUPCAUSE}) exten =>...
2006 Jul 16
3
RJS problem
I have an odd problem while trying to use a simple rjs. _test.rjs : page.alert "test" test.rhtml: <script><%=render_partial(''test'')%></script> When I am attempting to view controller/test the page comes as if it was a text file. So i am actually seeing: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
2010 Jan 21
3
[LLVMdev] cygwin/mingw help
Can someone with cygwin/mingw access tell me what .s file gcc compiles this .c file to: static int test[100]; void *x = &test; Thanks! -Chris
2005 Dec 28
6
coverage does not work
Hi, I''ve installed coverage (gem install coverage) and try to run tests with -rcoverage option on, but following error occurs: ruby: No such file to load -- coverage (LoadError) I try: ruby -rcoverage mytest.rb 1. I have rubygems in evn var RUBYOPT 2. Gem seems to be installed properly (I can read doc via gems, the files exist in the ../gem/... dirs) Does anyone know what is the
2010 Jan 21
0
[LLVMdev] cygwin/mingw help
This is what I got from gcc -S t.c .file "t.c" .globl _x .data .align 4 _x: .long _test .lcomm _test,400 On Thu, Jan 21, 2010 at 4:07 PM, Chris Lattner <clattner at apple.com> wrote: > Can someone with cygwin/mingw access tell me what .s file gcc compiles > this .c file to: > > static int test[100]; > void *x = &test; > > Thanks! > > -Chris >...
2006 May 15
3
where do I put this test?
...like testing ActiveRecord and TDD advocates against creating tests for 3rd party software, but I''m new to TDD and am still trying to get the hang of it. Suggestions, pointers and inspirational messages would all be appreciated. Also, what''s the best practice for getting my _test database to track my _development database? I''ve been using "rake clone_structure_to_test" but I''m not sure that''s the best way to accomplish this. I am using migrations for creating my data model... can/should I rerun them against the _test db? cr
2013 Mar 11
0
[LLVMdev] YAML IO problems
I'm trying to parse a simple JSON file, and am having problems with using YAMLIO. FWIW, I see the unit test YAMLIOTest.cpp is disabled with a #if 0. Anyway, the JSON file yaml.json contains: { "bool_test": true, "directory": ".", "suffix": "_test", "int_test": 4 } The test program when run shows: YAML:5:15: error: invalid number "int_test": 4 ^~ // ^~ points to the 4 bool_test: true save_directory:...
2014 Nov 02
2
[LLVMdev] So I just did a normal 'ninja check' with a CMake build that enables ASan and the go bindings tests are... busted...
Specifically, the test is causing a link to occur for CGO stuff. It has been running 8 minutes now with Gold, and is producing a 400mb .o file afaict: % du -hs /tmp/go-build703430446/ llvm.org/llvm/bindings/go/llvm/_test/_obj_test/_cgo_.o 397M /tmp/go-build703430446/ llvm.org/llvm/bindings/go/llvm/_test/_obj_test/_cgo_.o What am I doing wrong here? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141102/0e00a4ed/attachment...
2010 Mar 16
2
DID/CID doesn't match "." (dot) in CID field
Hi all, using Skype for Asterisk I have the following problem. In my dialplan I need to have a CID matching (example.skype) over a DID (test.skype) : [example] exten => test.skype/example.skype,1, NoOp(nothing) exten => test.skype/example.skype,n, Hangup() Where test.skype and example.skype are Skype business account. In this case, when I get a : CLI> show dialplan example I get: [
2008 Dec 29
0
[LLVMdev] [Patch] Adding unit tests to LLVM
...gree, they'll link faster if we have fewer tests. I would not want a single massive test for all of LLVM -- how about 1 test binary per major directory in llvm/lib, unless it's really necessary to split them up, e.g. target-dependent unittests, but each .cpp file would ideally have its own _test.cpp file, so it's easier to keep the tests for different modules separate. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081229/7897fad6/attachment.html>
2004 May 09
0
[LLVMdev] Testing LLVM on OS X
...ctic loops). > > Yup, this is EXACTLY what is going on. > > I took this very simple C function: > > int Array[1000]; > void test(int X) { > int i; > for (i = 0; i < 1000; ++i) > Array[i] += X; > } > > Compile with -O3 on OS/X gave me this: > > _test: > mflr r5 > bcl 20,31,"L00000000001$pb" > "L00000000001$pb": > mflr r2 > mtlr r5 > addis r4,r2,ha16(L_Array$non_lazy_ptr-"L00000000001$pb") > li r2,0 > lwz r9,lo16(L_Array$non_lazy_ptr-&qu...
2008 Dec 29
3
[LLVMdev] [Patch] Adding unit tests to LLVM
Do the existing tests use a wildcard rule to gather all test sources? We would need to insure that the wildcard rule for the unit tests and the large tests are mutually exclusive. Also, will the unit tests be one executable or many? They will probably compile/run faster if there is a smaller number of executables. On Mon, Dec 29, 2008 at 1:43 PM, Misha Brukman <brukman at gmail.com> wrote:
2006 Jun 06
0
Re: [ocruby] iteration A1 in ebook: scaffold gets: routing error
...that, must have been doing something wrong. ended up writing the script below: thanks set -x base=i:/work PATH=/cygdrive/$base:$PATH name=depot cd $base rm -rf depot ls mysqladmin -f -u root drop ${name}_development mysqladmin -u root create ${name}_development mysqladmin -f -u root drop ${name}_test mysqladmin -u root create ${name}_test mysqladmin -f -u root drop ${name}_production mysqladmin -u root create ${name}_production echo rails rails.cmd $name cd $name echo rake db:migrate rake.bat db:migrate echo script/generate model Product ruby script/generate model Product echo "edit migrat...
2006 May 24
0
[tip] Test coverage
...my code was being exercised, but somehow the number of lines of test code did not sync up with what I expected so I went looking for models and controllers that were missing unit and functional tests. Here is a rake task you can dump into your Rakefile or /lib/tasks. You can then run: rake missing_tests and it will let you know where you have failed to create a test file (it offers no opinion on how meaningful your tests are :). I really recommend rcov as another tool if you are looking for some automated feedback about what code is being executed by your tests. Comments welcome! [1] http://ei...
2006 Mar 22
3
Rendering partials in ActionMailer?
...a charm. But we have a piece of shared code, that we''d really like to not have to copy & paste into 5 other different templates. In case it has to do with my setup, here''s a bit about it: In models/ class Mailer < ActionMailer::Base ... end In views/mailer/ - I have: _test.rhtml - the partial I''m trying to render send.rhtml - the template calling the partial In send.rhtml, I''ve tried various incarnations of: <%= render :partial => "test" %> <%= render_partial("mailer/test") %> <%= render_partial("tes...
2010 Oct 13
1
Pasting function arguments and strings
Dear R community, I am struggling a bit with a probably fairly simple task. I need to use some already existing functions as argument for a new function that I am going to create. 'dataset' is an argument, and it comprises objects named 'mean_test', 'sd_test', 'kurt_test' and so on. 'arg1' tells what object I want (mean, sd, kurt) while 'arg2' tells what to do to the object taken in 'arg1' (again could be mean, sd, but also any other operation/function). I was thinking about something like: myfun...
2010 Nov 12
2
[LLVMdev] Simplifying selects + arm stuff
...tter. ICC also almost never generates conditional moves. That may be, but I can't imagine that: $ cat t.ll define i32 @test(i32 %a, i32 %b, i32 %x, i32 %y) nounwind { %cond = icmp slt i32 %a, %b %z = select i1 %cond, i32 -1, i32 %x %s = and i32 %z, %y ret i32 %s } $ llc t.ll -o - -march=arm _test: @ @test @ BB#0: cmp r0, r1 mvn r12, #0 movlt r2, r12 and r0, r2, r3 bx lr is better than a cmp + conditional and + bx. -Chris
2008 May 22
2
"Invalid argument" error when moving sockets to backup dir
Local end (receiving): 3.0.2, 3.0.3pre2 Remote end (sending): 2.6.9 Under 3.0.x, rsync sometimes prints an "Invalid argument" error when moving sockets to the backup directory (--backup-dir): rsync: mknod "/backup/machine/../machine-before-4/var/run/audit_events" failed: Invalid argument (22) The problem appears to be that, at least with sockets, keep_backup() is calling
2008 Jul 23
0
[LLVMdev] Structs as first class values.
...sly (before first class aggregates got enabled yesterday): define %struct.foo @test(double* %P1, i64* %P2) nounwind { entry: load double* %P1, align 8 ; <double>:0 [#uses=1] load i64* %P2, align 8 ; <i64>:1 [#uses=1] ret double %0, i64 %1 } and both produce this machine code: _test: movq (%rsi), %rax movsd (%rdi), %xmm0 ret >> right thing. However, returning a {i64, i64, i64, i64} by value and >> having it automatically be returned "by pointer" is less interesting, > > What do you mean by "less interesting?" There are already other...