File: test_all.sh

package info (click to toggle)
ergo 3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 17,044 kB
  • ctags: 6,813
  • sloc: cpp: 91,488; ansic: 15,728; sh: 6,416; makefile: 1,287; yacc: 123; lex: 108
file content (29 lines) | stat: -rwxr-xr-x 416 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#! /bin/sh

test_list="
test_hf.sh
test_uhf.sh
test_hf_blsz1.sh 
test_dft_pure.sh 
test_dft_hybrid.sh
test_lr_exc.sh 
test_lr_exc_hf.sh 
test_fmm.sh 
test_fmm_b3lyp.sh
test_ext_elec_field.sh
test_mixedbasis.sh
test_ghost.sh
test_ci.sh 
"

s=0
for i in $test_list; do
    if ./$i; then 
        s=`echo $s + 1| bc -l`
    else
       echo "Test no $s -> $i failed."
       break
    fi
done

echo $s tests performed.