Fix typo in effective-target check
authorJonathan Wakely <jwakely@redhat.com>
Wed, 10 Apr 2019 14:46:03 +0000 (15:46 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 10 Apr 2019 14:46:03 +0000 (15:46 +0100)
* testsuite/lib/libstdc++.exp (check_v3_target_parallel_mode): Fix
typo.

From-SVN: r270259

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/lib/libstdc++.exp

index 355e2d5137dd9e8112ee41e7239f69b25344bfc5..99986074413cd736b4c2d3bbafce4e6615d9b1ec 100644 (file)
@@ -1,5 +1,8 @@
 2019-04-10  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/lib/libstdc++.exp (check_v3_target_parallel_mode): Fix
+       typo.
+
        PR libstdc++/89851
        * testsuite/20_util/variant/89851.cc: New test.
 
index 5a12ac0242d1eeabdc3801bd0e60d9c9ac41e503..d0efc90a1baa391737d29b38f6067d6a5ecbf8b7 100644 (file)
@@ -1048,7 +1048,7 @@ proc check_v3_target_parallel_mode { } {
        global v3-libgomp
        # If 'make check-parallel' is running the test succeeds.
        if { ${v3-libgomp} == 1 && [regexp "libgomp" $cxxflags] } {
-           return1 1
+           return 1
        }
        return 0
     }]