Commit 66581c19 authored by Valentin Reis's avatar Valentin Reis
Browse files

Adding dhrun golden tests

parent f84d215c
Pipeline #7697 passed with stages
in 14 minutes and 42 seconds
check_golden () {
echo "--- START checking golden test ${1}"
diff <(dhrun print <<< "let a = ./all-tests.dh \".\" \".\" True in a.${1}") <(cat golden/${1}.yaml)
echo "--- DONE checking golden test ${1}"
}
check_golden "run"
check_golden "pwd"
check_golden "exitcode"
check_golden "hello"
check_golden "listen"
check_golden "power"
check_golden "performance"
check_golden "qmcpack"
check_golden "openmc"
check_golden "lammps"
check_golden "amg"
check_golden "stream"
pre: "toto"
verbose: true
post: null
cmds:
- otherwd: null
args:
- --nrm_log
- ./nrm_log
- --verbose
postchecks: null
passvars:
- PATH
name: nrmd
err:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmd.err
exitcode: null
timeout: null
vars:
- value: /tmp/argo_nodeos_config
varname: ARGO_NODEOS_CONFIG
out:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmd.out
- otherwd: null
args:
- run
- -u
- testContainer
- .basic.yml
- mpiexec
- -n
- '2'
- amg
- -problem
- '2'
- -n
- '90'
- '90'
- '90'
- -P
- '2'
- '1'
- '1'
postchecks: null
passvars:
- PATH
name: nrm
err:
filecheck:
wants: null
avoids:
- Error
- error
- ERROR
- Traceback
- ValueError
filename: nrmrun.err
exitcode: null
timeout: 600
vars:
- value: '1'
varname: OMP_NUM_THREADS
out:
filecheck:
wants: null
avoids:
- Error
- error
- ERROR
- Traceback
- ValueError
filename: nrmrun.out
- otherwd: null
args:
- listen
- -u
- testContainer
- --filter
- progress
postchecks: null
passvars:
- PATH
name: nrm
err:
filecheck:
wants: null
avoids: null
filename: nrmlisten.err
exitcode: null
timeout: null
vars: null
out:
filecheck:
wants:
- progress
avoids: null
filename: nrmlisten.out
cleaning: true
workdir: ./_output
pre: null
verbose: true
post: null
cmds:
- otherwd: null
args:
- --nrm_log
- ./nrm_log
- --verbose
postchecks: null
passvars:
- PATH
name: nrmd
err:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmd.err
exitcode: null
timeout: null
vars:
- value: /tmp/argo_nodeos_config
varname: ARGO_NODEOS_CONFIG
out:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmd.out
- otherwd: null
args:
- run
- -u
- testContainer
- .basic.yml
- 'false'
postchecks: null
passvars:
- PATH
name: nrm
err:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmrun.err
exitcode: 1
timeout: 600
vars: null
out:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmrun.out
cleaning: true
workdir: ./_output
pre: null
verbose: true
post: null
cmds:
- otherwd: null
args:
- --nrm_log
- ./nrm_log
- --verbose
postchecks: null
passvars:
- PATH
name: nrmd
err:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmd.err
exitcode: null
timeout: null
vars:
- value: /tmp/argo_nodeos_config
varname: ARGO_NODEOS_CONFIG
out:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmd.out
- otherwd: null
args:
- run
- -u
- testContainer
- .basic.yml
- echo
- HelloWorld
postchecks: null
passvars:
- PATH
name: nrm
err:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmrun.err
exitcode: null
timeout: 600
vars: null
out:
filecheck:
wants:
- HelloWorld
avoids:
- Traceback
- ValueError
filename: nrmrun.out
cleaning: true
workdir: ./_output
pre: null
verbose: true
post: null
cmds:
- otherwd: null
args:
- --nrm_log
- ./nrm_log
- --verbose
postchecks: null
passvars:
- PATH
name: nrmd
err:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmd.err
exitcode: null
timeout: null
vars:
- value: /tmp/argo_nodeos_config
varname: ARGO_NODEOS_CONFIG
out:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmd.out
- otherwd: null
args:
- run
- -u
- testContainer
- .basic.yml
- mpiexec
- -n
- '2'
- -bind-to
- core
- lmp_mpi
- -i
- .test_assets//modified.lj
postchecks: null
passvars:
- PATH
name: nrm
err:
filecheck:
wants: null
avoids:
- Error
- error
- ERROR
- Traceback
- ValueError
filename: nrmrun.err
exitcode: null
timeout: 600
vars: null
out:
filecheck:
wants: null
avoids:
- Error
- error
- ERROR
- Traceback
- ValueError
filename: nrmrun.out
- otherwd: null
args:
- listen
- -u
- testContainer
- --filter
- progress
postchecks: null
passvars:
- PATH
name: nrm
err:
filecheck:
wants: null
avoids: null
filename: nrmlisten.err
exitcode: null
timeout: null
vars: null
out:
filecheck:
wants:
- progress
avoids: null
filename: nrmlisten.out
cleaning: true
workdir: ./_output
pre: null
verbose: true
post: null
cmds:
- otherwd: null
args:
- --nrm_log
- ./nrm_log
- --verbose
postchecks: null
passvars:
- PATH
name: nrmd
err:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmd.err
exitcode: null
timeout: null
vars:
- value: /tmp/argo_nodeos_config
varname: ARGO_NODEOS_CONFIG
out:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmd.out
- otherwd: null
args:
- run
- -u
- testContainer
- .basic.yml
- sleep
- '1'
postchecks: null
passvars:
- PATH
name: nrm
err:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmrun.err
exitcode: null
timeout: 600
vars: null
out:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmrun.out
- otherwd: null
args:
- listen
- -u
- testContainer
- --filter
- ','
postchecks: null
passvars:
- PATH
name: nrm
err:
filecheck:
wants: null
avoids: null
filename: nrmlisten.err
exitcode: null
timeout: null
vars: null
out:
filecheck:
wants: null
avoids: null
filename: nrmlisten.out
cleaning: true
workdir: ./_output
pre:
- cp --no-preserve=mode -r .test_assets/openmc/* .
verbose: true
post: null
cmds:
- otherwd: null
args:
- --nrm_log
- ./nrm_log
- --verbose
postchecks: null
passvars:
- PATH
name: nrmd
err:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmd.err
exitcode: null
timeout: null
vars:
- value: /tmp/argo_nodeos_config
varname: ARGO_NODEOS_CONFIG
out:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmd.out
- otherwd: null
args:
- run
- -u
- testContainer
- .basic.yml
- mpiexec
- -n
- '2'
- openmc
postchecks: null
passvars:
- PATH
- OPENMC_CROSS_SECTIONS
name: nrm
err:
filecheck:
wants: null
avoids:
- Error
- error
- ERROR
- Traceback
- ValueError
filename: nrmrun.err
exitcode: null
timeout: 600
vars: null
out:
filecheck:
wants: null
avoids:
- Error
- error
- ERROR
- Traceback
- ValueError
filename: nrmrun.out
- otherwd: null
args:
- listen
- -u
- testContainer
- --filter
- progress
postchecks: null
passvars:
- PATH
name: nrm
err:
filecheck:
wants: null
avoids: null
filename: nrmlisten.err
exitcode: null
timeout: null
vars: null
out:
filecheck:
wants:
- progress
avoids: null
filename: nrmlisten.out
cleaning: true
workdir: ./_output
pre: null
verbose: true
post: null
cmds:
- otherwd: null
args:
- --nrm_log
- ./nrm_log
- --verbose
postchecks: null
passvars:
- PATH
name: nrmd
err:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmd.err
exitcode: null
timeout: null
vars:
- value: /tmp/argo_nodeos_config
varname: ARGO_NODEOS_CONFIG
out:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmd.out
- otherwd: null
args:
- run
- -u
- testContainer
- .perfwrap.yml
- sleep
- '15'
postchecks: null
passvars:
- PATH
name: nrm
err:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmrun.err
exitcode: null
timeout: 600
vars: null
out:
filecheck:
wants: null
avoids:
- Traceback
- ValueError
filename: nrmrun.out
- otherwd: null
args:
- listen
- -u
- testContainer
- --filter
- performance
postchecks: null
passvars:
- PATH
name: nrm
err:
filecheck:
wants: null
avoids: null
filename: nrmlisten.err
exitcode: null
timeout: null