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
9a8467e9
Commit
9a8467e9
authored
Aug 31, 1998
by
Nick Clifton
Committed by
Nick Clifton
Aug 31, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for torture_eval_before_compile and torture_eval_before_execute
variables. From-SVN: r22139
parent
3ae32cb7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
gcc/testsuite/ChangeLog
+6
-0
gcc/testsuite/lib/c-torture.exp
+17
-0
No files found.
gcc/testsuite/ChangeLog
View file @
9a8467e9
Mon Aug 31 15:19:32 1998 Nick Clifton <nickc@cygnus.com>
* lib/c-torture.exp: Add support for
torture_eval_before_compile and torture_eval_before_execute
variables.
Sun Aug 30 17:38:20 1998 Jeffrey A Law (law@cygnus.com)
Sun Aug 30 17:38:20 1998 Jeffrey A Law (law@cygnus.com)
* gcc.dg/980626-1.c: Delete this test. We've declared the warning
* gcc.dg/980626-1.c: Delete this test. We've declared the warning
...
...
gcc/testsuite/lib/c-torture.exp
View file @
9a8467e9
...
@@ -184,6 +184,13 @@ proc c-torture-execute { src args } {
...
@@ -184,6 +184,13 @@ proc c-torture-execute { src args } {
if [info exists torture_compile_xfail] {
if [info exists torture_compile_xfail] {
setup_xfail $torture_compile_xfail
setup_xfail $torture_compile_xfail
}
}
# torture_execute_before_{compile,execute} can be set by the .x script
# (if present)
if [info exists torture_eval_before_compile] {
set ignore_me [eval $torture_eval_before_compile]
}
remote_file build delete $execname;
remote_file build delete $execname;
verbose "Testing $testcase, $option" 1
verbose "Testing $testcase, $option" 1
...
@@ -252,6 +259,11 @@ proc c-torture-execute { src args } {
...
@@ -252,6 +259,11 @@ proc c-torture-execute { src args } {
if [info exists torture_execute_xfail] {
if [info exists torture_execute_xfail] {
setup_xfail $torture_execute_xfail
setup_xfail $torture_execute_xfail
}
}
if [info exists torture_eval_before_execute] {
set ignore_me [eval $torture_eval_before_execute]
}
set skip 0;
set skip 0;
if [info exists oldexec] {
if [info exists oldexec] {
if { [remote_file build cmp $oldexec $execname] == 0 } {
if { [remote_file build cmp $oldexec $execname] == 0 } {
...
@@ -343,6 +355,11 @@ proc c-torture { args } {
...
@@ -343,6 +355,11 @@ proc c-torture { args } {
setup_xfail $torture_compile_xfail
setup_xfail $torture_compile_xfail
}
}
# torture_execute_before_compile is set by the .x script (if present)
if [info exists torture_eval_before_compile] {
set ignore_me [eval $torture_eval_before_compile]
}
c-torture-compile $src "$option $options"
c-torture-compile $src "$option $options"
}
}
}
}
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