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 }