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

Need help for gcc testing


Hi,

I need help regarding gcc testing using dejagnu.
I saw your postings on the web. It will be of great
help if you can give me some info regarding how to go
about.

1. I have installed gcc, dejagnu on Red Hat linux.
2.i could run gcc tests both locally remotely. 
Local test : runtest --srcdir ./testsuite --tool gcc
Remote test:runtet --srcdir ./testsuite
--target_board=gcc-target --tool gcc

- this works fine
3. I have no problem with the existing gcc (gcc3.3.2)
which is in usr/bin path

4. I have made some changes to gcc and compiled, i
want to test changed gcc.
My new gcc is gcc-new, i copied to usr/bin folder.


5. i want to use this gcc-new for testing . How to do
this ?

6. i followed different methods as dejagnu docs, still
by default dejagnu tool is taking older gcc and
executing. Not getting any error also.

Method 1 : 
set CC=gcc-new
export CC
runtest --srcdir ./testsuite --tool gcc

Method 2 (some doc suggest GCC=binname):
set CC=gcc-new
export CC
runtest GCC=gcc-new --srcdir ./testsuite --tool gcc

Method 3:
set CC=gcc-new
export CC
runtest GCC=/fullpath/gcc-new --srcdir ./testsuite
--tool gcc

Method 4 (try to set CC in the command line):
runtest CC=/fullpath/gcc-new --srcdir ./testsuite
--tool gcc

Method 5 (try to set CC in the command line):
runtest CC=gcc-new --srcdir ./testsuite --tool gcc

Method 6 :
tried to CC in local site.exp file, this file in my
current directory.
set CC "/fullpath/gcc-new"

In all cases dejagnu tool is taking default gcc i.e.,
usr/bin/gcc and executing.

how to change this ? Please help me.
Regards
Mamatha

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you?re looking for faster
http://search.yahoo.com


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