Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
9dfc74a3
Commit
9dfc74a3
authored
Feb 12, 2004
by
Nathaniel Smith
Committed by
Mark Mitchell
Feb 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lib/scanasm.exp (dg-scan): Quote pattern before display.
From-SVN: r77715
parent
7ea98c5a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/lib/scanasm.exp
+6
-3
No files found.
gcc/testsuite/ChangeLog
View file @
9dfc74a3
2004-02-12 Nathaniel Smith <njs@codesourcery.com>
* lib/scanasm.exp (dg-scan): Quote pattern before display.
2004-02-12 Hartmut Penner <hpenner@de.ibm.com>
2004-02-12 Hartmut Penner <hpenner@de.ibm.com>
* g++.dg/simd-2.C: xfail on ppc64-linux.
* g++.dg/simd-2.C: xfail on ppc64-linux.
...
...
gcc/testsuite/lib/scanasm.exp
View file @
9dfc74a3
...
@@ -48,11 +48,14 @@ proc dg-scan { name positive testcase output_file orig_args } {
...
@@ -48,11 +48,14 @@ proc dg-scan { name positive testcase output_file orig_args } {
set text [read $fd]
set text [read $fd]
close $fd
close $fd
set match [regexp -- [lindex $orig_args 0] $text]
set pattern [lindex $orig_args 0]
set printable_pattern [string map {\t \\t \n \\n \r \\r \\ \\\\} $pattern]
set match [regexp -- $pattern $text]
if { $match == $positive } {
if { $match == $positive } {
pass "$testcase $name
[lindex $orig_args 0]
"
pass "$testcase $name
$printable_pattern
"
} else {
} else {
fail "$testcase $name
[lindex $orig_args 0]
"
fail "$testcase $name
$printable_pattern
"
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment