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
8046b665
Commit
8046b665
authored
Mar 21, 2011
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libgo: Add GOTESTFLAGS variable used when testing.
From Rainer Orth. From-SVN: r171272
parent
2ef6ce06
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
libgo/Makefile.am
+4
-2
libgo/Makefile.in
+3
-2
No files found.
libgo/Makefile.am
View file @
8046b665
...
@@ -1480,6 +1480,8 @@ else
...
@@ -1480,6 +1480,8 @@ else
use_dejagnu
=
no
use_dejagnu
=
no
endif
endif
GOTESTFLAGS
=
# Check a package.
# Check a package.
CHECK
=
\
CHECK
=
\
@GC
=
"
$(GOC)
-L
`
${
PWD_COMMAND
}
`
-L
`
${
PWD_COMMAND
}
`
/.libs -Wl,-R,
`
${
PWD_COMMAND
}
`
/.libs"
;
\
@GC
=
"
$(GOC)
-L
`
${
PWD_COMMAND
}
`
-L
`
${
PWD_COMMAND
}
`
/.libs -Wl,-R,
`
${
PWD_COMMAND
}
`
/.libs"
;
\
...
@@ -1492,9 +1494,9 @@ CHECK = \
...
@@ -1492,9 +1494,9 @@ CHECK = \
prefix
=
`
if
test
"
$
(@D)"
=
"regexp"
;
then
echo
regexp-test
;
else
dirname
$
(
@D
)
;
fi
`
;
\
prefix
=
`
if
test
"
$
(@D)"
=
"regexp"
;
then
echo
regexp-test
;
else
dirname
$
(
@D
)
;
fi
`
;
\
test
"
$$
{prefix}"
!=
"."
||
prefix
=
"
$
(@D)"
;
\
test
"
$$
{prefix}"
!=
"."
||
prefix
=
"
$
(@D)"
;
\
if
test
"
$(use_dejagnu)
"
=
"yes"
;
then
\
if
test
"
$(use_dejagnu)
"
=
"yes"
;
then
\
$(SHELL)
$(srcdir)
/testsuite/gotest
--dejagnu
=
yes
--basedir
=
$(srcdir)
--srcdir
=
$(srcdir)
/go/
$
(
@D
)
--prefix
=
"libgo_
$$
{prefix}"
--pkgfiles
=
"
$
(go_
$
(subst /,_,
$
(@D))_files)"
;
\
$(SHELL)
$(srcdir)
/testsuite/gotest
--dejagnu
=
yes
--basedir
=
$(srcdir)
--srcdir
=
$(srcdir)
/go/
$
(
@D
)
--prefix
=
"libgo_
$$
{prefix}"
--pkgfiles
=
"
$
(go_
$
(subst /,_,
$
(@D))_files)"
$(GOTESTFLAGS)
;
\
else
\
else
\
if
$(SHELL)
$(srcdir)
/testsuite/gotest
--basedir
=
$(srcdir)
--srcdir
=
$(srcdir)
/go/
$
(
@D
)
--prefix
=
"libgo_
$$
{prefix}"
--pkgfiles
=
"
$
(go_
$
(subst /,_,
$
(@D))_files)"
>>
$@
-log
2>&1
;
then
\
if
$(SHELL)
$(srcdir)
/testsuite/gotest
--basedir
=
$(srcdir)
--srcdir
=
$(srcdir)
/go/
$
(
@D
)
--prefix
=
"libgo_
$$
{prefix}"
--pkgfiles
=
"
$
(go_
$
(subst /,_,
$
(@D))_files)"
$(GOTESTFLAGS)
>>
$@
-log
2>&1
;
then
\
echo
"PASS:
$
(@D)"
;
\
echo
"PASS:
$
(@D)"
;
\
else
\
else
\
echo
"FAIL:
$
(@D)"
;
\
echo
"FAIL:
$
(@D)"
;
\
...
...
libgo/Makefile.in
View file @
8046b665
...
@@ -1814,6 +1814,7 @@ BUILDPACKAGE = \
...
@@ -1814,6 +1814,7 @@ BUILDPACKAGE = \
@LIBGO_IS_RTEMS_FALSE@
use_dejagnu
=
no
@LIBGO_IS_RTEMS_FALSE@
use_dejagnu
=
no
@LIBGO_IS_RTEMS_TRUE@
use_dejagnu
=
yes
@LIBGO_IS_RTEMS_TRUE@
use_dejagnu
=
yes
GOTESTFLAGS
=
# Check a package.
# Check a package.
CHECK
=
\
CHECK
=
\
...
@@ -1827,9 +1828,9 @@ CHECK = \
...
@@ -1827,9 +1828,9 @@ CHECK = \
prefix
=
`
if
test
"
$
(@D)"
=
"regexp"
;
then
echo
regexp-test
;
else
dirname
$
(
@D
)
;
fi
`
;
\
prefix
=
`
if
test
"
$
(@D)"
=
"regexp"
;
then
echo
regexp-test
;
else
dirname
$
(
@D
)
;
fi
`
;
\
test
"
$$
{prefix}"
!=
"."
||
prefix
=
"
$
(@D)"
;
\
test
"
$$
{prefix}"
!=
"."
||
prefix
=
"
$
(@D)"
;
\
if
test
"
$(use_dejagnu)
"
=
"yes"
;
then
\
if
test
"
$(use_dejagnu)
"
=
"yes"
;
then
\
$(SHELL)
$(srcdir)
/testsuite/gotest
--dejagnu
=
yes
--basedir
=
$(srcdir)
--srcdir
=
$(srcdir)
/go/
$
(
@D
)
--prefix
=
"libgo_
$$
{prefix}"
--pkgfiles
=
"
$
(go_
$
(subst /,_,
$
(@D))_files)"
;
\
$(SHELL)
$(srcdir)
/testsuite/gotest
--dejagnu
=
yes
--basedir
=
$(srcdir)
--srcdir
=
$(srcdir)
/go/
$
(
@D
)
--prefix
=
"libgo_
$$
{prefix}"
--pkgfiles
=
"
$
(go_
$
(subst /,_,
$
(@D))_files)"
$(GOTESTFLAGS)
;
\
else
\
else
\
if
$(SHELL)
$(srcdir)
/testsuite/gotest
--basedir
=
$(srcdir)
--srcdir
=
$(srcdir)
/go/
$
(
@D
)
--prefix
=
"libgo_
$$
{prefix}"
--pkgfiles
=
"
$
(go_
$
(subst /,_,
$
(@D))_files)"
>>
$@
-log
2>&1
;
then
\
if
$(SHELL)
$(srcdir)
/testsuite/gotest
--basedir
=
$(srcdir)
--srcdir
=
$(srcdir)
/go/
$
(
@D
)
--prefix
=
"libgo_
$$
{prefix}"
--pkgfiles
=
"
$
(go_
$
(subst /,_,
$
(@D))_files)"
$(GOTESTFLAGS)
>>
$@
-log
2>&1
;
then
\
echo
"PASS:
$
(@D)"
;
\
echo
"PASS:
$
(@D)"
;
\
else
\
else
\
echo
"FAIL:
$
(@D)"
;
\
echo
"FAIL:
$
(@D)"
;
\
...
...
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