Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
86cd690c
Commit
86cd690c
authored
18 years ago
by
Ger van Diepen
Browse files
Options
Downloads
Patches
Plain Diff
BugID: 841
Look in Makefile.am to test if a test program really has to be built
parent
23796dc3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
autoconf_share/Makefile.common
+9
-2
9 additions, 2 deletions
autoconf_share/Makefile.common
with
9 additions
and
2 deletions
autoconf_share/Makefile.common
+
9
−
2
View file @
86cd690c
...
...
@@ -32,6 +32,7 @@ DISTCLEANFILES=\
# Rule to delete all files generated by bootstrap.
# This is sometimes needed when switching to another version of autotools.
confclean
:
pkgclean
pkgclean
:
distclean
-
rm
-rf
$(
srcdir
)
/autom4te.cache
-
rm
-f
$(
srcdir
)
/config.
*
...
...
@@ -103,9 +104,14 @@ checkrun:
if
[
"
$$
bcurwd"
!=
test
]
;
then
\
echo
"Error: run (mem)checkrun in test directory"
;
\
else
\
PGMB
=
;
\
PGMT
=
;
\
for
PGMVAR
in
$(
PGM
)
;
\
do
\
grep
"^ *
$${
PGMVAR
}
_SOURCES"
$(
srcdir
)
/Makefile.am
>
& /dev/null
;
\
if
[
$$
?
=
0
]
;
then
\
PGMB
=
"
$$
PGMB
$$
PGMVAR"
;
\
fi
;
\
PGMTST
=
$$
PGMVAR
;
\
if
[
-f
$(
srcdir
)
/
$${
PGMVAR
}
.sh
]
;
then
\
PGMTST
=
$(
srcdir
)
/
$${
PGMVAR
}
.sh
;
\
...
...
@@ -114,8 +120,8 @@ checkrun:
fi
;
\
PGMT
=
"
$$
PGMT
$$
PGMTST"
;
\
done
;
\
echo
"make check CHECKTOOL='
$(
CHECKTOOL
)
' check_PROGRAMS='
$$
PGM' TESTS='
$$
PGMT'"
;
\
make check
CHECKTOOL
=
"
$(
CHECKTOOL
)
"
check_PROGRAMS
=
"
$$
PGM"
TESTS
=
"
$$
PGMT"
;
\
echo
"make check CHECKTOOL='
$(
CHECKTOOL
)
' check_PROGRAMS='
$$
PGM
B
' TESTS='
$$
PGMT'"
;
\
make check
CHECKTOOL
=
"
$(
CHECKTOOL
)
"
check_PROGRAMS
=
"
$$
PGM
B
"
TESTS
=
"
$$
PGMT"
;
\
fi
\
fi
...
...
@@ -264,6 +270,7 @@ help:
# Define the default variables to export to the test scripts.
#TESTS_ENVIRONMENT = LOFARROOT="$(LOFARROOT)" \
# lofar_sharedir="$(lofar_sharedir)" \
# prefix="$(prefix)" \
# top_srcdir="$(top_srcdir)" \
# srcdir="$(srcdir)" \
# CHECKTOOLPROGS="$(CHECKTOOLPROGS)" \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment