This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PowerPC testsuite not to look for *.c*~ files


Hi!

On Wed, Nov 15, 2017 at 07:51:24PM -0500, Michael Meissner wrote:
> I was back-porting some changes to the IBM Advance Toolchain branch, and I was
> doing this via creating a patch file, and applying the patch output.  I tend to
> always use the -b option to patch to create a backup file.  I had new failures,
> since the new files the bfp, dfp, and vfu sub-directories created an empty
> *.c.~1~ file, and the .exp tried to run it as a test.  Since we don't have any
> non C files in those directories, I changed the test to just *.exp.  I verified
> that we get the same number of failures, successes, etc. with the patch applied
> and without it being applied.  Can I check this into the trunk?
> 
> [gcc/testsuite]
> 2017-11-15  Michael Meissner  <meissner@linux.vnet.ibm.com>
> 
> 	* gcc.target/powerpc/bfp/bfp.exp: Look for *.c files, not *.c*
> 	files to prevent ~ files from getting recognized.
> 	* gcc.target/powerpc/dfp/dfp.exp: Likewise.
> 	* gcc.target/powerpc/vsu/vsu.exp: Likewise.

And these are the only three testsuites with this problem (in powerpc/), and
we do not have any *.c* files other than *.c .  Okay for trunk, thanks!


Segher


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]