Hello, I'm having a trivial question that I could not find the answer anywhere. I'm using cygwin and trying to run gcc.c-torture testsuite. The testsuite is downloaded as part of the gcc-4.8.1 source (at /cygdrive/c/Temp/gcc-4.8.1/)
I've have tried may things, only one seems to get the something running: it if when I cd to /cygdrive/c/Temp/gcc-4.8.1/gcc/testsuite/ and do a "runtest --tool gcc", but then it runs all the test suites (all torture/compile tests failed though, please see output at the end of this mail, but that's another story). If I just want to run the gcc.c-torture test suites or just gcc.c-torture/compile test suite. What is the correct way(s) to do that? "runtest --tool gcc -srcdir gcc.c-torture" didn't run anything: tqhoang@AZHA1 /cygdrive/c/Temp/gcc-4.8.1/gcc/testsuite $ runtest --tool gcc --srcdir gcc.c-torture WARNING: Couldn't find the global config file. WARNING: Couldn't find tool init file Test Run By tqhoang on Thu Jun 13 10:02:09 2013 Native configuration is i686-pc-cygwin === gcc tests === Schedule of variations: unix Running target unix Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for targ et. Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target. Using gcc.c-torture/../config/default.exp as tool-and-target-specific interface file. === gcc Summary === tqhoang@AZHA1 /cygdrive/c/Temp/gcc-4.8.1/gcc/testsuite I apologize if I've overlooked existing answers somewhere and thank you for bearing with me Regards, Tuyen tqhoang@AZHA1 /cygdrive/c/Temp/gcc-4.8.1/gcc/testsuite $ runtest --tool gcc WARNING: Couldn't find the global config file. Test Run By tqhoang on Thu Jun 13 10:15:45 2013 Native configuration is i686-pc-cygwin === gcc tests === Schedule of variations: unix Running target unix Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for targ et. Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target. Using ./config/default.exp as tool-and-target-specific interface file. Running ./gcc.c-torture/compile/compile.exp ... FAIL: gcc.c-torture/compile/20000314-2.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/20000314-2.c -O1 (test for excess errors) FAIL: gcc.c-torture/compile/20000314-2.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/20000314-2.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/20000314-2.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/20000314-2.c -Os (test for excess errors) FAIL: gcc.c-torture/compile/20011106-2.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/20011106-2.c -O1 (test for excess errors) FAIL: gcc.c-torture/compile/20011106-2.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/20011106-2.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/20011106-2.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/20011106-2.c -Os (test for excess errors) FAIL: gcc.c-torture/compile/20011109-1.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/20011109-1.c -O1 (test for excess errors) FAIL: gcc.c-torture/compile/20011109-1.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/20011109-1.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/20011109-1.c -O3 -fomit-frame-pointer -funroll-loops (t est for excess errors) FAIL: gcc.c-torture/compile/20011109-1.c -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors) FAIL: gcc.c-torture/compile/20011109-1.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/20011109-1.c -Os (test for excess errors) FAIL: gcc.c-torture/compile/20011114-1.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/20011114-1.c -O1 (test for excess errors) FAIL: gcc.c-torture/compile/20011114-1.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/20011114-1.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/20011114-1.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/20011114-1.c -Os (test for excess errors) FAIL: gcc.c-torture/compile/20011114-2.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/20011114-2.c -O1 (test for excess errors) FAIL: gcc.c-torture/compile/20011114-2.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/20011114-2.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/20011114-2.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/20011114-2.c -Os (test for excess errors) FAIL: gcc.c-torture/compile/20011114-3.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/20011114-3.c -O1 (test for excess errors) FAIL: gcc.c-torture/compile/20011114-3.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/20011114-3.c -O3 -fomit-frame-pointer (test for excess errors) FAIL: gcc.c-torture/compile/20011114-3.c -O3 -fomit-frame-pointer -funroll-loops (t est for excess errors) FAIL: gcc.c-torture/compile/20011114-3.c -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors) FAIL: gcc.c-torture/compile/20011114-3.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/20011114-3.c -Os (test for excess errors) FAIL: gcc.c-torture/compile/20011114-4.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/20011114-4.c -O1 (test for excess errors) got a INT signal, interrupted by user === gcc Summary === # of unexpected failures 42 /usr/bin/gcc version 4.3.4 20090804 (release) 1 (GCC) **** GN GROUP NOTICE - AUTOMATICALLY INSERTED **** The information in this e-mail (including attachments, if any) is considered confidential and is intended only for the recipient(s) listed above. Any review, use, disclosure, distribution or copying of this e-mail is prohibited except by or on behalf of the intended recipient. If you have received this email in error, please notify me immediately by reply e-mail, delete this e-mail, and do not disclose its contents to anyone. Any opinions expressed in this e-mail are those of the individual and not necessarily the GN group. Thank you. ******************** DISCLAIMER END ************************
_______________________________________________ DejaGnu mailing list DejaGnu@gnu.org https://lists.gnu.org/mailman/listinfo/dejagnu