mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-29 06:35:39 -04:00
40 lines
1.2 KiB
Bash
Executable file
40 lines
1.2 KiB
Bash
Executable file
#!/bin/bash
|
|
source $TRAVIS_BUILD_DIR/travis/nwchem.bashrc
|
|
tail -20 $TRAVIS_BUILD_DIR/src/tools/build/config.log
|
|
tail -10 $TRAVIS_BUILD_DIR/src/tools/build/comex/config.log
|
|
grep -A 2 -B 2 -i error $TRAVIS_BUILD_DIR/src/make.log
|
|
head -200 $TRAVIS_BUILD_DIR/src/make.log
|
|
tail -200 $TRAVIS_BUILD_DIR/src/make.log
|
|
if [[ "$USE_64TO32" == "y" ]]; then
|
|
tail -200 $TRAVIS_BUILD_DIR/src/6log
|
|
grep -i tce_energy $TRAVIS_BUILD_DIR/src/6log
|
|
fi
|
|
# tail output files on failures
|
|
check_file () {
|
|
file=$TRAVIS_BUILD_DIR/QA/testoutputs/$1.out
|
|
if [ -f $file ] ; then
|
|
echo ============================================================
|
|
echo $file
|
|
head -2 $file
|
|
echo ============================================================
|
|
tail -260 $file
|
|
echo ============================================================
|
|
grep -s 'l DFT energy' $file |tail
|
|
echo ============================================================
|
|
grep -s 'Total PSPW energy' $file |tail
|
|
fi
|
|
}
|
|
|
|
check_file tce_n2
|
|
check_file tce_h2o_eomcc
|
|
check_file tce_ccsd_t_h2o
|
|
check_file dft_he2+
|
|
check_file prop_mem_gcube
|
|
check_file dft_siosi3
|
|
check_file h2o_opt
|
|
check_file tddft_h2o
|
|
check_file h2o2-response
|
|
check_file pspw
|
|
check_file pspw_md
|
|
check_file aump2
|
|
|