Displaying 10 results from an estimated 10 matches for "new_line".
2010 Dec 09
0
[LLVMdev] Parallel testsuite run breaks
greened at obbligato.org (David A. Greene) writes:
> For now, I think if I tweak the way I do the build to always build
> without pointing to llvm-gcc first, build and test LLVM then build
> llvm-gcc and re-build LLVM, it should work. It will take much longer,
> though. :(
I updated the bug explaining what I'm seeing. I think the correct fix
is to use absolute paths to tools
2010 Dec 10
2
[LLVMdev] Parallel testsuite run breaks
...gt; is to use absolute paths to tools being tested rather than relying on
> PATH.
So I tried adding this to llvm.exp::substitute:
[...]
global llvmdsymutil valgrind grep gas bugpoint_topts llvmtoolsdir
[...]
# Replace references to llvm tools to tools in OBJDIR.
regsub -all {bugpoint } $new_line "$llvmtoolsdir/bugpoint " new_line
regsub -all {llc } $new_line "$llvmtoolsdir/llc " new_line
regsub -all {lli } $new_line "$llvmtoolsdir/lli " new_line
regsub -all {llvm-ar } $new_line "$llvmtoolsdir/llvm-ar " new_line
regsub -all {llvm-as } $new_lin...
2010 Dec 09
2
[LLVMdev] Parallel testsuite run breaks
Jason Kim <jasonwkim at google.com> writes:
>>> There is definitely something to this. If I take a random failing
>>> testcase and run the test in isolation in the shell, it works. So
>>> what, if anything, does lit/FileCheck/etc. do that might run
>>> interference if there is another copy of lit/FileCheck/etc. running
>>> at the same time? I
2009 Apr 21
0
Validate order lines on order creation (ActiveResource)
...0, then the PurchaseOrder
should never be created.
The problem is, I am not aware of the rails way of doing it :)
I started directing towards doing custom validation before after_create
with this code:
class PurchaseOrder < ActiveRecord::Base
has_many :purchase_order_lines
attr_accessor :new_lines
def lines=(_lines)
@new_lines ||= []
_lines.each do |_line_params|
puts _line_params.inspect
@new_lines << PurchaseOrderLine.new(_line_params)
end
end
after_create :store_lines
def store_lines
new_lines.each do |line|
line.purchase_order = self...
2003 Jun 27
0
dealing with renamed files
...re shell scripts
- Do filename escaping beforehand
- Provide Tar-like "-C" command line option
'
tmpfile=md5_rename_tmp
find -type f -print0 | xargs -0 md5sum > "$tmpfile"
for file in "$@" ; do
old_IFS="$IFS"
IFS='
'
for new_line in `cat "$file"` ; do
IFS="$old_IFS"
new_md5=`echo "$new_line" | cut -d' ' -f1`
new_pathname=`echo "$new_line" | cut -d' ' -f3-`
old_pathname=`grep -m1 "$new_md5" "...
2018 Nov 18
1
[Bug 1301] New: Feature Request - "add set", "add element" - automatically import element members from a file
...ilarly, for "add/delete element { <element_list> }", the format might simply
be "add/delete element { <file_path>, <element>, ... }".
Additionally, it would be convenient if nft would allow lists of elements in a
file to use alternate separators, such that <new_line> and <tab> characters, in
addition to comma, are acceptable. Lists are commonly provided using
separators other than comma, and it is convenient to not require conversion of
the file before use.
An incidental benefit of allowing nft to import long lists of elements directly
from external...
2015 Dec 02
3
[PATCH 0/3] [FOR COMMENTS ONLY] Rework inspection.
This is something I've been working on: Reworking inspection so it's
not a big mess of ad hoc C code, but instead uses a well-defined
domain-specific language to describe how we inspect guests.
The best introduction to this is the manual page, which I include
below (it's also included in patch 2/3).
Rich.
----------------------------------------------------------------------
NAME
2016 Feb 23
4
[PATCH v3 0/4] [FOR COMMENTS ONLY] Rework inspection.
Previously posted:
https://www.redhat.com/archives/libguestfs/2015-December/msg00038.html
Inspection now really succeeds on a small number of simple guests.
To test it out:
$ ./run guestfish -v -x -a /tmp/centos-6.img
><fs> run
><fs> debug sh "guestfs-inspection --verbose"
Rich.
2015 Dec 05
6
[PATCH 0/6 v2] [FOR COMMENTS ONLY] Rework inspection.
This is a more working version. Inspection (partially) succeeds on a
real guest this time :-)
You can test it out on a real guest (in this case, a CentOS disk image
located at /tmp/centos-6.img) by doing:
$ ./run guestfish -v -x -a /tmp/centos-6.img
><fs> run
><fs> debug sh "guestfs-inspection --verbose"
which will print lots of debugging, and at the end the
2016 Jan 21
8
[PATCH v3 0/6] [FOR COMMENTS ONLY] Rework inspection.
For background on this change, see:
https://rwmj.wordpress.com/2015/12/06/inspection-now-with-added-prolog/
v2 was previously posted here:
https://www.redhat.com/archives/libguestfs/2015-December/msg00038.html
To test this patch series on a real guest, you can do:
$ ./run guestfish -v -x -a /var/tmp/centos-6.img
><fs> run
><fs> debug sh "guestfs-inspection