Skip to content
Snippets Groups Projects
Commit 01f620bd authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Added function plumed_custom_skip

Can be used to skip a regtest based on some complex test.
E.g., to skip a test on mac add this to the config file:

function plumed_custom_skip(){
  if [ "$(uname)" == "Darwin" ] ; then
    return 0
  fi
}
parent 5a410950
No related branches found
No related tags found
No related merge requests found
...@@ -103,6 +103,13 @@ do ...@@ -103,6 +103,13 @@ do
fi fi
done done
if type -t plumed_custom_skip 1>/dev/null ; then
if plumed_custom_skip ; then
echo "NOT_APPLIABLE (plumed_custom_skip)"
exit 0;
fi
fi
if type -t plumed_regtest_before 1>/dev/null ; then if type -t plumed_regtest_before 1>/dev/null ; then
plumed_regtest_before plumed_regtest_before
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment