]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000/test: Make ppc-fortran.exp only available for PowerPC target
authorKewen Lin <linkw@linux.ibm.com>
Wed, 11 Jan 2023 12:59:24 +0000 (06:59 -0600)
committerKewen Lin <linkw@linux.ibm.com>
Wed, 11 Jan 2023 12:59:24 +0000 (06:59 -0600)
commitde99049f6fe5341024d4d939ac50d063280f90db
treec1c9622f72e20960939c8fb4c7a66b12a064edcb
parent6224db0e4d6d3bd91cbf1767a971d4be86a39c55
rs6000/test: Make ppc-fortran.exp only available for PowerPC target

When testing one patch which adds a fortran test case into
test bucket powerpc/ppc-fortran/, I found one unexpected
failure on a non-PowerPC target.  It's due to that
ppc-fortran.exp does not exit early if the testing target
isn't a PowerPC target.  This patch is to make it exit
immediately if the testing target isn't a PowerPC target.

gcc/testsuite/ChangeLog:

* gcc.target/powerpc/ppc-fortran/ppc-fortran.exp: Exit immediately if
the testing target isn't a PowerPC target.
gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp