aboutsummaryrefslogtreecommitdiff
path: root/lib/dg.exp
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2018-12-08 00:09:42 +1100
committerBen Elliston <bje@gnu.org>2018-12-08 00:09:42 +1100
commitb3d43d3be8208272573563943690fff25ee50c8f (patch)
tree7245bff4e6eb16bd95c5c9ecfc65bd76241a8a7e /lib/dg.exp
parent4c9fa60d34fce9f5df2a48b6e025a8a2c0ac3acd (diff)
downloaddejagnu-b3d43d3be8208272573563943690fff25ee50c8f.zip
dejagnu-b3d43d3be8208272573563943690fff25ee50c8f.tar.gz
dejagnu-b3d43d3be8208272573563943690fff25ee50c8f.tar.bz2
* runtest.exp, lib/utils.exp, lib/target.exp, lib/ssh.exp,
lib/rsh.exp, lib/rlogin.exp, lib/remote.exp, lib/libgloss.exp, lib/framework.exp, lib/dg.exp, lib/dejagnu.exp, config/vxworks.exp, config/unix.exp, config/sim.exp, config/gdb_stub.exp, config/gdb-comm.exp, config/adb.exp, baseboards/multi-sim.exp, baseboards/cris-sim.exp, baseboards/basic-sim.exp, baseboards/basic-sid.exp, baseboards/androideabi.exp, testsuite/runtest.all/load_lib.exp, testsuite/libdejagnu/tunit.exp: Replace empty string comparisons using == and != with 'eq' and 'ne'.
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::*" {