This is the mail archive of the gcc-bugs@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]

[Bug testsuite/72757] New: atomic test don't run with RUNTESTFLAGS=atomic.exp


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72757

            Bug ID: 72757
           Summary: atomic test don't run with RUNTESTFLAGS=atomic.exp
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

The Testing section of the GCC manual (https://gcc.gnu.org/install/test.html)
shows examples of setting the RUNTESTFLAGS variable to one of the .exp files in
the GCC test suite invoke a subset of GCC tests.  This works fine for many .exp
files but not for atomic.exp.  None of the C atomic tests run when make is
invoked with RUNTESTFLAGS=atomic.exp:

$ nice make -C /build/gcc-trunk-svn/gcc check-c RUNTESTFLAGS='atomic.exp'
make: Entering directory '/build/gcc-trunk-svn/gcc'
rm -rf testsuite/gcc-parallel
make[1]: Entering directory '/build/gcc-trunk-svn/gcc'
(rootme=`${PWDCMD-pwd}`; export rootme; \
srcdir=`cd /src/gcc-svn/gcc; ${PWDCMD-pwd}` ; export srcdir ; \
if [ -n "" ] \
   && [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] \
   && [ -f testsuite/gcc-parallel/finished ]; then \
  rm -rf testsuite/gcc; \
else \
  cd testsuite/gcc; \
  rm -f tmp-site.exp; \
  sed '/set tmpdir/ s|testsuite$|testsuite/gcc|' \
        < ../../site.exp > tmp-site.exp; \
  /bin/sh ${srcdir}/../move-if-change tmp-site.exp site.exp; \
  EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo
${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ; \
  if [ -f ${rootme}/../expect/expect ] ; then  \
    TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWDCMD-pwd}` ; \
    export TCL_LIBRARY ; \
  fi ; \
  `if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo
${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool gcc atomic.exp; \
  if [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] ; then \
    touch ${rootme}/testsuite/gcc-parallel/finished; \
  fi ; \
fi )
Reading ~/.dejagnurc
WARNING: Couldn't find the global config file.
Test Run By msebor on Fri Jul 29 19:30:30 2016
Native configuration is x86_64-pc-linux-gnu

                === gcc tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /src/gcc-svn/gcc/testsuite/config/default.exp as tool-and-target-specific
interface file.
Running /src/gcc-svn/gcc/testsuite/gcc.dg/atomic/atomic.exp ...

                === gcc Summary ===

/build/gcc-trunk-svn/gcc/xgcc  version 7.0.0 20160726 (experimental) (GCC) 

make[1]: Leaving directory '/build/gcc-trunk-svn/gcc'
make: Leaving directory '/build/gcc-trunk-svn/gcc'

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