Skip to content

Commit

Permalink
Check against all available reference files. (#33)
Browse files Browse the repository at this point in the history
Since the logic for `have_coreneuron` is a bit brittle it might be
better to not check the value; and just check against all available
reference files.
  • Loading branch information
1uc authored Jul 18, 2023
1 parent fe7029e commit a76e9c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testutil/cmpdatfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ s/\.cmp$//'`
echo "$f.hoc succeeded ($f.cmp)"
elif [[ -e $f.cmp.c3 ]] && cmp $f.cmp.c3 $f.temp ; then
echo "$f.hoc succeeded ($f.cmp.c3)"
elif [[ "$have_coreneuron" = "yes" ]] && [[ -e $f.cmp.ci ]] && cmp $f.cmp.ci $f.temp ; then
elif [[ -e $f.cmp.ci ]] && cmp $f.cmp.ci $f.temp ; then
echo "$f.hoc succeeded ($f.cmp.ci) "
else
echo "$f.hoc failed"
Expand Down

0 comments on commit a76e9c5

Please sign in to comment.