diff options
author | 2019-10-10 15:51:02 +0300 | |
---|---|---|
committer | 2019-10-10 15:51:02 +0300 | |
commit | f3b53eb8636145c84502f0628309635fe17e2e54 (patch) | |
tree | 9f62d4100070fe0872050697547fadf114a3d59a /test | |
parent | 9cbcbe3b046b59eb8ce1bfd1fc5058c8d0adf65f (diff) | |
download | librin-f3b53eb8636145c84502f0628309635fe17e2e54.tar.gz librin-f3b53eb8636145c84502f0628309635fe17e2e54.tar.bz2 librin-f3b53eb8636145c84502f0628309635fe17e2e54.zip |
test: move meson test declarations to test dir.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'test')
-rw-r--r-- | test/meson.build | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build index 8070f27..5e0a100 100644 --- a/test/meson.build +++ b/test/meson.build @@ -8,3 +8,33 @@ test_filenames = [ ] test_sources = files(test_filenames) + +test_e = executable('test executable', test_sources, include_directories : inc, link_with : librin) +test('float sign', test_e, args : ['float', 'signbitf']) +test('double sign', test_e, args : ['float', 'signbitd']) +test('flaot to string', test_e, args : ['float', 'floattohexstring']) +test('double to string', test_e, args : ['float', 'doubletohexstring']) +test('compare floats', test_e, args : ['float', 'comparefloat']) +test('compare doubles', test_e, args : ['float', 'comparedouble']) +test('diagnostic', test_e, args : ['diagnostic', 'none']) +test('timespec add', test_e, args : ['time', 'timespec add']) +test('timespec subtract', test_e, args : ['time', 'timespec sub']) +test('timespec normalize', test_e, args : ['time', 'timespec normalize']) +test('timespec compare', test_e, args : ['time', 'timespec cmp']) +test('timespec compare less', test_e, args : ['time', 'timespec cmpless']) +test('timespec compare more', test_e, args : ['time', 'timespec cmpmore']) +test('timespec compare less or equal', test_e, args : ['time', 'timespec cmplessequal']) +test('timespec compare more or equal', test_e, args : ['time', 'timespec cmpmoreequal']) +test('timespec compare equal', test_e, args : ['time', 'timespec cmpequal']) +test('timespec compare nonequal', test_e, args : ['time', 'timespec cmpnonequal']) +test('timeval add', test_e, args : ['time', 'timeval add']) +test('timeval subtract', test_e, args : ['time', 'timeval sub']) +test('timeval normalize', test_e, args : ['time', 'timeval normalize']) +test('timeval compare', test_e, args : ['time', 'timeval cmp']) +test('timeval compare less', test_e, args : ['time', 'timeval cmpless']) +test('timeval compare more', test_e, args : ['time', 'timeval cmpmore']) +test('timeval compare less or equal', test_e, args : ['time', 'timeval cmplessequal']) +test('timeval compare more or equal', test_e, args : ['time', 'timeval cmpmoreequal']) +test('timeval compare equal', test_e, args : ['time', 'timeval cmpequal']) +test('timeval compare nonequal', test_e, args : ['time', 'timeval cmpnonequal']) +test('uuid print fromat macros', test_e, args : ['uuid', 'formatmacro']) |