File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,14 @@ cat magix3d/spack-configure-args.txt
7878
7979# ==========================================
8080# testing the install
81- # export PYTHONPATH=spack/opt/spack/gmds/lib:$PYTHONPATH
82- # spack load py-pytest
83- # pytest gmds/pygmds/tst gmds/test_samples
81+
82+ # fetch the test data
83+ git clone --recurse-submodules https://github.com/LIHPC-Computational-Geometry/magix3d_test_data_dir.git
84+ export MAGIX3D_TEST_DATA_DIR=$PWD /magix3d_test_data_dir
85+
86+ spack load python
87+ spack load py-pytest
88+ # when developing be careful to take the correct pyMagix3d library
89+ export PYTHONPATH=` spack find -p magix3d | awk ' NR==2 {print $2}' ` /lib:$PYTHONPATH
90+ pytest -v -s magix3d/test_link
8491# ==========================================
You can’t perform that action at this time.
0 commit comments