diff options
author | Martin Liska <mliska@suse.cz> | 2016-08-04 13:06:37 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-08-04 11:06:37 +0000 |
commit | 6805e400e901c1f6695b2cab0c647a0d367027c1 (patch) | |
tree | ea0fc63a3e70d3110c093777b510f5a2542acb30 /gcc | |
parent | 231b11697033ece8fa924c4c320bc92a806afba8 (diff) | |
download | gcc-6805e400e901c1f6695b2cab0c647a0d367027c1.zip gcc-6805e400e901c1f6695b2cab0c647a0d367027c1.tar.gz gcc-6805e400e901c1f6695b2cab0c647a0d367027c1.tar.bz2 |
Use TESTING_IN_BUILD_TREE in params.exp
* gcc.dg/params/params.exp: Replace file exists with
TESTING_IN_BUILD_TREE.
From-SVN: r239119
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/params/params.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b5d8ee5..b5ccb9a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-08-04 Martin Liska <mliska@suse.cz> + + * gcc.dg/params/params.exp: Replace file exists with + TESTING_IN_BUILD_TREE. + 2016-08-04 Marek Polacek <polacek@redhat.com> PR c++/70229 diff --git a/gcc/testsuite/gcc.dg/params/params.exp b/gcc/testsuite/gcc.dg/params/params.exp index 47f5af5..2eb797e 100644 --- a/gcc/testsuite/gcc.dg/params/params.exp +++ b/gcc/testsuite/gcc.dg/params/params.exp @@ -32,7 +32,7 @@ proc param_run_test { param_name param_value } { } set options_file "$objdir/../../params.options" -if { [file exists $options_file] == 0 } { +if { [info exists TESTING_IN_BUILD_TREE] == 0 } { return } |