Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 842ca51

Browse files
authored
Fixes neuron_direct test in the Jenkins CI (#487)
* Fixing neuron_direct.py * Added grep in bash script to make sure that the test passed
1 parent da98ae6 commit 842ca51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/jenkins/run_neuron_direct.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ build_dir=$(mktemp -d $(pwd)/build_XXXX)
1414
cd $build_dir
1515

1616
# build special and special-core
17-
nrnivmodl ../tests/jenkins/mod
1817
nrnivmodl-core ../tests/jenkins/mod
18+
nrnivmodl ../tests/jenkins/mod
1919
ls -la x86_64
2020

2121
# Unload intel module to avoid issue whith mpirun
2222
module unload intel
2323

2424
# run test sim with external mechanism
25-
mpirun -n 1 nrniv -python $WORKSPACE/tests/jenkins/neuron_direct.py -mpi
25+
mpirun -n 1 ./x86_64/special -python -mpi $WORKSPACE/tests/jenkins/neuron_direct.py | grep "Voltage times and i_membrane_ are same and difference is less than 1e-10"
2626

2727
# remove build directory
2828
cd -

0 commit comments

Comments
 (0)