From 5de5b83426d4ec62a72a7588394d1e8e9409b049 Mon Sep 17 00:00:00 2001 From: Florian Fischer <florian.fl.fischer@fau.de> Date: Wed, 14 Oct 2020 14:32:34 +0200 Subject: [PATCH] support generic test suites not just 'smoke' --- tests/meson.build | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/meson.build b/tests/meson.build index eca563f1..0e8d8a8a 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -7,7 +7,7 @@ tests = { 'SimplestFibTest.cpp': { 'description': 'Simplest fib test', - 'smoke_test': true, + 'test_suite': 'smoke', }, 'c_api_test.c': @@ -50,16 +50,10 @@ foreach source, test_dict : tests link_with: [emper, emper_c], ) - if test_dict.get('smoke_test', false) - test_suite = 'smoke' - else - test_suite = 'all' - endif - test(test_dict.get('description', ''), test_exe, is_parallel: test_dict.get('is_parallel', true), - suite: test_suite, + suite: test_dict.get('test_suite', 'all'), timeout: 60 ) endforeach -- GitLab