aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorGravatar Gediminas Jakutis <gediminas@varciai.lt> 2017-11-08 14:46:54 +0200
committerGravatar Gediminas Jakutis <gediminas@varciai.lt> 2017-11-08 14:46:54 +0200
commitc7198103b9816ef761ddbdf5d23f94e52afdc730 (patch)
tree06e1cdd5355000e3b828babba43ea3be8d973262 /meson.build
parent02096520941201b3a90d3892eadf6846e8e1c5df (diff)
downloadlibrin-c7198103b9816ef761ddbdf5d23f94e52afdc730.tar.gz
librin-c7198103b9816ef761ddbdf5d23f94e52afdc730.tar.bz2
librin-c7198103b9816ef761ddbdf5d23f94e52afdc730.zip
tests: split test and let meson handle them.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build9
1 files changed, 8 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index fbb1906..af2e1b3 100644
--- a/meson.build
+++ b/meson.build
@@ -31,5 +31,12 @@ endif
if get_option('tests')
subdir('test')
test_e = executable('test executable', test_sources, include_directories : inc, link_with : librin)
- test('librin test', test_e)
+ 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('gpio', test_e, args : ['gpio', 'none'])
endif