tchange folders according to path changes - Granular.jl - Julia package for gra… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 8eb3cbb2e140c7c62fb29702d308d077dc01bc8b | |
parent 4414c74407f94e6487b083ac4a28405e7ddc6058 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 1 Nov 2017 10:40:12 -0400 | |
change folders according to path changes | |
Diffstat: | |
M test/vtk.jl | 4 ++++ | |
1 file changed, 4 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/test/vtk.jl b/test/vtk.jl | |
t@@ -68,7 +68,9 @@ SeaIce.writeParaviewPythonScript(sim, | |
info("Testing Paraview rendering if `pvpython` is present") | |
try | |
+ cd(sim.id) | |
run(`pvpython $(sim.id)/$(sim.id).py`) | |
+ cd("..") | |
catch return_signal | |
if !isa(return_signal, Base.UVError) | |
@test isfile("$(sim.id)/$(sim.id).avi") | |
t@@ -79,7 +81,9 @@ SeaIce.writeParaviewPythonScript(sim, | |
save_animation=false, | |
save_images=true) | |
try | |
+ cd(sim.id) | |
run(`pvpython $(sim.id)/$(sim.id).py`) | |
+ cd("..") | |
catch return_signal | |
if !isa(return_signal, Base.UVError) | |
@test isfile("$(sim.id)/$(sim.id).0000.png") |