aboutsummaryrefslogtreecommitdiff
path: root/lib/dg.exp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dg.exp')
-rw-r--r--lib/dg.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dg.exp b/lib/dg.exp
index eacbe45..5232d2a 100644
--- a/lib/dg.exp
+++ b/lib/dg.exp
@@ -629,7 +629,7 @@ proc dg-test { args } {
# We append the compilation flags, if any, to ensure that the test case
# names are unique.
- if { "$tool_flags" != "" } {
+ if { "$tool_flags" ne "" } {
set name "$name $tool_flags"
}
@@ -751,7 +751,7 @@ proc dg-test { args } {
# Remove messages from the tool that we can ignore.
set comp_output [prune_warnings $comp_output]
- if { [info procs ${tool}-dg-prune] != "" } {
+ if { [info procs ${tool}-dg-prune] ne "" } {
set comp_output [${tool}-dg-prune $target_triplet $comp_output]
switch -glob -- $comp_output {
"::untested::*" {