This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/28123] New: gcc.dg/cpp/_Pragma3.c is sensitive to timestamps
- From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jun 2006 14:53:43 -0000
- Subject: [Bug testsuite/28123] New: gcc.dg/cpp/_Pragma3.c is sensitive to timestamps
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I got a failure on the cc.dg/cpp/_Pragma3.c test:
Executing on host: /mnt/scratch/nightly/2006-06-20/sh-elf/gcc/xgcc
-B/mnt/scratch/nightly/2006-06-20/sh-elf/gcc/
/mnt/scratch/nightly/2006-06-20/srcw/gcc/testsuite/gcc.dg/cpp/_Pragma3.c
-ansi -pedantic-errors -DSTACK_SIZE=16384 -fno-show-column -E -isystem
/mnt/scratch/nightly/2006-06-20/sh-elf/sh-elf/./newlib/targ-include -isystem
/mnt/scratch/nightly/2006-06-20/srcw/newlib/libc/include -o _Pragma3.i
(timeout = 300)
/mnt/scratch/nightly/2006-06-20/srcw/gcc/testsuite/gcc.dg/cpp/_Pragma3.c:11:
warning: current file is older than mi1c.h^M
output is:
/mnt/scratch/nightly/2006-06-20/srcw/gcc/testsuite/gcc.dg/cpp/_Pragma3.c:11:
warning: current file is older than mi1c.h^M
FAIL: gcc.dg/cpp/_Pragma3.c (test for excess errors)
Excess errors:
/mnt/scratch/nightly/2006-06-20/srcw/gcc/testsuite/gcc.dg/cpp/_Pragma3.c:11:
warning: current file is older than mi1c.h
The timestamps of the two files in question are one second apart:
bash-2.05b$ ls -l --full-time _Pragma3.c mi1c.h
-rw-r--r-- 1 renneckej users 214 2006-06-20 14:36:46.000000000 +0100
mi1c.h
-rw-r--r-- 1 renneckej users 309 2006-06-20 14:36:45.000000000 +0100
_Pragma3.c
It would appear that this tests success requires that either _Pragma3.c is
checked out after mi1c.h, or both are checked out simultanously as far as the
file system is concerned.
--
Summary: gcc.dg/cpp/_Pragma3.c is sensitive to timestamps
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: amylaar at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28123