1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- scripts = [
- 'jose-alg',
- 'jose-fmt',
- 'jose-b64-enc',
- 'jose-b64-dec',
- 'jose-jwk-eql',
- 'jose-jwk-exc',
- 'jose-jwk-gen',
- 'jose-jwk-pub',
- 'jose-jwk-use',
- 'jose-jwk-thp',
- 'jose-jws-fmt',
- 'jose-jws-ver',
- 'jose-jws-sig',
- 'jose-jwe-fmt',
- 'jose-jwe-dec',
- 'jose-jwe-enc',
- ]
- progs = [
- 'alg_hash',
- 'alg_sign',
- 'alg_encr',
- 'alg_wrap',
- 'alg_comp',
- 'api_b64',
- 'api_jws',
- 'api_jwe',
- ]
- e = environment()
- e.prepend('PATH', meson.current_build_dir() + '/../cmd', separator: ':')
- e.set('VECTORS', meson.current_source_dir() + '/vectors')
- foreach p: progs
- exe = executable(p, p + '.c', dependencies: jansson, link_with: libjose)
- if p == 'api_b64'
- to = 1800
- else
- to = 30
- endif
- test(p, exe, timeout: to)
- endforeach
- foreach s: scripts
- exe = find_program('./' + s)
- test(s, exe, env: e, timeout: 60)
- endforeach
- subdir('issue-75')
|