|
| 1 | +#!/usr/bin/env bash |
| 2 | +export OMP_NUM_THREADS=1 |
| 3 | +export PYTHONPATH=$(pwd):$PYTHONPATH |
| 4 | + |
| 5 | +echo 'pbc_tools_pbc_fft_engine = "NUMPY"' > .pyscf_conf.py |
| 6 | +echo "dftd3_DFTD3PATH = './pyscf/lib/deps/lib'" >> .pyscf_conf.py |
| 7 | + |
| 8 | +nosetests pyscf/ -v --with-timer --with-cov --cov-report xml --cov-report term --cov-config .coveragerc --cov pyscf \ |
| 9 | + --exclude-dir=examples --exclude-dir=pyscf/future --exclude-dir=pyscf/dmrgscf --exclude-dir=pyscf/fciqmcscf \ |
| 10 | + --exclude-dir=pyscf/icmpspt --exclude-dir=pyscf/shciscf --exclude-dir=pyscf/nao \ |
| 11 | + --exclude-dir=pyscf/cornell_shci --exclude-dir=pyscf/xianci --exclude-dir=pyscf/pbc/grad \ |
| 12 | + --exclude-dir=pyscf/extras --exclude-dir=pyscf/hci \ |
| 13 | + -e test_bz \ |
| 14 | + -e h2o_vdz \ |
| 15 | + -e test_mc2step_4o4e \ |
| 16 | + -e test_ks_noimport \ |
| 17 | + -e test_jk_single_kpt \ |
| 18 | + -e test_jk_hermi0 \ |
| 19 | + -e test_j_kpts \ |
| 20 | + -e test_k_kpts \ |
| 21 | + -e high_cost \ |
| 22 | + -e skip \ |
| 23 | + -e call_in_background \ |
| 24 | + -e libxc_cam_beta_bug \ |
| 25 | + -e test_finite_diff_rks_eph \ |
| 26 | + -e test_finite_diff_uks_eph \ |
| 27 | + -e test_pipek \ |
| 28 | + -I test_kuccsd_supercell_vs_kpts\.py \ |
| 29 | + -I test_kccsd_ghf\.py \ |
| 30 | + -I test_h_.*\.py \ |
| 31 | + -I test_P_uadc_ea.py \ |
| 32 | + -I test_P_uadc_ip.py \ |
| 33 | + --exclude-test=pyscf/pbc/gw/test/test_kgw_slow_supercell.DiamondTestSupercell3 \ |
| 34 | + --exclude-test=pyscf/pbc/gw/test/test_kgw_slow_supercell.DiamondKSTestSupercell3 \ |
| 35 | + --exclude-test=pyscf/pbc/gw/test/test_kgw_slow.DiamondTestSupercell3 \ |
| 36 | + --exclude-test=pyscf/pbc/gw/test/test_kgw_slow.DiamondKSTestSupercell3 \ |
| 37 | + --exclude-test=pyscf/pbc/tdscf/test/test_krhf_slow_supercell.DiamondTestSupercell3 \ |
| 38 | + --exclude-test=pyscf/pbc/tdscf/test/test_kproxy_hf.DiamondTestSupercell3 \ |
| 39 | + --exclude-test=pyscf/pbc/tdscf/test/test_kproxy_ks.DiamondTestSupercell3 \ |
| 40 | + --exclude-test=pyscf/pbc/tdscf/test/test_kproxy_supercell_hf.DiamondTestSupercell3 \ |
| 41 | + --exclude-test=pyscf/pbc/tdscf/test/test_kproxy_supercell_ks.DiamondTestSupercell3 \ |
| 42 | + -I .*_slow.*py -I .*_kproxy_.*py -I test_proxy.py # tdscf/*_slow.py gw/*_slow.py do not compatible with python3.[456] and old numpy |
0 commit comments