From: Martin Liska Date: Thu, 4 Aug 2016 11:06:37 +0000 (+0200) Subject: Use TESTING_IN_BUILD_TREE in params.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6805e400e901c1f6695b2cab0c647a0d367027c1;p=gcc.git Use TESTING_IN_BUILD_TREE in params.exp * gcc.dg/params/params.exp: Replace file exists with TESTING_IN_BUILD_TREE. From-SVN: r239119 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b5d8ee5dc33..b5ccb9a25a1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-08-04 Martin Liska + + * gcc.dg/params/params.exp: Replace file exists with + TESTING_IN_BUILD_TREE. + 2016-08-04 Marek Polacek PR c++/70229 diff --git a/gcc/testsuite/gcc.dg/params/params.exp b/gcc/testsuite/gcc.dg/params/params.exp index 47f5af599a2..2eb797eb51d 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 }