New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
op/lex_assign FAILED at test 149 #1696
Comments
From root@paranormal.o.seThis is a bug report for perl from jonas@paranormal.o.se, op/lex_assign........FAILED at test 149 But running ./perl harness doesn't find a problem: op/lex_assign.......ok Rerunning 'make test' also works fine. './perl op/groups.t' also goes well. But rerunning 'make test' the third time gives the same result: op/lex_assign........FAILED at test 149 Everything else seems to be working fine. Flags: Site configuration information for perl v5.6.0: Configured by jonas at Sat Apr 1 02:14:50 CEST 2000. Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration: Locally applied patches: @INC for perl v5.6.0: Environment for perl v5.6.0: |
From [Unknown Contact. See original ticket]root@paranormal.o.se (lists.p5p):
Thank gosh. I was starting to think it was my imagination. |
From [Unknown Contact. See original ticket]root writes:
I'm not sure that this would give better diagnostic in this situation: Inline Patch--- ./t/op/lex_assign.t~ Tue Feb 15 11:40:21 2000
+++ ./t/op/lex_assign.t Sat Apr 1 14:21:10 2000
@@ -112,11 +112,12 @@ for (@INPUT) {
$ord++;
($op, undef, $comment) = /^([^\#]+)(\#\s+(.*))?/;
$comment = $op unless defined $comment;
+ chomp;
$op = "$op==$op" unless $op =~ /==/;
($op, $expectop) = $op =~ /(.*)==(.*)/;
$skip = ($op =~ /^'\?\?\?'/ or $comment =~ /skip\(.*\Q$^O\E.*\)/i)
- ? "skip" : "not";
+ ? "skip" : "# '$_'\nnot";
$integer = ($comment =~ /^i_/) ? "use integer" : '' ;
(print "#skipping $comment:\nok $ord\n"), next if $skip eq 'skip';
@@ -137,7 +138,7 @@ EOE
print "# skipping $comment: unimplemented:\nok $ord\n";
} else {
warn $@;
- print "not ok $ord\n";
+ print "# '$_'\nnot ok $ord\n";
}
}
}
@@ -146,6 +147,7 @@ for (@simple_input) {
$ord++;
($op, undef, $comment) = /^([^\#]+)(\#\s+(.*))?/;
$comment = $op unless defined $comment;
+ chomp;
($operator, $variable) = /^\s*(\w+)\s*\$(\w+)/ or warn "misprocessed '$_'\n";
eval <<EOE;
local \$SIG{__WARN__} = \\&wrn;
@@ -164,7 +166,7 @@ EOE
print "# skipping $comment: syntax not good for selfassign:\nok $ord\n";
} else {
warn $@;
- print "not ok $ord\n";
+ print "# '$_'\nnot ok $ord\n";
}
}
} |
From [Unknown Contact. See original ticket]root writes:
In fact 149 can be de-indexed: it is sleep(1). Apparently, it may Ilya |
From @smpeters
Not a problem? OK, closing :) |
@smpeters - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#2942 (status was 'resolved')
Searchable as RT2942$
The text was updated successfully, but these errors were encountered: