Docker: Make test_ase.sh, test_i-pi.sh, and test_aiida.sh less noisy

This commit is contained in:
Ole Schütt 2019-08-16 23:03:18 +02:00 committed by Ole Schütt
parent c1518d5401
commit ac91bc3e39
3 changed files with 27 additions and 4 deletions

View file

@ -7,7 +7,15 @@ source /opt/cp2k-toolchain/install/setup
echo -e "\n========== Compiling CP2K =========="
cd /workspace/cp2k
make -j VERSION=pdbg cp2k
echo -n "Compiling cp2k... "
if make -j VERSION=pdbg &> /dev/null ; then
echo "done."
else
echo -e "failed.\n\n"
echo "Summary: Compilation failed."
echo "Status: FAILED"
exit
fi
echo -e "\n========== Installing CP2K =========="
cat > /usr/bin/cp2k << EndOfMessage

View file

@ -5,9 +5,16 @@
# shellcheck disable=SC1091
source /opt/cp2k-toolchain/install/setup
echo -e "\n========== Compiling CP2K =========="
cd /workspace/cp2k
make -j VERSION=pdbg
echo -n "Compiling cp2k... "
if make -j VERSION=pdbg &> /dev/null ; then
echo "done."
else
echo -e "failed.\n\n"
echo "Summary: Compilation failed."
echo "Status: FAILED"
exit
fi
echo -e "\n========== Installing CP2K =========="
# The cp2k main binary is used by ase/test/cp2k/cp2k_dcd.py.

View file

@ -7,7 +7,15 @@ source /opt/cp2k-toolchain/install/setup
echo -e "\n========== Compiling CP2K =========="
cd /workspace/cp2k
make -j VERSION=pdbg cp2k
echo -n "Compiling cp2k... "
if make -j VERSION=pdbg &> /dev/null ; then
echo "done."
else
echo -e "failed.\n\n"
echo "Summary: Compilation failed."
echo "Status: FAILED"
exit
fi
echo -e "\n========== Installing i-Pi =========="
cd /opt/i-pi