Jonathan Wakely wrote on 07/06/2018 02:20 PM:
On Fri, 6 Jul 2018 at 11:46, U.Mutlu <um@xxxxxxxxxxx> wrote:
Hello CL,
[as said, I'm new to the gcc testsuite, much like you, so take my answer with
grain of salt, or so to say :-)]
In your original posting you had this failing example:
'FAIL: g++.dg/pr80481.C -std=gnu++14 scan-assembler-not vmovaps'
The test source file pr80481.C is in the source directory under:
$ find ../gcc_trunk/ -iname "pr80481.C" -print
../gcc_trunk/gcc/testsuite/g++.dg/pr80481.C
and is handled by the make-target "check-c++" (see the log file of "make -k
check"; you have to save that log file for reference & searching...).
Nope, see my previous email:
https://gcc.gnu.org/ml/gcc-help/2018-07/msg00020.html
So, now in the next step you have to make the following test that will
test just the "check-c++" category of the tests but with the additional
flags "RUNTESTFLAGS="-v -v" as it will give more verbosity in the log file:
make -k check-c++ RUNTESTFLAGS="-v -v"
And again redirect the output into a log file for analysis.
Look in $builddir/gcc/testsuite/g++/g++.log which already has the info
you need, and why it failed.
I see, thx, but there is only the following short log excerpt with
no indication of any "error: " entries for the said FAIL case.
Is this maybe caused by the fact that I used "make -j ...",
ie. is the log file maybe "garbled" by the many threads, and
the "error: " entries are somewhere outside of this range below?
Testing g++.dg/pr80481.C, -std=gnu++14
replacement dg-process-target: `{ target { i?86-*-* x86_64-*-* } && { !
*-*-solaris* } }'
dg-process-target-1: `{target { i?86-*-* x86_64-*-* } && { ! *-*-solaris* }}'
replacement dg-process-target: `{target i?86-*-* x86_64-*-*}'
dg-process-target-1: `{target i?86-*-* x86_64-*-*}'
selector_list: ` i?86-*-* x86_64-*-* ' 1
selector_expression: ` i?86-*-* x86_64-*-* ' 1
/data/sw/src/gcc_dev/my_build_dir_for_gcc/x86_64-linux-gnu/./libio/_G_config.h
/data/sw/src/gcc_dev/my_build_dir_for_gcc/x86_64-linux-gnu/libio/_G_config.h
/data/sw/src/gcc_dev/my_build_dir_for_gcc/libio/_G_config.h
/data/sw/src/gcc_dev/libio/_G_config.h
/data/sw/src/gcc_dev/my_build_dir_for_gcc/x86_64-linux-gnu/./libio/iostream.list
/data/sw/src/gcc_dev/my_build_dir_for_gcc/x86_64-linux-gnu/libio/iostream.list
/data/sw/src/gcc_dev/my_build_dir_for_gcc/libio/iostream.list
/data/sw/src/gcc_dev/libio/iostream.list
/sw/src/gcc_dev/gcc_trunk/gcc/testsuite/libio/Makefile.in
/sw/src/gcc_dev/gcc_trunk/gcc/libio/Makefile.in
/sw/src/gcc_dev/gcc_trunk/libio/Makefile.in
/sw/src/gcc_dev/libio/Makefile.in
doing compile
Invoking the compiler as
/data/sw/src/gcc_dev/my_build_dir_for_gcc/gcc/testsuite/g++3/../../xg++
-B/data/sw/src/gcc_dev/my_build_dir_for_gcc/gcc/testsuite/g++3/../../
/sw/src/gcc_dev/gcc_trunk/gcc/testsuite/
Setting timeout to 300
Executing on host:
/data/sw/src/gcc_dev/my_build_dir_for_gcc/gcc/testsuite/g++3/../../xg++
-B/data/sw/src/gcc_dev/my_build_dir_for_gcc/gcc/testsuite/g++3/../../
/sw/src/gcc_dev/gcc_trunk/gcc/testsuite/g++.dg
spawn /data/sw/src/gcc_dev/my_build_dir_for_gcc/gcc/testsuite/g++3/../../xg++
-B/data/sw/src/gcc_dev/my_build_dir_for_gcc/gcc/testsuite/g++3/../../
/sw/src/gcc_dev/gcc_trunk/gcc/testsuite/g++.dg/pr80481.C -f
pid is 23149 -23149
waitres is 23149 exp8 0 0
output is status 0
Checking pattern "sparc-*-sunos*" with x86_64-pc-linux-gnu
Checking pattern "alpha*-*-*" with x86_64-pc-linux-gnu
Checking pattern "hppa*-*-hpux*" with x86_64-pc-linux-gnu
Checking pattern "sparc-*-sunos*" with x86_64-pc-linux-gnu
Checking pattern "alpha*-*-*" with x86_64-pc-linux-gnu
Checking pattern "hppa*-*-hpux*" with x86_64-pc-linux-gnu
PASS: g++.dg/pr80481.C -std=gnu++14 (test for excess errors)
FAIL: g++.dg/pr80481.C -std=gnu++14 scan-assembler-not vmovaps