Skip to content

Commit

Permalink
Revert unexpected changes to the PR
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Ribeiro-Dantas <[email protected]>
  • Loading branch information
mribeirodantas committed Feb 1, 2023
1 parent dc5142e commit d1f9921
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/container.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.)f _container-page:
.. _container-page:

**********
Containers
Expand Down
1 change: 1 addition & 0 deletions docs/tracing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ were used. These plots are very helpful to check that task resources are used ef

Learn more about how resource usage is computed in the :ref:`Metrics documentation <metrics-page>`.


Tasks
-----

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ class SpackCache {
}

@PackageScope
int runCommand( String cmd ) {
void runCommand( String cmd ) {
log.trace """spack env create
command: $cmd
timeout: $createTimeout""".stripIndent()
Expand All @@ -317,7 +317,6 @@ class SpackCache {
msg += err.toString().trim().indent(' ')
throw new IllegalStateException(msg)
}
return status
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class SpackCacheTest extends Specification {
then:
1 * cache.spackPrefixPath(ENV) >> PREFIX
0 * cache.isYamlFilePath(ENV)
1 * cache.runCommand( "spack env activate $PREFIX ; spack install -y ; spack env deactivate" )
1 * cache.runCommand( "spack env activate $PREFIX ; spack install -y ; spack env deactivate" ) >> null
result == PREFIX

when:
Expand Down

0 comments on commit d1f9921

Please sign in to comment.