OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5078131
)
* lib/gas-defs.exp (run_dump_test): If the test expects an error,
author
nickc
<nickc>
Fri, 5 Sep 2008 11:19:13 +0000
(11:19 +0000)
committer
nickc
<nickc>
Fri, 5 Sep 2008 11:19:13 +0000
(11:19 +0000)
fail the test if gas doesn't report an error.
gas/testsuite/ChangeLog
patch
|
blob
|
history
gas/testsuite/lib/gas-defs.exp
patch
|
blob
|
history
diff --git
a/gas/testsuite/ChangeLog
b/gas/testsuite/ChangeLog
index
115944b
..
f023ba9
100644
(file)
--- a/
gas/testsuite/ChangeLog
+++ b/
gas/testsuite/ChangeLog
@@
-1,3
+1,8
@@
+2008-09-04 Christian Groessler <chris@groessler.org>
+
+ * lib/gas-defs.exp (run_dump_test): If the test expects an error,
+ fail the test if gas doesn't report an error.
+
2008-08-28 Jan Beulich <jbeulich@novell.com>
* gas/i386/intel.s: Add retf.
diff --git
a/gas/testsuite/lib/gas-defs.exp
b/gas/testsuite/lib/gas-defs.exp
index
af9f565
..
512dbaa
100644
(file)
--- a/
gas/testsuite/lib/gas-defs.exp
+++ b/
gas/testsuite/lib/gas-defs.exp
@@
-690,6
+690,10
@@
proc run_dump_test { name {extra_options {}} } {
return
}
}
+ } else {
+ if { $opts(error) != "" || $opts(error-output) != "" } {
+ fail $testname
+ }
}
if { $program == "" } {