Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ jupyter kernelspec list
echo ""

cd tutorial
$PYTHON --version
for tutorial_notebook in `ls tutorial*.ipynb`
do
tutorial_script="${tutorial_notebook%%.*}.py"
Expand All @@ -140,6 +141,7 @@ echo ""

echo "*** checking examples/ ..."
cd examples
$PYTHON --version
for test in `ls example*.py`
do
[ $test == "example_inv_murakami.py" ] && echo " *** skipping $test !" && continue
Expand All @@ -153,7 +155,7 @@ echo ""

echo "*** checking misc/ ..."
cd misc

$PYTHON --version
for test in `ls *.py`
do
[ $test == "burnman_path.py" ] && continue
Expand All @@ -167,6 +169,7 @@ echo ""

echo "*** checking misc/benchmarks/ ..."
cd benchmarks
$PYTHON --version
for test in `ls *.py`
do
[ $test == "burnman_path.py" ] && continue
Expand All @@ -178,6 +181,7 @@ echo ""

echo "*** checking contrib/cider_tutorial_2014/ ..."
cd contrib/cider_tutorial_2014/
$PYTHON --version
for test in `ls step*.py`
do
testit $test $fulldir || exit 1
Expand All @@ -187,6 +191,7 @@ echo ""

echo "*** checking contrib/CHRU2014/ ..."
cd contrib/CHRU2014
$PYTHON --version
for test in `ls *.py`
do
[ $test == "helper_solid_solution.py" ] && echo " *** skipping $test !" && continue
Expand All @@ -197,13 +202,15 @@ echo ""

echo "*** checking contrib/solution_polytope/ ..."
cd contrib/solution_polytope/
$PYTHON --version
testit create_polytope_paper_tables.py $fulldir || exit 1
testit example_solution_creation_and_manipulation.py $fulldir || exit 1
cd ../..
echo ""

echo "*** checking contrib/perplex/ ..."
cd contrib/perplex/
$PYTHON --version
./download_and_install_perplex.sh
rm -fr iron_olivine_lo_res
testit create_lo_res_table.py $fulldir || exit 1
Expand Down