Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
ensembl-hive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Jira
Jira
Merge Requests
7
Merge Requests
7
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix: keep the modified $PATH local to the test, otherwise it will bleed into the other tests
parent
f1c17c2d
Changes
1
Hide 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
...
@@ -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_files
=
Bio::EnsEMBL::Hive::Utils::
Config
->
default_config_files
();
my
$config
=
Bio::EnsEMBL::Hive::Utils::
Config
->
new
(
@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
# WARNING: the data in this script must be in sync with what the fake
# binaries output
# 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_pipeline_name
=
'
tracking_homo_sapiens_funcgen_81_38_hive
';
my
$test_meadow_name
=
'
test_clUster
';
my
$test_meadow_name
=
'
test_clUster
';
...
@@ -218,5 +221,7 @@ lives_and( sub {
...
@@ -218,5 +221,7 @@ lives_and( sub {
is_deeply
(
$h
,
{},
'
No bacct output when accounting disabled
');
is_deeply
(
$h
,
{},
'
No bacct output when accounting disabled
');
},
'
Suppressed bacct when AccountingDisabled when checking a date range
');
},
'
Suppressed bacct when AccountingDisabled when checking a date range
');
}
# end local $ENV{'PATH'}
done_testing
();
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