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
13 changes: 10 additions & 3 deletions build_spack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,14 @@ cat magix3d/spack-configure-args.txt

#==========================================
# testing the install
#export PYTHONPATH=spack/opt/spack/gmds/lib:$PYTHONPATH
#spack load py-pytest
#pytest gmds/pygmds/tst gmds/test_samples

# fetch the test data
git clone --recurse-submodules https://github.com/LIHPC-Computational-Geometry/magix3d_test_data_dir.git
export MAGIX3D_TEST_DATA_DIR=$PWD/magix3d_test_data_dir

spack load python
spack load py-pytest
# when developing be careful to take the correct pyMagix3d library
export PYTHONPATH=`spack find -p magix3d | awk 'NR==2 {print $2}'`/lib:$PYTHONPATH
pytest -v -s magix3d/test_link
#==========================================