Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
7276d368
Commit
7276d368
authored
Feb 26, 2007
by
Dominique d'Humieres
Committed by
Gerald Pfeifer
Feb 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* test_installed: Adjust to the move from g77 to gfortran.
From-SVN: r122340
parent
b2f4bed8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
13 deletions
+17
-13
contrib/ChangeLog
+4
-0
contrib/test_installed
+13
-13
No files found.
contrib/ChangeLog
View file @
7276d368
2007
-
02
-
26
Dominique
Dhumieres
<
dominiq
@lps
.
ens
.
fr
>
*
test_installed
:
Adjust
to
the
move
from
g77
to
gfortran
.
2007
-
02
-
16
Matthias
Klose
<
doko
@debian
.
org
>
*
texi2pod
.
pl
:
Handle
@subsubsection
,
ignore
@anchor
.
...
...
contrib/test_installed
View file @
7276d368
#! /bin/sh
# (C) 1998, 2000, 2002, 2003 Free Software Foundation
# (C) 1998, 2000, 2002, 2003
, 2007
Free Software Foundation
# Originally by Alexandre Oliva <oliva@dcc.unicamp.br>
# This script is Free Software, and it can be copied, distributed and
...
...
@@ -16,12 +16,12 @@
# will be appended to the srcdir.
# You may specify where the binaries to be tested should be picked up
# from. If you specify --prefix=/some/dir, gcc, g++ and g
77
will be
# from. If you specify --prefix=/some/dir, gcc, g++ and g
fortran
will be
# looked for at /some/dir/bin. Each one may be overridden by
# specifying --with-gcc=/pathname/to/gcc, --with-g++=/pathname/to/g++
# and --with-g
77=/pathname/to/g77
. If you specify --without-gcc,
# --without-g++ or --without-g
77
, the test for the specified program
# will be skipped. By default, gcc, g++ and g
77
will be searched in
# and --with-g
fortran=/pathname/to/gfortran
. If you specify --without-gcc,
# --without-g++ or --without-g
fortran
, the test for the specified program
# will be skipped. By default, gcc, g++ and g
fortran
will be searched in
# the PATH.
# An additional argument may specify --tmpdir=/some/dir; by default,
...
...
@@ -50,16 +50,16 @@ while true; do
--prefix
=
*
)
prefix
=
`
echo
"
$1
"
| sed
's/[^=]*=//'
`
;
shift
;;
--with-gcc
=
*
)
GCC_UNDER_TEST
=
`
echo
"
$1
"
| sed
's/[^=]*=//'
`
;
shift
;;
--with-g
++
=
*
)
GXX_UNDER_TEST
=
`
echo
"
$1
"
| sed
's/[^=]*=//'
`
;
shift
;;
--with-g
77
=
*
)
G77
_UNDER_TEST
=
`
echo
"
$1
"
| sed
's/[^=]*=//'
`
;
shift
;;
--with-g
fortran
=
*
)
GFORTRAN
_UNDER_TEST
=
`
echo
"
$1
"
| sed
's/[^=]*=//'
`
;
shift
;;
--without-gcc
)
GCC_UNDER_TEST
=
no
;
shift
;;
--without-g
++
)
GXX_UNDER_TEST
=
no
;
shift
;;
--without-g
77
)
G77
_UNDER_TEST
=
no
;
shift
;;
--without-g
fortran
)
GFORTRAN
_UNDER_TEST
=
no
;
shift
;;
--without-objc
)
OBJC_UNDER_TEST
=
no
;
shift
;;
--tmpdir
=
*
)
tmpdir
=
`
echo
"
$1
"
| sed
's/[^=]*=//'
`
;
shift
;;
--help
)
cat
<<
\
EOF
Runs the testsuite for an installed version of gcc/g++/g
77
/objc
Runs the testsuite for an installed version of gcc/g++/g
fortran
/objc
Copyright (C) 1998 Free Software Foundation
by Alexandre Oliva <oliva@dcc.unicamp.br>
...
...
@@ -71,13 +71,13 @@ Supported arguments:
--srcdir=/some/dir same as --with-testsuite=/some/dir/gcc/testsuite
[deduced from shell-script pathname]
--prefix=/some/dir use gcc, g++ and g
77
from /some/dir/bin [PATH]
--prefix=/some/dir use gcc, g++ and g
fortran
from /some/dir/bin [PATH]
--with-gcc=/some/dir/bin/gcc use specified gcc program [gcc]
--with-g++=/some/dir/bin/g++ use specified g++ program [g++]
--with-g
77=/some/dir/bin/g77 use specified g77 program [g77
]
--with-g
fortran=/some/dir/bin/gfortran use specified gfortran program [gfortran
]
--without-gcc do not run gcc testsuite
--without-g++ do not run g++ testsuite
--without-g
77 do not run g77
testsuite
--without-g
fortran do not run gfortran
testsuite
--without-objc do not run objc testsuite
--tmpdir=/some/dir create temporaries and leave failed programs
...
...
@@ -109,13 +109,13 @@ set CFLAGS ""
set CXXFLAGS ""
set GCC_UNDER_TEST "
${
GCC_UNDER_TEST
-
${
prefix
}${
prefix
+/bin/
}
gcc
}
"
set GXX_UNDER_TEST "
${
GXX_UNDER_TEST
-
${
prefix
}${
prefix
+/bin/
}
g
++
}
"
set G
77_UNDER_TEST "
${
G77_UNDER_TEST
-
${
prefix
}${
prefix
+/bin/
}
g77
}
"
set G
FORTRAN_UNDER_TEST "
${
GFORTRAN_UNDER_TEST
-
${
prefix
}${
prefix
+/bin/
}
gfortran
}
"
set OBJC_UNDER_TEST "
${
OBJC_UNDER_TEST
-
${
prefix
}${
prefix
+/bin/
}
gcc
}
"
EOF
test
x
"
${
GCC_UNDER_TEST
}
"
=
x
"no"
||
runtest
--tool
gcc
${
1
+
"
$@
"
}
test
x
"
${
GXX_UNDER_TEST
}
"
=
x
"no"
||
runtest
--tool
g++
${
1
+
"
$@
"
}
test
x
"
${
G
77_UNDER_TEST
}
"
=
x
"no"
||
runtest
--tool
g77
${
1
+
"
$@
"
}
test
x
"
${
G
FORTRAN_UNDER_TEST
}
"
=
x
"no"
||
runtest
--tool
gfortran
${
1
+
"
$@
"
}
test
x
"
${
OBJC_UNDER_TEST
}
"
=
x
"no"
||
runtest
--tool
objc
${
1
+
"
$@
"
}
exit
0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment