diff options
author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-04 13:34:25 +0000 |
---|---|---|
committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-04 13:34:25 +0000 |
commit | ba587cde841db751f6f9c307798b538c761f54b6 (patch) | |
tree | ae6d082b270704c6b03ca5565fb4391a6d5b20b7 /libjava/testsuite | |
parent | cfb924646e436fb8f69de41289b898a64cd1c6b0 (diff) | |
download | gcc-ba587cde841db751f6f9c307798b538c761f54b6.tar.gz |
2008-03-03 Andrew Haley <aph@littlepinkcloud.com>
* testsuite/lib/libjava.exp (libjava_arguments): Use regexp
instead of string match when checking for linux targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132862 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite')
-rw-r--r-- | libjava/testsuite/lib/libjava.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp index 2cec1566965..523c69cacd0 100644 --- a/libjava/testsuite/lib/libjava.exp +++ b/libjava/testsuite/lib/libjava.exp @@ -380,7 +380,7 @@ proc libjava_arguments {{mode compile}} { global wrapper_file wrap_compile_flags lappend args "additional_flags=$wrap_compile_flags" - if { [string match "linux" $target_triplet] } { + if { [regexp "linux" $target_triplet] } { lappend args "additional_flags=-specs=libgcj-test.spec" } |