selective set of tests in gcc-4.5.1 test suite


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users selective set of tests in gcc-4.5.1 test suite
# 1  
Old 11-04-2010
selective set of tests in gcc-4.5.1 test suite

Hi,

I am unable to run a selective set of tests in gcc-4.5.1 test suite.
I tried two runtest commands given below (output is also given below).
Can you please guide me how to run specific set of tests for example :
I would like to run only tests gcc.target/i386/avx-vaddpd-1.c and gcc.target/i386/avx-vaddpd-256-1.c ?


Command-1:This command runs 10 tests but does not run one the i mentioned gcc.target/i386/avx-vaddpd-1.c
Code:
$ cd gcc/testsuite 
$ runtest -tool_exec gcc --src-dir=. --tool gcc  i386.exp=gcc.target/i386/avx-vaddpd-1.c

Output:
WARNING: Couldn't find the global config file.
Test Run By root on Tue Jan 25 21:05:23 2011
Native configuration is x86_64-unknown-linux-gnu

=== gcc tests ===

Schedule of variations:
unix

Running target unix
Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target.
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.target/i386/i386.exp ...

=== gcc Summary ===

# of expected passes 10
/home/ganesh/gcc_test-suite/install_4_5_1/bin/gcc version 4.5.1 (GCC)

Command-2:This command runs all tests under i386 folder
Code:
$ runtest -tool_exec gcc --src-dir=gcc/testsuite --tool gcc  gcc.target/i386/i386.exp=gcc.target/i386/avx-vaddpd-1.c


Notes:
gcc version 4.5.1
GNU assembler version 2.20.1
OS: SLES10-SP1
-Thanks and regards,
Ganesh

Last edited by vbe; 11-04-2010 at 06:46 AM.. Reason: code tags pleae
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to check weather a string is like test* or test* ot *test* in if condition

How to check weather a string is like test* or test* ot *test* in if condition (5 Replies)
Discussion started by: johnjerome
5 Replies

2. Shell Programming and Scripting

Test on string containing spacewhile test 1 -eq 1 do read a $a if test $a = quitC then break fi d

This is the code: while test 1 -eq 1 do read a $a if test $a = stop then break fi done I read a command on every loop an execute it. I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test. For example echo hello. Now the... (1 Reply)
Discussion started by: Max89
1 Replies

3. Solaris

Installing gcc - recieve error message gcc : cannot execute

AIM- Install Oracle 11g on Solaris using VMWare Steps 1.Logged on as root 2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc 3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD 4.Copied files from CD to /usr/local/bin/gcc 5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies

4. Shell Programming and Scripting

test-and-set in bash

I'm not talking about the assembly instruction TAS, a better name could be check-and-set :) Anyway, is there a way to simplify the following if ; then VAR="something"; fi I have ~20 variables that should be test-and-set like this, and it really looks lame. (2 Replies)
Discussion started by: rayne
2 Replies
Login or Register to Ask a Question