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
3c9db527
Commit
3c9db527
authored
Nov 08, 2020
by
Matthieu Muffato
Committed by
ens-bwalts
Nov 12, 2020
Browse files
bugfix: keep the modified $PATH local to the test, otherwise it will bleed into the other tests
parent
f1c17c2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
t/04.meadow/lsf.t
t/04.meadow/lsf.t
+6
-1
No files found.
t/04.meadow/lsf.t
View file @
3c9db527
...
...
@@ -35,9 +35,12 @@ $ENV{'EHIVE_ROOT_DIR'} ||= File::Basename::dirname( File::Basename::dirname( Fil
my
@config_files
=
Bio::EnsEMBL::Hive::Utils::
Config
->
default_config_files
();
my
$config
=
Bio::EnsEMBL::Hive::Utils::
Config
->
new
(
@config_files
);
my
$ini_path
=
$ENV
{'
PATH
'};
# WARNING: the data in this script must be in sync with what the fake
# binaries output
$ENV
{'
PATH
'}
=
$ENV
{'
EHIVE_ROOT_DIR
'}
.
'
/t/04.meadow/fake_bin:
'
.
$ENV
{'
PATH
'};
{
# begin local $ENV{'PATH'}
$ENV
{'
PATH
'}
=
$ENV
{'
EHIVE_ROOT_DIR
'}
.
'
/t/04.meadow/fake_bin:
'
.
$ini_path
;
my
$test_pipeline_name
=
'
tracking_homo_sapiens_funcgen_81_38_hive
';
my
$test_meadow_name
=
'
test_clUster
';
...
...
@@ -218,5 +221,7 @@ lives_and( sub {
is_deeply
(
$h
,
{},
'
No bacct output when accounting disabled
');
},
'
Suppressed bacct when AccountingDisabled when checking a date range
');
}
# end local $ENV{'PATH'}
done_testing
();
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