Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
f5148705
Commit
f5148705
authored
Mar 18, 2016
by
Matthieu Muffato
Browse files
[test-suite] Don't overwrite en existing $EHIVE_ROOT_DIR
parent
4b8d10a9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
t/02.api/fetch_and_count_by_multiple_columns.t
t/02.api/fetch_and_count_by_multiple_columns.t
+1
-1
t/02.api/naked_table_adaptor.t
t/02.api/naked_table_adaptor.t
+1
-1
t/10.pipeconfig/longmult.t
t/10.pipeconfig/longmult.t
+1
-1
No files found.
t/02.api/fetch_and_count_by_multiple_columns.t
View file @
f5148705
...
...
@@ -29,7 +29,7 @@ use Bio::EnsEMBL::Hive::Utils::Test qw(init_pipeline);
# eHive needs this to initialize the pipeline (and run db_cmd.pl)
use
Cwd
();
use
File::
Basename
();
$ENV
{'
EHIVE_ROOT_DIR
'}
=
File::Basename::
dirname
(
File::Basename::
dirname
(
File::Basename::
dirname
(
Cwd::
realpath
(
$
0
)
)
)
);
$ENV
{'
EHIVE_ROOT_DIR
'}
||
=
File::Basename::
dirname
(
File::Basename::
dirname
(
File::Basename::
dirname
(
Cwd::
realpath
(
$
0
)
)
)
);
my
$dir
=
tempdir
CLEANUP
=>
1
;
chdir
$dir
;
...
...
t/02.api/naked_table_adaptor.t
View file @
f5148705
...
...
@@ -25,7 +25,7 @@ use Data::Dumper;
# eHive needs this to initialize the pipeline (and run db_cmd.pl)
use
Cwd
();
use
File::
Basename
();
$ENV
{'
EHIVE_ROOT_DIR
'}
=
File::Basename::
dirname
(
File::Basename::
dirname
(
File::Basename::
dirname
(
Cwd::
realpath
(
$
0
)
)
)
);
$ENV
{'
EHIVE_ROOT_DIR
'}
||
=
File::Basename::
dirname
(
File::Basename::
dirname
(
File::Basename::
dirname
(
Cwd::
realpath
(
$
0
)
)
)
);
use
Bio::EnsEMBL::Hive::DBSQL::
DBAdaptor
;
...
...
t/10.pipeconfig/longmult.t
View file @
f5148705
...
...
@@ -28,7 +28,7 @@ use File::Temp qw{tempdir};
use
Bio::EnsEMBL::Hive::Utils::
Test
qw(init_pipeline runWorker)
;
# eHive needs this to initialize the pipeline (and run db_cmd.pl)
$ENV
{'
EHIVE_ROOT_DIR
'}
=
File::Basename::
dirname
(
File::Basename::
dirname
(
File::Basename::
dirname
(
Cwd::
realpath
(
$
0
)
)
)
);
$ENV
{'
EHIVE_ROOT_DIR
'}
||
=
File::Basename::
dirname
(
File::Basename::
dirname
(
File::Basename::
dirname
(
Cwd::
realpath
(
$
0
)
)
)
);
my
$dir
=
tempdir
CLEANUP
=>
1
;
my
$original
=
chdir
$dir
;
...
...
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