Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
682735e3
Commit
682735e3
authored
Sep 29, 2016
by
Mikaël Salson
Browse files
algo/tests/Makefile: portable sed usage
-i option should be put before the filenames in FreeBSD sed.
parent
c5619435
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/tests/Makefile
View file @
682735e3
...
...
@@ -85,14 +85,14 @@ shouldvdj_with_rc_merged:
# When the global test suite is passing, individual failed tests (counted in SHOULD_*_EXPECTED_FAILS)
# can be marked as 'TODO' to make continuous integration happy
mark_failed_tests_as_todo
:
sed
-i
"s/^
\(
not ok [0-9]*
\)
/
\1
# TODO ##/"
*
/
*
.tap
sed
"s/^
\(
not ok [0-9]*
\)
/
\1
# TODO ##/"
-i
*
/
*
.tap
curatedvdj_archive
:
curated-vdj.zip
curated-vdj.zip
:
$(SHOULD_VDJ_ARCHIVE)
$(
eval
tmpdir :
=
$(
shell
mktemp
-d
))
mkdir
$(tmpdir)
/curated-vdj
cp
--preserve
$(SHOULD_VDJ_ARCHIVE)
$(tmpdir)
/curated-vdj
sed
-r
i
's/\s*BUG//'
$(tmpdir)
/curated-vdj/
*
sed
-r
's/\s*BUG//'
-i
$(tmpdir)
/curated-vdj/
*
for
file
in
$(tmpdir)
/curated-vdj/
*
;
do
mv
$$
file
`
echo
$$
file |
sed
's/should/curated/'
`
;
done
cwd
=
`
pwd
`
&&
cd
$(tmpdir)
&&
zip
$$
cwd/
$@
curated-vdj/
*
rm
-rf
$(tmpdir)
...
...
Write
Preview
Supports
Markdown
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