update test checking tool
This commit is contained in:
@ -88,10 +88,9 @@ for header in headers:
|
|||||||
style = m[1]
|
style = m[1]
|
||||||
if upper.match(style):
|
if upper.match(style):
|
||||||
continue
|
continue
|
||||||
if style in ['reax/c', 'reax/c/omp', 'reax/c/kk',
|
if style in ['lj/sdk', 'lj/sdk/coul/long', 'lj/sdk/coul/msm', 'sdk', 'lj/sdk/gpu',
|
||||||
'reax/c/kk/device', 'reax/c/kk/host',
|
'lj/sdk/coul/long/gpu', 'lj/sdk/omp', 'lj/sdk/coul/long/omp', 'sdk/omp',
|
||||||
'reax/c/species', 'reax/c/bonds',
|
'lj/sdk/coul/msm/omp', 'lj/sdk/kk', 'lj/sdk/coul/long/kk', 'sdk/kk']:
|
||||||
'reax/c/species/kk', 'reax/c/bonds/kk', 'meam/c']:
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# detect, process, and flag suffix styles:
|
# detect, process, and flag suffix styles:
|
||||||
@ -176,11 +175,12 @@ def check_tests(name,styles,yaml,search,skip=()):
|
|||||||
|
|
||||||
counter = 0
|
counter = 0
|
||||||
counter += check_tests('pair',pair,'*-pair-*.yaml',
|
counter += check_tests('pair',pair,'*-pair-*.yaml',
|
||||||
'.*pair_style:\\s*((\\S+).*)?',skip=('meam','lj/sf'))
|
'.*pair_style:\\s*((\\S+).*)?',
|
||||||
|
skip=('lj/sf','lj/sdk', 'lj/sdk/coul/long', 'lj/sdk/coul/msm'))
|
||||||
counter += check_tests('bond',bond,'bond-*.yaml',
|
counter += check_tests('bond',bond,'bond-*.yaml',
|
||||||
'.*bond_style:\\s*((\\S+).*)?')
|
'.*bond_style:\\s*((\\S+).*)?')
|
||||||
counter += check_tests('angle',angle,'angle-*.yaml',
|
counter += check_tests('angle',angle,'angle-*.yaml',
|
||||||
'.*angle_style:\\s*((\\S+).*)?')
|
'.*angle_style:\\s*((\\S+).*)?', skip=('sdk'))
|
||||||
counter += check_tests('dihedral',dihedral,'dihedral-*.yaml',
|
counter += check_tests('dihedral',dihedral,'dihedral-*.yaml',
|
||||||
'.*dihedral_style:\\s*((\\S+).*)?')
|
'.*dihedral_style:\\s*((\\S+).*)?')
|
||||||
counter += check_tests('improper',improper,'improper-*.yaml',
|
counter += check_tests('improper',improper,'improper-*.yaml',
|
||||||
|
|||||||
Reference in New Issue
Block a user