Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
olena
Commits
ebad60a1
Commit
ebad60a1
authored
Aug 12, 2010
by
Guillaume Lazzara
Browse files
* build-aux/build_unit_test.sh: Handle composed dependency names in cond_tests_* files.
parent
5bd441f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
ebad60a1
2010-08-12 Guillaume Lazzara <z@lrde.epita.fr>
* build-aux/build_unit_test.sh: Handle composed dependency names
in cond_tests_* files.
2010-08-12 Guillaume Lazzara <z@lrde.epita.fr>
Improve configure output.
...
...
build-aux/build_unit_test.sh
View file @
ebad60a1
...
...
@@ -33,13 +33,16 @@
## "cond_tests_*" files must be created in the directory where
## unit-test.mk is generated (usually the unit-tests directory).
##
##
WARNINGS:
## -----
----
##
NOTES
## -----
## * Don't forget to add "cond_tests_*" files in the COND_TESTS
## variable in the right Makefile.am.
##
## * ALWAYS end "cond_tests_*" files with a new line!
##
## * If the dependency has a composed name use '-' to concatenate the words.
## (e.g., boost_tuple -> cond_tests_boost-tuple)
##
## FIXME: Don't use `echo -n', as echo's options are not portable.
##
...
...
@@ -183,7 +186,8 @@ for f in $COND_TESTS; do
COND_LIST
=
""
while
true
;
do
name
=
`
echo
$fpostfix
|
cut
-s
-d
'_'
-f
$i
\
|
tr
"[:lower:]"
"[:upper:]"
`
|
tr
"[:lower:]"
"[:upper:]"
\
|
sed
-e
's/-/_/g'
`
i
=
$((
$i
+
1
))
if
(
test
-z
"
$name
"
)
;
then
break
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment