Skip to content

Commit

Permalink
Improve run_test.sh to check against NRN.
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Dec 20, 2023
1 parent 9af8a58 commit 517f2b2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/usecases/run_test.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
#! /usr/bin/env bash
set -e
set -eu

nmodl="$1"
output_dir="$(uname -m)"
usecase_dir="$2"

pushd "${usecase_dir}"

# Check NRN + nocmodl
# Note, this ensures the test is consistent with prior behaviour.
rm -r "${output_dir}" tmp || true
nrnivmodl
"$(uname -m)/special" simulate.py


# Check NRN + NMODL
rm -r "${output_dir}" tmp || true
nrnivmodl -nmodl "${nmodl}"
"$(uname -m)/special" simulate.py

Expand Down

0 comments on commit 517f2b2

Please sign in to comment.