similar to: How to monkeypatch in a plugin

Displaying 20 results from an estimated 10000 matches similar to: "How to monkeypatch in a plugin"

2009 May 18
0
how to monkeypatch Hash's = method, revisted
So google for a solution to this problem and found myself here: http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/eaa34998a74831b4/58b80fe0d4eadb1a?lnk=gst&q=+how+to+monkeypatch+Hash%27s+%5B%5D%3D+method+#58b80fe0d4eadb1a But while reading, and admittedly not quite getting the solution, I had a bright moment to balance out the stupid moment, realising that [] = already has
2006 Feb 28
5
Problem with paginate, include and foreign keys
Hi all, Solaris 10 Ruby 1.8.4 Rails 1.0.0 Postgres 8.1 postgres driver 0.7.1 I''m having a problem with getting paginate() to properly pick up an FK constraint properly. I don''t seem to have this issue with ActiveRecord, however. Consider: create table start_dates ( id bigserial, start_date date unique, max_slots int default 40, primary key (id) ); create
2007 Jul 12
1
form_tag doesn't accept a string anymore in edge rails?
So, here''s the offending line. Note that I''m using edge rails. form_tag verifications_path(@user), :method => :post do verifications_path(@user) returns a string like "/users/3/ verifications". That eventually gets sent to url_for, which expects a hash. And then it blows up. It''s especially disconcerting since the documentation shows form_tag as
2007 Dec 14
3
[LLVMdev] Adding ClamAV to the llvm testsuite (long)
Hi, I see that you are looking for new programs for the testsuite, as described in 'Compile programs with the LLVM compiler', and 'Adding programs to the llvm testsuite" on llvm.org/OpenProjects. My favourite "C source code" is ClamAV (www.clamav.net), and I would like to get it included in the testsuite. This mail is kind of long, but please bear with me, as I want
2007 Dec 17
0
[LLVMdev] Adding ClamAV to the llvm testsuite (long)
We always welcome more tests. But it looks like there are two issues here. 1. The autoconf requirement. Is it possible to get one configuration working without the need for autoconf? 2. GPL license. Chris? Evan On Dec 14, 2007, at 12:30 PM, Török Edwin wrote: > Hi, > > I see that you are looking for new programs for the testsuite, as > described in 'Compile programs with
2008 Mar 30
0
[LLVMdev] [Proposal] GSoC 2008 project proposal for improving the llvm-test testsuite
Hi, sounds like a nice project. Some comments below. > *1. Project title:* > Extend the llvm-test testsuite to include new programs and benchmaraks[1], benchmaraks -> benchmarks > and give a web service interface to run a test build remotely. Also, this is not a title, it is a summary. How about calling it: "Improve the llvm testsuite" > *2. Abstract:* > LLVM[2]
2008 Nov 12
1
[LLVMdev] Validating LLVM
On Wednesday 12 November 2008 00:33, Bill Wendling wrote: > > Please take a look and send feedback toi the list. I'd like to get > > the > > process moving early in the 2.4 cycle. > > Hi Dave, > > Here are my opinions: > > I like the idea of regular validation tagging. However, I think that > it should be as automated as possible. I'm worried that
2011 Jul 01
2
[LLVMdev] Reporting errors in inline assembly
I want to report a problem with an inline assembly instruction from a code generator pass? How can I do that with the proper diagnostic format and source location? Right now we only get: clang -c /d/g/clang-tests/gcc-4_2-testsuite/src/gcc.target/i386/pr30848.c fatal error: error in backend: Inline asm output regs must be last on the x87 stack But gcc-4-2 can: $ gcc-4.2 -c
2015 Jun 24
2
[LLVMdev] buildbot failure in LLVM on clang-x86_64-ubuntu-gdb-75
This bot seems kind of flaky. In the last 100 builds, it has failed "gdb-75-check" 22 times with what is either a linker error or a missing header (or both?): gdb compile failed, /usr/bin/ld: error: /home/buildslave/osuosl_slave/clang-x86_64-ubuntu-gdb-75/clang-tests/build/gdb/testsuite/gdb.trace/pendshr1.c.o: requires dynamic R_X86_64_PC32 reloc against 'pendfunc1' which
2013 Jan 18
0
[LLVMdev] How to run SPEC200 benhmark in LLVM
Hi Unnikrishnan C, On 18/01/13 09:09, unni_c at csa.iisc.ernet.in wrote: > Hello, > > I want to run SPEC2000 benchmark in LLVM to check correctness of a llvm > module which I wrote. How to run SPEC2000 benchmark in LLVM? > > Unnikrishnan C do you know how to run LLVM's nightly testsuite? It has support for SPEC. When you configure LLVM you need to use --with-externals to
2010 Sep 22
4
[LLVMdev] Running gcc tests using Clang
I've run the tests from clang-tests/trunk/gcc-4_2-testsuite on a Ubuntu x86-64 Linux box with the following results: === gcc Summary === # of expected passes 29946 # of unexpected failures 9938 # of unexpected successes 29 # of expected failures 28 # of unresolved testcases 1451 # of untested testcases 273 # of unsupported tests 811 pid is 4456
2011 Jul 01
2
[LLVMdev] Reporting errors in inline assembly
I want to report a problem with an inline assembly instruction from a code generator pass? How can I do that with the proper diagnostic format and source location? Right now we only get: clang -c /d/g/clang-tests/gcc-4_2-testsuite/src/gcc.target/i386/pr30848.c fatal error: error in backend: Inline asm output regs must be last on the x87 stack But gcc-4-2 can: $ gcc-4.2 -c
2003 Jan 21
2
[patch] Two problems in testsuite (POSIX, perms)
Hello, Noticed a couple of problems with the rsync testsuite. I have included a possible patch for each problem (attached & inlined.) The first problem is that on OpenBSD when make test is run and tests are skipped you see messages like this: cat: "/tmp/rsync-2/rsync/testtmp.chown/whyskipped": No such file or directory SKIP chown () After my patch, you get the appropriate
2008 Mar 30
2
[LLVMdev] [Proposal] GSoC 2008 project proposal for improving the llvm-test testsuite
Hello every body, With the ideas and suggestions that I got from you all I came up with the proposal for the project of improving the llvm-test testsuite. I am posting my proposal here, if you have any feedback(anything to be added or anything to be removed ) please let me know, so that I can improve the proposal before I upload it in Google web app. Thanks in advance.! Regarda, Rjika *Proposal
2012 Dec 04
0
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
On Tue, Dec 04, 2012 at 10:36:18AM -0800, Alexander Potapenko wrote: > Currently the replacement of allocation routines is based on creating > a new malloc zone and a new CFAllocator (because the allocator > replacement is done later than it could be, we must have both). This > makes us depend on CoreFoundation to call CFAllocatorSetDefault. > Because of some bugs in CF which start
2010 Apr 22
2
RUnit bug?
There appears to be a bug in RUnit. Given a testsuite testsuite.math, say, when I run: runTestSuite(testsuite.math) this works fine, provided there are no extraneous files in the unit test subdirectory. But if there are any Emacs temp files (with names that end with '~') then runTestSuite gets confused and tries to run functions from the temp files as well. [[alternative HTML version
2010 Oct 02
0
[LLVMdev] Running gcc tests using Clang
Hi John, On Wed, Sep 22, 2010 at 11:32 AM, John Thompson <john.thompson.jtsoftware at gmail.com> wrote: > I've run the tests from clang-tests/trunk/gcc-4_2-testsuite on a Ubuntu > x86-64 Linux box with the following results: > >         === gcc Summary === > > # of expected passes        29946 > # of unexpected failures    9938 > # of unexpected successes    29
2012 Oct 18
2
[LLVMdev] DWARF 2/3 backwards compatibility?
On 10/18/2012 10:36 AM, David Blaikie wrote: > On Thu, Oct 18, 2012 at 12:48 AM, Renato Golin<rengolin at systemcall.org> wrote: >> On 18 October 2012 05:11, Rick Foos<rfoos at codeaurora.org> wrote: >>> I don't think GDB testsuite should block a commit, it can vary by a few >>> tests, they rarely if ever all pass 100%. Tracking the results over time
2007 Jan 17
8
Mocha Mock''s hanging on after test run?
Hi guys, I''m running mocha (0.3.2) against Rails core and just found an issue where the mock doesn''t go away after the test is run. For example: def test_reset_bang_doesn_reinstall_named_routes ActionController::Routing::Routes.named_routes.expects(:install).never @session.reset! end def test_zzz puts ActionController::Routing::Routes.named_routes.inspect
2008 Nov 12
0
[LLVMdev] Validating LLVM
On Nov 10, 2008, at 12:59 PM, David Greene wrote: > Back during the LLVM developer's meeting, I talked with some of you > about a > proposal to "validate" llvm. Now that 2.4 is almost out the door, > it seems a > good time to start that discussion. > > I've written up a detailed proposal and attached it to this > message. The goal > is to ease